From: "Todd Deshane" Subject: Re: Xen build error based on gcc version Date: Sat, 13 Dec 2008 12:36:39 -0500 Message-ID: <1e16a9ed0812130936l7c475d2bw1a7568f201dee08d@mail.gmail.com> References: <1e16a9ed0812111403q2124096fjae003defe3c85d33@mail.gmail.com> Reply-To: deshantm@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel mailing list List-Id: xen-devel@lists.xenproject.org On Thu, Dec 11, 2008 at 5:33 PM, Keir Fraser wrote: > On 11/12/2008 22:03, "Todd Deshane" wrote: > >> I just pulled the latest xen-unstable today. >> >> The 4.3 compiler still give errors during build. >> Falling back to 4.2 is fine. >> >> Here is the tail of the error log on the 4.3 compiler. >> [this is the default gcc compiler on Ubuntu 8.10] > > Fixed by changeset 18912. > I just pulled the latest staging tree, which seems to fix that compile error that I mentioned, but a new one is found. (make tools) The tail of the error log is here: *** PCI passthrough capability has been enabled *** *** PCI passthrough capability has been enabled *** make[4]: Entering directory `/home/deshantm/src/xen-src/staging/xen-unstable.hg/tools/ioemu-remote/i386-dm' /home/deshantm/src/xen-src/staging/xen-unstable.hg//tools/cross-install -d -m0755 -p "/home/deshantm/src/xen-src/staging/xen-unstable.hg/dist/install//usr/lib64/xen/bin" /home/deshantm/src/xen-src/staging/xen-unstable.hg//tools/cross-install -d -m0755 -p "/home/deshantm/src/xen-src/staging/xen-unstable.hg/dist/install//etc/xen" /home/deshantm/src/xen-src/staging/xen-unstable.hg//tools/cross-install -m0755 -p qemu-ifup "/home/deshantm/src/xen-src/staging/xen-unstable.hg/dist/install//etc/xen/" /home/deshantm/src/xen-src/staging/xen-unstable.hg//tools/cross-install -m 755 -s qemu-dm "/home/deshantm/src/xen-src/staging/xen-unstable.hg/dist/install/usr/lib64/xen/bin" make[4]: Leaving directory `/home/deshantm/src/xen-src/staging/xen-unstable.hg/tools/ioemu-remote/i386-dm' make[3]: Leaving directory `/home/deshantm/src/xen-src/staging/xen-unstable.hg/tools/ioemu-remote' make[2]: Leaving directory `/home/deshantm/src/xen-src/staging/xen-unstable.hg/tools' make[2]: Entering directory `/home/deshantm/src/xen-src/staging/xen-unstable.hg/tools' make -C xenpmd install make[3]: Entering directory `/home/deshantm/src/xen-src/staging/xen-unstable.hg/tools/xenpmd' gcc -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror -I../../tools/xenstore -I../../tools/include -L../../tools/xenstore -lxenstore xenpmd.c -o xenpmd cc1: warnings being treated as errors In function 'fgets', inlined from 'get_next_battery_info_or_status' at xenpmd.c:310: /usr/include/bits/stdio2.h:253: error: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer make[3]: *** [xenpmd] Error 1 make[3]: Leaving directory `/home/deshantm/src/xen-src/staging/xen-unstable.hg/tools/xenpmd' make[2]: *** [subdir-install-xenpmd] Error 2 make[2]: Leaving directory `/home/deshantm/src/xen-src/staging/xen-unstable.hg/tools' make[1]: *** [subdirs-install] Error 2 make[1]: Leaving directory `/home/deshantm/src/xen-src/staging/xen-unstable.hg/tools' make: *** [install-tools] Error 2 Cheers, Todd -- Todd Deshane http://todddeshane.net http://runningxen.com