Circle linker failure with softfp
maulwurst opened this issue · comments
maulwurst commented
When trying to compile with softfp for Raspi 1, the following link failure happens:
--snip--
CPP wm8960soundcontroller.o
AR libsound.a
CPP main.o
CPP kernel.o
LD kernel.elf
arm-none-eabi-ld: error: /usr/share/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-linux-gnueabihf/bin/../lib/gcc/arm-none-linux-gnueabihf/13.2.1/libgcc.a(_paritysi2.o) uses VFP register arguments, kernel.elf does not
arm-none-eabi-ld: failed to merge target specific data of file /usr/share/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-linux-gnueabihf/bin/../lib/gcc/arm-none-linux-gnueabihf/13.2.1/libgcc.a(_paritysi2.o)
arm-none-eabi-ld: error: /usr/share/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-linux-gnueabihf/bin/../lib/gcc/arm-none-linux-gnueabihf/13.2.1/libgcc.a(_udivmoddi4.o) uses VFP register arguments, kernel.elf does not
arm-none-eabi-ld: failed to merge target specific data of file /usr/share/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-linux-gnueabihf/bin/../lib/gcc/arm-none-linux-gnueabihf/13.2.1/libgcc.a(_udivmoddi4.o)
arm-none-eabi-ld: warning: delayloop.o: missing .note.GNU-stack section implies executable stack
arm-none-eabi-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
make: *** [../../Rules.mk:209: kernel.img] Error 1
$ cat Config.mk
PREFIX = arm-none-eabi-
AARCH = 32
RASPPI = 1
STANDARD = -std=c++17
FLOAT_ABI = softfp
Rene Stange commented
This toolchain is not officially supported by Circle yet. Please use the
GCC-12.2.Rel1-based toolchain as noted in the main README.md file.
maulwurst commented
Alright, thanks. That's what we did :)