[PATCH 1/4] powerpc: Require gcc 4.0 on 64-bit

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Apr 19 08:17:57 EST 2012


On Wed, 2012-04-18 at 09:28 -0500, Kumar Gala wrote:
> On Apr 17, 2012, at 11:42 PM, Anton Blanchard wrote:
> 
> > 
> > Older versions of gcc had issues with using -maltivec together with
> > -mcpu of a non altivec capable CPU. We work around it by specifying
> > -mcpu=970, but the logic is complicated.
> > 
> > In preparation for adding more -mcpu targets, remove the workaround
> > and just require gcc 4.0 for 64-bit builds.
> > 
> > Signed-off-by: Anton Blanchard <anton at samba.org>
> > ---
> > 
> > 4.0 came out in 2005 and the gcc on RHEL5 and SLES10 looks to be 4.1.
> > I highly doubt a ppc64 kernel will build these days on either RHEL4 or
> > SLES9.
> > 
> > Anything else we have to worry about?
> 
> There are probably embedded customers that might utilize older compilers, so this concerns me a little.

For 64-bit ? I doubt it ...

Cheers,
Ben.




More information about the Linuxppc-dev mailing list