zephyr-rtos

ld.lld command failed when build the hello_world sample in zephyr using clang6.0

╄→尐↘猪︶ㄣ 提交于 2021-02-11 14:11:42
问题 I want to build samples/subsys/power/device_pm using clang6.0 so I do as follows: export ZEPHYR_TOOLCHAIN_VARIANT=llvm mkdir build and cd build cmake -DBOARD=reel_board .. make Then, I got some errors: [ 95%] Linking C executable zephyr_prebuilt.elf clang-6.0: warning: argument unused during compilation: '--specs=nosys.specs' [-Wunused-command-line-argument] clang-6.0: warning: argument unused during compilation: '-u _OffsetAbsSyms' [-Wunused-command-line-argument] clang-6.0: warning:

ld.lld command failed when build the hello_world sample in zephyr using clang6.0

前提是你 提交于 2021-02-11 14:10:45
问题 I want to build samples/subsys/power/device_pm using clang6.0 so I do as follows: export ZEPHYR_TOOLCHAIN_VARIANT=llvm mkdir build and cd build cmake -DBOARD=reel_board .. make Then, I got some errors: [ 95%] Linking C executable zephyr_prebuilt.elf clang-6.0: warning: argument unused during compilation: '--specs=nosys.specs' [-Wunused-command-line-argument] clang-6.0: warning: argument unused during compilation: '-u _OffsetAbsSyms' [-Wunused-command-line-argument] clang-6.0: warning: