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] libxl build errors in xen-unstable

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] libxl build errors in xen-unstable
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Tue, 31 May 2011 12:36:33 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 31 May 2011 16:45:52 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1306885297; l=1420; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=YISNAiJBOR8XTstE2067VdU/ylU=; b=gxseSHaBiPT91gVuMlElYiDGH5HAWmf94Mohvu11UAeoka8rAheznZUPTO8MdPBcdfq uH2n/RBBCY5Wt2NvqGMlfNTOrvgb8onLBt1TycIhz8xxXwKp4yB4CuQl+W39sZnw0/St8 3z2DRNgl1XhHl+fwux97u7My2GcH2nAiJR8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1306831543.775.119.camel@xxxxxxxxxxxxxxxxxxxxxx>
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>
References: <20110530163326.GA24266@xxxxxxxxx> <1306831543.775.119.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-12-30)
On Tue, May 31, Ian Campbell wrote:

> On Mon, 2011-05-30 at 17:33 +0100, Olaf Hering wrote:
> > There are new build errors in xen-unstable since revision 23368.
> > Wether the _libxl_paths.h.tmp/_libxl_paths.h errros/warnings are new, no
> > idea.
> [...]
> > cmp: _libxl_paths.h.tmp: No such file or directory
> > sed -e "s/\([^=]*\)=\(.*\)/#define \1 \2/g" _libxl_paths.h.tmp 
> > >_libxl_paths.h.2.tmp
> > if ! cmp _libxl_paths.h.2.tmp _libxl_paths.h; then mv -f 
> > _libxl_paths.h.2.tmp _libxl_paths.h; fi
> > Parsing libxl.idl
> > cmp: _libxl_paths.h: No such file or directory
> 
> Presumably this also yields the correct return code to cause the mv to
> happen, so you do end up with a _libxl_paths.h with stuff in it?

Ian,

this is an automated build, I just have that log.


> [...]
> > libxl_exec.c:48: error: ignoring return value of 'atoi', declared with 
> > attribute warn_unused_result
> [...]
> > libxl_exec.c:224: error: ignoring return value of 'write', declared with 
> > attribute warn_unused_result
> [...]
> > libxl_device.c:488: error: ignoring return value of 'read', declared with 
> > attribute warn_unused_result
> 
> Has someone got a bit carried away with the warn_unused_result attribute
> in your distro/gcc/libc/etc? Applying that sort of attribute system wide
> to such widespread functions seems like... trouble...

This is SLES11SP1. The applied attribute is not new.

Olaf

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