From: Ulf Samuelsson Date: Wed, 14 Mar 2007 07:39:47 +0100 Subject: [U-Boot-Users] atmel at91sam926Xek would not build References: <3B90178810A.00000836ejr@inbox.com> Message-ID: <005701c76603$9386d290$01c4af0a@Glamdring> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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