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

Bill Cook cook at isgchips.com
Mon Apr 20 16:57:49 CEST 2009


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:
  make ARCH=arm CROSS_COMPILE=arm-eabi-
It works along fine until I get an error on each of these files:
  arch/arm/lib/_ashldi3.o
  arch/arm/lib/_ashrdi3.o
  arch/arm/lib/_divsi3.o
  arch/arm/lib/_modsi3.o
  arch/arm/lib/_udivsi3.o
  arch/arm/lib/_umodsi3.o
  arch/arm/lib/_lshrdi3.o
  arch/arm/lib/findbit.o
  arch/arm/lib/io-readsb.o
  arch/arm/lib/io-readsw-armv4.o
  arch/arm/lib/io-writesb.o
  arch/arm/lib/io-writesw-armv4.o

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?

Regards,
Bill Cook
cook at isgchips.com



More information about the U-Boot mailing list