[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 01/34] xen: clang: Disable initializer-overrides warning



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, <julien.grall@xxxxxxxxxx> 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.