From: Ian Campbell Subject: Re: libxl build errors in xen-unstable Date: Tue, 31 May 2011 11:44:21 +0100 Message-ID: <1306838661.775.167.camel@zakaz.uk.xensource.com> References: <20110530163326.GA24266@aepfle.de> <1306831543.775.119.camel@zakaz.uk.xensource.com> <20110531103632.GA30579@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110531103632.GA30579@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Olaf Hering Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Tue, 2011-05-31 at 11:36 +0100, Olaf Hering wrote: > 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. Thanks. Do the various patches I sent to the thread resolve the issue? Ian.