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

2012-04-18 Thread Kumar Gala

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 an...@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
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-04-18 Thread Benjamin Herrenschmidt
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 an...@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.


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev