Open
Description
Trying to compile a sample app for a custom ARM target, I get the following linker error:
= note: arm-none-eabi-ld: /home/benschattinger/.src/Ndless/ndless-sdk/toolchain/install/lib/gcc/arm-none-eabi/9.2.0/libgcc.a(_arm_addsubdf3.o): in function `__floatundidf':
/home/benschattinger/.src/Ndless/ndless-sdk/toolchain/build/arm-none-eabi/libgcc/../../../gcc-9.2.0/libgcc/config/arm/ieee754-df.S:541: multiple definition of `__aeabi_ul2d'; /home/benschattinger/Documents/Projects/Calculator/example-nspire/target/sysroot/lib/rustlib/armv5te-nspire-eabi/lib/libcompiler_builtins-d5dfaf2d732197c9.rlib(compiler_builtins-d5dfaf2d732197c9.compiler_builtins.79ijdt9a-cgu.25.rcgu.o):compiler_builtins.79ijdt9a-cgu.25:(.text.__aeabi_ul2d+0x0): first defined here
collect2: error: ld returned 1 exit status
This issue was introduced with rustc 1.44.0-nightly (42abbd887 2020-04-07) (rustup toolchain install nightly-2020-04-08-x86_64-unknown-linux-gnu
). Builds on previous versions succeed. Here's the diff between the two builds.
# This compiler works
❱ rustc +nightly-2020-04-07-x86_64-unknown-linux-gnu --version --verbose
rustc 1.44.0-nightly (6dee5f112 2020-04-06)
binary: rustc
commit-hash: 6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257
commit-date: 2020-04-06
host: x86_64-unknown-linux-gnu
release: 1.44.0-nightly
LLVM version: 9.0
# This one doesn't
❱ rustc +nightly-2020-04-08-x86_64-unknown-linux-gnu --version --verbose
rustc 1.44.0-nightly (42abbd887 2020-04-07)
binary: rustc
commit-hash: 42abbd8878d3b67238f3611b0587c704ba94f39c
commit-date: 2020-04-07
host: x86_64-unknown-linux-gnu
release: 1.44.0-nightly
LLVM version: 9.0
Metadata
Metadata
Assignees
Labels
No labels