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

Kumar Gala galak at kernel.crashing.org
Thu Apr 19 00:28:42 EST 2012


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.

- k


More information about the Linuxppc-dev mailing list