From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755966AbaIDViy (ORCPT ); Thu, 4 Sep 2014 17:38:54 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:32762 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755856AbaIDVix (ORCPT ); Thu, 4 Sep 2014 17:38:53 -0400 Message-ID: <5408DBD9.9070605@oracle.com> Date: Thu, 04 Sep 2014 17:38:33 -0400 From: Sasha Levin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Andrew Morton , Richard Weinberger CC: Ingo Molnar , LKML , stable@vger.kernel.org, Greg KH , Hannes Frederic Sowa Subject: Re: [PATCH] kernel: add support for gcc 5 References: <1409845039-5751-1-git-send-email-sasha.levin@oracle.com> <20140904141215.9e6125150824d0768aedbfcb@linux-foundation.org> <20140904142529.860f4dc4514def7fb7a9d365@linux-foundation.org> In-Reply-To: <20140904142529.860f4dc4514def7fb7a9d365@linux-foundation.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Source-IP: acsinet22.oracle.com [141.146.126.238] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 I didn't see Hannes version before sending mine, apologies for that. Right now something in gcc5 seems to be broken since my test VMs refuse to even load up their *very* trivial userspace properly (/bin/bash just hangs) so I suspect we'll have changes to that file even before the first official version of gcc5 is out. Thanks, Sasha