Re: [PATCH] kernel: add support for gcc 5

2014-09-05 Thread H. Peter Anvin
On 09/04/2014 02:25 PM, Andrew Morton wrote: >> >> CC'ing Hannes, he sent a much simpler gcc5 patch a few days ago. >> https://lkml.org/lkml/2014/8/26/710 > > That approach won't last for long - as soon as we add some > gcc5-specific thing, we'll need a new file. > > Let history be a guide: > >

Re: [PATCH] kernel: add support for gcc 5

2014-09-05 Thread Sasha Levin
On 09/05/2014 12:08 AM, Hannes Frederic Sowa wrote: > On Do, 2014-09-04 at 23:37 -0400, Sasha Levin wrote: >> > On 09/04/2014 07:47 PM, Joe Perches wrote: >>> > > On Fri, 2014-09-05 at 00:43 +0200, Hannes Frederic Sowa wrote: > > >> > Most statements are already depending on GCC_VERSION, maybe

Re: [PATCH] kernel: add support for gcc 5

2014-09-04 Thread Hannes Frederic Sowa
On Do, 2014-09-04 at 23:37 -0400, Sasha Levin wrote: > On 09/04/2014 07:47 PM, Joe Perches wrote: > > On Fri, 2014-09-05 at 00:43 +0200, Hannes Frederic Sowa wrote: > >> > Most statements are already depending on GCC_VERSION, maybe we can just > >> > unify all gcc specific headers to one, still try

Re: [PATCH] kernel: add support for gcc 5

2014-09-04 Thread Joe Perches
On Thu, 2014-09-04 at 23:37 -0400, Sasha Levin wrote: > On 09/04/2014 07:47 PM, Joe Perches wrote: > > On Fri, 2014-09-05 at 00:43 +0200, Hannes Frederic Sowa wrote: > >> > Most statements are already depending on GCC_VERSION, maybe we can just > >> > unify all gcc specific headers to one, still tr

Re: [PATCH] kernel: add support for gcc 5

2014-09-04 Thread Sasha Levin
On 09/04/2014 07:47 PM, Joe Perches wrote: > On Fri, 2014-09-05 at 00:43 +0200, Hannes Frederic Sowa wrote: >> > 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? ;) > Maybe something lik

Re: [PATCH] kernel: add support for gcc 5

2014-09-04 Thread Joe Perches
On Fri, 2014-09-05 at 00:43 +0200, Hannes Frederic Sowa wrote: > 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? ;) Maybe something like: gnu development of gcc will be more frequent and th

Re: [PATCH] kernel: add support for gcc 5

2014-09-04 Thread Hannes Frederic Sowa
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/com

Re: [PATCH] kernel: add support for gcc 5

2014-09-04 Thread Sasha Levin
On 09/04/2014 05:25 PM, Andrew Morton wrote: > On Thu, 4 Sep 2014 23:19:34 +0200 Richard Weinberger > wrote: > >> On Thu, Sep 4, 2014 at 11:12 PM, Andrew Morton >> wrote: >>> On Thu, 4 Sep 2014 11:37:19 -0400 Sasha Levin >>> wrote: >>> We're missing include/linux/compiler-gcc5.h which i

Re: [PATCH] kernel: add support for gcc 5

2014-09-04 Thread Sasha Levin
On 09/04/2014 05:25 PM, 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

Re: [PATCH] kernel: add support for gcc 5

2014-09-04 Thread Aaro Koskinen
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 buil

Re: [PATCH] kernel: add support for gcc 5

2014-09-04 Thread Andrew Morton
On Thu, 4 Sep 2014 23:19:34 +0200 Richard Weinberger wrote: > On Thu, Sep 4, 2014 at 11:12 PM, Andrew Morton > wrote: > > On Thu, 4 Sep 2014 11:37:19 -0400 Sasha Levin > > wrote: > > > >> We're missing include/linux/compiler-gcc5.h which is required now > >> because gcc branched off to v5 in

Re: [PATCH] kernel: add support for gcc 5

2014-09-04 Thread Richard Weinberger
On Thu, Sep 4, 2014 at 11:12 PM, Andrew Morton wrote: > On Thu, 4 Sep 2014 11:37:19 -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,

Re: [PATCH] kernel: add support for gcc 5

2014-09-04 Thread Andrew Morton
On Thu, 4 Sep 2014 11:37:19 -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 err

[PATCH] kernel: add support for gcc 5

2014-09-04 Thread Sasha Levin
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. Signed-off-by: Sasha Levin --- include/linux/c