[PATCH] Set cpu explicitly in kernel compiles

Olaf Hering olh at suse.de
Wed Jul 6 06:17:00 EST 2005


 On Tue, Jul 05, Tom Rini wrote:

> On Tue, Jul 05, 2005 at 09:54:41PM +0200, Olaf Hering wrote:
> >  On Tue, Jul 05, Tom Rini wrote:
> > 
> > > gcc info page says that -mcpu=powerpc won't work for 601.
> > 
> > -mcpu=common may work for everyone, after a quick grep in
> > gcc/config/rs6000
> 
> It does, and that's the code bloat you're trying to get rid of :)

Yeah, leads to fun like that:

init/built-in.o: In function `calibrate_delay':
: undefined reference to `__quous'

need to grep harder.



More information about the Linuxppc-dev mailing list