From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 01/34] xen: clang: Disable initializer-overrides warning Date: Wed, 26 Mar 2014 15:11:28 +0000 Message-ID: <5332EE20.9050101@linaro.org> References: <1395766541-23979-1-git-send-email-julien.grall@linaro.org> <1395766541-23979-2-git-send-email-julien.grall@linaro.org> <5332CD4B020000780000247A@nat28.tlf.novell.com> <5332EB9E.6050409@linaro.org> <20140326150959.GA29150@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 1WSpUL-00073b-2O for xen-devel@lists.xenproject.org; Wed, 26 Mar 2014 15:11:33 +0000 Received: by mail-bk0-f53.google.com with SMTP id r7so584431bkg.40 for ; Wed, 26 Mar 2014 08:11:31 -0700 (PDT) In-Reply-To: <20140326150959.GA29150@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 Cc: xen-devel@lists.xenproject.org, stefano.stabellini@citrix.com, Keir Fraser , ian.campbell@citrix.com, Jan Beulich List-Id: xen-devel@lists.xenproject.org On 03/26/2014 03:09 PM, Tim Deegan wrote: > At 15:00 +0000 on 26 Mar (1395842446), Julien Grall wrote: >> Hi Jan, >> >> On 03/26/2014 11:51 AM, Jan Beulich wrote: >>>>>> On 25.03.14 at 17:55, wrote: >>>> --- a/xen/Rules.mk >>>> +++ b/xen/Rules.mk >>>> @@ -68,6 +68,8 @@ ifneq ($(max_phys_irqs),) >>>> CFLAGS-y += -DMAX_PHYS_IRQS=$(max_phys_irqs) >>>> endif >>>> >>>> +CFLAGS-$(clang) += -Wno-initializer-overrides >>> >>> And this is supported by all clang versions we permit to be used, i.e. >>> doesn't need to be done conditionally? >> >> I've tried to compile with clang 3.0-3.5 (used by Debian wheezy). >> >> In another dimension can we really say we are supporting clang when most >> of the time it's not possible to compile Xen with it? For instance, >> building Xen 4.4 with Clang doesn't work. >> I think we might need to have a build test for clang. > > Most of the breakage seems to come with newer versions of clang, > rather than newer versions of Xen. Still, a clang build test would be > a good idea. I was unable to build Xen 4.4 (and onwards) with clang 3.0 which is not new. -- Julien Grall