From: Keir Fraser Subject: Re: ocaml build error Date: Fri, 7 May 2010 19:10:15 +0100 Message-ID: References: <19428.18899.180915.606930@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <19428.18899.180915.606930@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson , Vincent Hanquez Cc: Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 07/05/2010 18:11, "Ian Jackson" 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