[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140904142529.860f4dc4514def7fb7a9d365@linux-foundation.org>
Date: Thu, 4 Sep 2014 14:25:29 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Richard Weinberger <richard.weinberger@...il.com>
Cc: Sasha Levin <sasha.levin@...cle.com>,
Ingo Molnar <mingo@...nel.org>,
LKML <linux-kernel@...r.kernel.org>, stable@...r.kernel.org,
Greg KH <greg@...ah.com>,
Hannes Frederic Sowa <hannes@...essinduktion.org>
Subject: Re: [PATCH] kernel: add support for gcc 5
On Thu, 4 Sep 2014 23:19:34 +0200 Richard Weinberger <richard.weinberger@...il.com> wrote:
> On Thu, Sep 4, 2014 at 11:12 PM, Andrew Morton
> <akpm@...ux-foundation.org> wrote:
> > On Thu, 4 Sep 2014 11:37:19 -0400 Sasha Levin <sasha.levin@...cle.com> 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.
> >
> > I think I'll stick a cc:stable on this one, as people will presumably
> > wish to compile older kernels with newer gcc's at some time in the
> > future.
>
> 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:
diff -u include/linux/compiler-gcc3.h include/linux/compiler-gcc4.h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists