From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] xen: Don't use -nostdinc flags with CLANG Date: Tue, 11 Feb 2014 15:01:53 +0000 Message-ID: References: <20140211143346.GE10482@deinos.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WDEqY-0006F8-Co for xen-devel@lists.xenproject.org; Tue, 11 Feb 2014 15:02:03 +0000 Received: by mail-ea0-f175.google.com with SMTP id n15so973866ead.6 for ; Tue, 11 Feb 2014 07:02:00 -0800 (PST) In-Reply-To: <20140211143346.GE10482@deinos.phlegethon.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tim Deegan , Julien Grall Cc: xen-devel@lists.xenproject.org, Ian.Jackson@eu.citrix.com, ian.campbell@citrix.com, george.dunlap@citrix.com List-Id: xen-devel@lists.xenproject.org On 11/02/2014 14:33, "Tim Deegan" wrote: > Fair enough. In that case it needs a release ack from George. It: > - fixes a compile issue on some version s of clang; > - might cause a regression with other compilers, but the regression > is likely to be obvious (i.e. a compile-time failure). > > And it needs an ack from Keir, for changing common code. > > v2 is below, removing "-iwithprefix". I've kept your tested-by; hope > that's OK. > > Cheers, > > Tim. > > commit 1d62fcb9ad8d2b409ac2cf0e8a3824e19ca3313f > Author: Tim Deegan > Date: Tue Feb 11 12:44:09 2014 +0000 > > xen: stop trying to use the system and > > We already have our own versions of the stdarg/stdbool definitions, for > systems where those headers are installed in /usr/include. > > On linux, they're typically installed in compiler-specific paths, but > finding them has proved unreliable. Drop that and use our own versions > everywhere. > > Signed-off-by: Tim Deegan > Tested-by: Julien Grall I'm fine with the principle of it. I don't know about how risky it is for 4.4. Acked-by: Keir Fraser