[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen build error based on gcc version


  • To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
  • From: "Todd Deshane" <deshantm@xxxxxxxxx>
  • Date: Sat, 13 Dec 2008 12:36:39 -0500
  • Cc: xen-devel mailing list <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Sat, 13 Dec 2008 09:37:05 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=omgYoVH8cYWtygtGgA+fVmPqg8Snjf77dWVk8VRq3kHXXKvNfzs4iPc4uhgqQXYbEg awmPlUMiTQploUHV32R9T0kM3sUtOt91zErNu+45YtAuaShL+h15ALzLsEmL31JFW0B3 gJ76q/DNa5rl/b9rpxnIDzihQ/w/7u6sae95o=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On Thu, Dec 11, 2008 at 5:33 PM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:
> On 11/12/2008 22:03, "Todd Deshane" <deshantm@xxxxxxxxx> 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

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.