[U-Boot] sbc8548 build broken?

Wolfgang Denk wd at denx.de
Fri Nov 18 07:19:52 CET 2011


Dear Marek Vasut,

In message <201111180601.20086.marek.vasut at gmail.com> you wrote:
>
> > > 	When I make using the following:
> > >     make CROSS_COMPILE=ppc_85xx- sbc8548_PCI_33_PCIE_config
> > >     make CROSS_COMPILE=ppc_85xx- OPTFLAGS=-O2 all
> > >     
> > >     I am still having the same undefined reference above.
> > >     
> > >     Should I be building with ppc_8xx instead?  If yes, why?
> > > 	
> > > 	Thanks,
> > 
> > This appears to be due to you trying to build with OPTFLAGS=-O2.  Remove
> > that and see what happens.
> > 
> 
> That seems to be a bug in the compiler, if you want -O2, try ELDK5.1 (which has 
> newer compiler).

No.  He is using CROSS_COMPILE=ppc_85xx- which means ELDK 4.2 or
similar.  And there is no such compiler problem with any of these.
The "-O2" is just inappropriate here.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
He who hesitates is not only lost, but miles from the next exit.


More information about the U-Boot mailing list