|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Xen build error based on gcc version
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
|
|
|
|
|