WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] ocaml build error

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Vincent Hanquez <Vincent.Hanquez@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] ocaml build error
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 7 May 2010 19:10:15 +0100
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 07 May 2010 11:11:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19428.18899.180915.606930@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcruCGCzki37JRE+THC3EEpyTwe2qgACCopI
Thread-topic: [Xen-devel] ocaml build error
User-agent: Microsoft-Entourage/12.24.0.100205
On 07/05/2010 18:11, "Ian Jackson" <Ian.Jackson@xxxxxxxxxxxxx> wrote:

> Vincent Hanquez writes ("Re: [Xen-devel] ocaml build error"):
>> adding another patch for Keir.
> 
> Even with that, I get this.
> 
> Ian.
> 
> cc1: warnings being treated as errors
> xc_lib.c: In function 'xc_domain_set_memmap_limit':
> xc_lib.c:659: error: dereferencing type-punned pointer will break
> strict-aliasing rules

No reason for tools/ocaml to override the provided base CFLAGS. This should
be fixed by xen-unstable:21329, which implicitly adds -fno-strict-aliasing
to CFLAGS.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel