[U-Boot-Users] atmel at91sam926Xek would not build

Ulf Samuelsson ulf at atmel.com
Wed Mar 14 07:39:47 CET 2007

> 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 
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

More information about the U-Boot mailing list