언어 설정

Menu
Sites
Language
unsupported argument build error.

I'm trying to build a tizen native application.

My environment is as follows.

- Ubuntu 18.04 (Oracle VM VirtualBox)

- Tizen studio 5.1

 

I created sample native application on tizen studio.

And I exported it to CLI project.

when I type build command[1], [2] error always shown, and no build proceed.

[1] tizen build-native -a arm -c llvm -C Debug -- ./

[2] clang: error: unsupported argument '-mimplicit-it=thumb' to option 'Wa,'
      clang: error: the clang compiler does not support '-march=armv8-a+crc+simd+crypto'

 

I did not add or remove any build options, so I don't know why this happens.

Responses

22 댓글
garfield rowland

I think you should review the compiler flags being passed during the build process. Specifically, look for the flags -mimplicit-it=thumb and -march=armv8-a+crc+simd+crypto. These flags enable specific ARM architecture features. It's possible that the version of clang you are using does not recognize these flags. You may need to remove or modify these flags in the project configuration or build scripts.

Tom Cruise

The errors you are seeing, such as "-mimplicit-it=thumb" and "-march=armv8-a+crc+simd+crypto," indicate that the build process is encountering issues related to ARM architecture and compiler options.

One possible solution could be to adjust the compiler flags or options in your project settings to match the requirements of the ARM architecture you are targeting. You may need to review the compiler settings and toolchain configurations in Tizen Studio to ensure they are compatible with your target architecture.

Henry Kang

Reviewing the compiler flags passed during the build process is something I believe you should do. In particular, you should look for the flags -mimplicit-it=thumb and -march=armv8-a+crc+simd+crypto, which enable certain features of the ARM architecture. It's possible that the version of clang you are using does not recognize these flags, in which case you might need to remove or modify them in the project configuration or build scripts.