You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the symbols present, this happened:
```
/usr/local/bin/arm-none-eabi-objcopy: not stripping symbol `memcpy' because it is named in a relocation
/usr/local/bin/arm-none-eabi-objcopy: not stripping symbol `memmove' because it is named in a relocation
/usr/local/bin/arm-none-eabi-objcopy: not stripping symbol `memset' because it is named in a relocation
```
Seems like in the updated Rust toolchain, the symbols are correctly
referenced and no workaround is needed.
In return, some other symbols now seem to clash, but only in
device-tests.
# Rust packages stdlib functions which we must remove/weaken on the arm target
453
+
# Currently the removed symbols only clash in device-tests for some reason. Without this command, compiling device tests would result in errors like:
454
+
# Linking C executable ../../bin/fw_test_usb_cmd_process.elf
455
+
# /usr/local/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld: /usr/local/bin/../lib/gcc/arm-none-eabi/8.2.1/thumb/v7e-m+fp/softfp/libgcc.a(_arm_addsubdf3.o): in function `__aeabi_dsub':
456
+
# (.text+0x8): multiple definition of `__aeabi_dsub'; ../../lib/libfirmware_rust_c.a(compiler_builtins-5829be534503bd8e.compiler_builtins.cthmhl66-cgu.175.rcgu.o):/cargo/registry/src/github.com-1ecc6299db9ec823/compiler_builtins-0.1.27/src/macros.rs:226: first defined here
0 commit comments