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] Xen build error based on gcc version

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Xen build error based on gcc version
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=k6LwXJmkoQQnLTDqT78irB/GiWQZTDXNVStQEMlLLLU=; b=UAsXtRTxTaLC9MQ+Me7T5QfaXW0WC6lGMVSHW2CIaGW1w/p/HpAbd3DHQ0OfyZroc5 /72ZxzV+scW7VY0dp6EVIDY0XJpfvJGakyM8gh2kax5s12Pdi3dfesLAzGzGU5xx76z9 poQVWPyCqVQKEnP6rC93HcBPMDTl1kR2Biw3c=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C56745A4.20224%keir.fraser@xxxxxxxxxxxxx>
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: <1e16a9ed0812111403q2124096fjae003defe3c85d33@xxxxxxxxxxxxxx> <C56745A4.20224%keir.fraser@xxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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