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

Masahiro Yamada yamada.m at jp.panasonic.com
Tue Jul 22 05:38:56 CEST 2014


Tom, Vasili


On Mon, 23 Jun 2014 09:10:01 -0400
Tom Rini <trini at ti.com> wrote:

> On Sun, Jun 22, 2014 at 12:19:21PM +0300, Vasili Galka wrote:
> > I'll really appreciate any help on this.
> > 
> > On Sun, Jun 15, 2014 at 3:57 PM, Vasili Galka <vvv444 at gmail.com> wrote:
> > > 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
> 
> Jason, is there a toolchain that can work for all m68k boards?  Should
> we start removing some boards perhaps?
> 


I think all m68k boards can build file with my series.
http://lists.denx.de/pipermail/u-boot/2014-July/184135.html
http://patchwork.ozlabs.org/patch/372320/
http://patchwork.ozlabs.org/patch/372321/



Best Regards
Masahiro Yamada



More information about the U-Boot mailing list