
By default the atmel patch cross compiler is specified as arm-softfloat-linux-gnu- instead of arm-linux-
I wouldn't have problem except that I get various compile errors when I use crosstools and uclibc toolchain. I've been using the latter for some time now and never had problems. However, with the atmel at91sam926x ports (and my first shot at atmel SoCs) I get the following error FP error:
/arm-gcc3.4-uclibc0.9.28/bin/sbox-arm-linux-uclibc-ld: ERROR: arm-gcc3.4-uclibc0.9.28/lib/gcc/arm-linux-uclibc/3.4.6/libgcc.a(_clz.oS) uses hardware FP, whereas u-boot uses software FP
...
Have anyone had this problem before? Does anyone have a fix for it?
Much thanks.
Remove the "-msoftfloat" from cpu/arm926ejs/config.mk and cpu/arm926ejs/at91sam9260/config.mk Then you can use the compiler. I use gcc-3.4.6 and binutils-2.16.1 built by buildroot (buildroot.uclibc.org) and it compiles after this fix.
Best Regards Ulf Samuelsson