[U-Boot] Build errors u-boot-v2 iMX27

Bill Cook cook at isgchips.com
Mon Apr 20 20:18:21 CEST 2009


> -----Original Message-----
> From: saschahauer at web.de [mailto:saschahauer at web.de]On Behalf Of Sascha
> Hauer
> Sent: Monday, April 20, 2009 12:57 PM
> To: Bill Cook
> Cc: u-boot at lists.denx.de
> Subject: Re: [U-Boot] Build errors u-boot-v2 iMX27
> 
> 
> Hi Bill,
> 
> On Mon, Apr 20, 2009 at 10:57:49AM -0400, Bill Cook wrote:
> > Dear ML,
> > 
> > I'm trying to build u-boot-v2 for an iMX27 based board. I'm getting a
> > HW/SW floating point mismatch error and hope someone will point me
> > to a solution.  Building with:
<snip>
> > Error is:
> > 
> > arm-eabi-ld: ERROR: arch/arm/lib/_ashldi3.o uses hardware FP, whereas
> > arch/arm/lib/built-in.o uses software FP
> > arm-eabi-ld: failed to merge target specific data of file
> > arch/arm/lib/_ashldi3.o
> > 
> > 
> > The source files are assembly, any C files have the -msoft-float 
> compile option.
> > What gives?
> 
> All our toolchains produce soft float by default, so this does not show
> up here. U-Boot does not use floating point, so I think we do not have
> to care what the compiler produces. Does it help to remove the
> -msoft-float from arch/arm/Makefile?
> 

Yes, this did the trick, I knew it had to be something simple...
Thanks.

Bill


> Sascha
> 
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


More information about the U-Boot mailing list