lkml.org 
[lkml]   [2015]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Support gcc 6 for building
On Wed, Apr 15, 2015 at 12:45:43PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
>
> gcc recently switched to a new version number scheme, where every version
> gets a new major version number. The current version is 5.x, the next 6.x, etc.
>
> The gcc git repository trunk branch just switched to report 6.x for the next
> major release.
>
> This breaks the way Linux selects compiler-gccX.h based on the major
> version. Every new version would require adding a new compiler-gccX.h file,
> which wouldn't really scale.
>
> Let's assume that future gccs are fairly compatible (they are unlikely
> to break anything Linux is relying on). So we can just keep using
> compiler-gcc5.h, and select any specific differences with #if.
>
> Cc: Segher Boessenkool <segher@kernel.crashing.org>
> Signed-off-by: Andi Kleen <ak@linux.intel.com>

Tested-by: Segher Boessenkool <segher@kernel.crashing.org>

This works fine, thanks,


Segher


\
 
 \ /
  Last update: 2015-04-16 05:41    [W:0.072 / U:8.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site