[PATCH] Set cpu explicitly in kernel compiles

Tom Rini trini at kernel.crashing.org
Wed Jul 6 07:22:13 EST 2005


On Tue, Jul 05, 2005 at 10:27:17PM +0200, Olaf Hering wrote:
>  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 :)
> 
> 3397494  579544  519704 4496742  449d66 ../O-ppc-cpucommon/vmlinux
> 3469857  579544  519704 4569105  45b811 ../O-ppc-default/vmlinux

That's very wierd.  What is the default then?  Thinking back to May, I
thought it was 'common', and that was why Paul wanted to change things.

-- 
Tom Rini
http://gate.crashing.org/~trini/



More information about the Linuxppc-dev mailing list