Re: [PATCH 1/4] powerpc: Require gcc 4.0 on 64-bit
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2012-04-18 22:18:03
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2012-04-18 22:18:03
On Wed, 2012-04-18 at 09:28 -0500, Kumar Gala wrote:
On Apr 17, 2012, at 11:42 PM, Anton Blanchard wrote:quoted
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 <redacted> --- 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.