针对你提出的“linking with rust-lld failed: exit status: 1”问题,我将按照提供的tips分点进行回答: 检查rust-lld是否正确安装并配置: 首先,确保你已经安装了rust-lld。你可以通过运行rustc --print target-features来检查是否包含+lld特性,这表示rust-lld已安装。 如果未安装,你
error: linking with `rust-lld` failed: exit status: 1 rust-lld: error: --shared-memory is disallowed by std-57093ec1f6212391.std.2002a83916d4b5df-cgu.0.rcgu.o because it was not compiled with 'atomics' or 'bulk-memory' features. which is related to the flags that I setup (I ...
When compiling to Apple's arm64e targets arm64e-apple-ios arm64e-apple-tvos arm64e-apple-darwin using -Zbuild-stdgot linking error: linking with `cc` failed: exit status: 1 rust-lld: error: INVALID relocation has width 8 bytes, but must ...
error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/home/runner/.rustup/toolchains/nightly-2024-07-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/runner/.rustup/toolchains/nightly-2024-07-01-x86_64-unknown-linux-gnu/lib/rustli...
To build Zephyr Hello world for an Arm target, such as nrf52840dk, using build-in picolibc support and lld with compiler rt, use: $ west build -p -b nrf52840dk/nrf52840 samples/hello_world -- -DCONFIG_BUILD_NO_GAP_FILL=y -DCONFIG_COMPILER_RT_RTLIB=y -DCONFIG_LLVM_USE_LLD=y ...