lkml.org 
[lkml]   [2014]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] kernel: add support for gcc 5
Date
Hello,

On Thu, Sep 4, 2014, at 23:25, Aaro Koskinen wrote:
> On Thu, Sep 04, 2014 at 11:37:19AM -0400, Sasha Levin wrote:
> > We're missing include/linux/compiler-gcc5.h which is required now
> > because gcc branched off to v5 in trunk.
> >
> > Just copy the relevant bits out of include/linux/compiler-gcc4.h,
> > no new code is added as of now.
> >
> > This fixes a build error when using gcc 5.
>
> With the new GCC version numbering scheme, does this mean there will
> be a new such file to be added every year? Maybe this could be handled
> some other way?

I agree, with the new gcc roadmap announced back in August [1] they tend
to increase the major number with each yearly release. I don't think it
is feasable to add a new header every year in a timely manner.

Most statements are already depending on GCC_VERSION, maybe we can just
unify all gcc specific headers to one, still trying to keep the file
organized? ;)

[1] https://gcc.gnu.org/develop.html (Section "Version Numbering Scheme
for GCC 5 and Up")

Bye,
Hannes


\
 
 \ /
  Last update: 2014-09-05 01:21    [W:0.104 / U:15.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site