[U-Boot] m68k: Build problems on some boards

Vasili Galka vvv444 at gmail.com
Sun Jun 15 14:57:08 CEST 2014


Hi,

I've installed a m68k-elf toolchain (based on gcc 4.8.1) and tried
building all m68k boards on latest u-boot/master (MAKEALL -a m68k).
While the build succeeds for most of the boards, the following four
fail with similar errors:
TASREG M5249EVB M5253DEMO M5253EVBE

m68k-elf-ld.bfd: m68k:isa-a:mac architecture of input file
`/usr/m68k-elf/lib/gcc/m68k-elf/4.8.1/m5206e/libgcc.a(_float.o)' is
incompatible with m68k:isa-a:emac output
m68k-elf-ld.bfd: m68k:isa-a:mac architecture of input file
`/usr/m68k-elf/lib/gcc/m68k-elf/4.8.1/m5206e/libgcc.a(_floatex.o)' is
incompatible with m68k:isa-a:emac output
m68k-elf-ld.bfd: m68k:isa-a:mac architecture of input file
`/usr/m68k-elf/lib/gcc/m68k-elf/4.8.1/m5206e/libgcc.a(_muldi3.o)' is
incompatible with m68k:isa-a:emac output
...

AFAIU, the architecture of chosen libgcc differs from the
architecture of generated object files (one has mac while the other
emac).

I'm not really familiar with m68k arch... What is wrong here and how
should be fixed?

Best regards,
Vasili


More information about the U-Boot mailing list