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

[Xen-devel] Stubdom build problem in 4.1.2 but not in xen-unstable



Hello,

I've found the following problem while building Xen 4.1.2 stubdoms:

gcc -DCONFIG_QEMU -mno-red-zone -O1 -fno-omit-frame-pointer
-fno-optimize-sibling-calls  -m64 -mno-red-zone -fno-reorder-blocks
-fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing
-std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value
-Wdeclaration-after-statement -Wno-unused-but-set-variable  -nopie
-fno-stack-protector -fno-exceptions -fno-builtin -Wall -Werror
-Wredundant-decls -Wno-format -Wno-redundant-decls
-fno-stack-protector -fgnu89-inline -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -Winline -g -DGNT_DEBUG
-DGNTMAP_DEBUG -D__INSIDE_MINIOS__ -m64 -mno-red-zone
-fno-reorder-blocks -fno-asynchronous-unwind-tables -Os
-fomit-frame-pointer -isystem
/home/royger/aports/testing/xen/src/xen-4.1.2/stubdom/../extras/mini-os/include
-D__MINIOS__ -DHAVE_LIBC -isystem
/home/royger/aports/testing/xen/src/xen-4.1.2/stubdom/../extras/mini-os/include/posix
-isystem /home/royger/aports/testing/xen/src/xen-4.1.2/stubdom/../tools/xenstore
 -isystem 
/home/royger/aports/testing/xen/src/xen-4.1.2/stubdom/../extras/mini-os/include/x86
-isystem 
/home/royger/aports/testing/xen/src/xen-4.1.2/stubdom/../extras/mini-os/include/x86/x86_64
-U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem
/home/royger/aports/testing/xen/src/xen-4.1.2/stubdom/../extras/mini-os/include/posix
-isystem 
/home/royger/aports/testing/xen/src/xen-4.1.2/stubdom/cross-root-x86_64/x86_64-xen-elf/include
-isystem /usr/lib/gcc/x86_64-alpine-linux-uclibc/4.6.2/include
-isystem 
/home/royger/aports/testing/xen/src/xen-4.1.2/stubdom/lwip-x86_64/src/include
-isystem 
/home/royger/aports/testing/xen/src/xen-4.1.2/stubdom/lwip-x86_64/src/include/ipv4
-I/home/royger/aports/testing/xen/src/xen-4.1.2/stubdom/include
-I/home/royger/aports/testing/xen/src/xen-4.1.2/stubdom/../xen/include
-isystem 
/home/royger/aports/testing/xen/src/xen-4.1.2/extras/mini-os/../../extras/mini-os/include
-D__MINIOS__ -DHAVE_LIBC -isystem
/home/royger/aports/testing/xen/src/xen-4.1.2/extras/mini-os/../../extras/mini-os/include/posix
-isystem 
/home/royger/aports/testing/xen/src/xen-4.1.2/extras/mini-os/../../tools/xenstore
-DHAVE_LWIP -isystem
/home/royger/aports/testing/xen/src/xen-4.1.2/stubdom/lwip-x86_64/src/include
-isystem 
/home/royger/aports/testing/xen/src/xen-4.1.2/stubdom/lwip-x86_64/src/include/ipv4
-D__XEN_INTERFACE_VERSION__=0x00030205  -isystem
/home/royger/aports/testing/xen/src/xen-4.1.2/extras/mini-os/../../extras/mini-os/include/x86
-isystem 
/home/royger/aports/testing/xen/src/xen-4.1.2/extras/mini-os/../../extras/mini-os/include/x86/x86_64
-c console/xencons_ring.c -o
/home/royger/aports/testing/xen/src/xen-4.1.2/stubdom/mini-os-x86_64-ioemu/console/xencons_ring.o
console/xencons_ring.c: In function 'xencons_ring_send_no_notify':
console/xencons_ring.c:26:41: error: inlining failed in call to
'xencons_interface': call is unlikely and code size would grow
[-Werror=inline]
console/xencons_ring.c:38:18: error: called from here [-Werror=inline]
cc1: all warnings being treated as errors

Although I can build xen-unstable without any problems on the same
machine. I've been trying to find the patch that solved this on
unstable, but so far I haven't found it. Anyone know which patch fixed
it? I would like to have it backported to xen-4.1.

Info about the system:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-alpine-linux-uclibc/4.6.2/lto-wrapper
Target: x86_64-alpine-linux-uclibc
Configured with:
/home/buildozer/aports/main/gcc/src/gcc-4.6.2/configure --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--build=x86_64-alpine-linux-uclibc --host=x86_64-alpine-linux-uclibc
--target=x86_64-alpine-linux-uclibc --with-pkgversion='Alpine
4.6.2-r1' --disable-altivec --disable-checking --disable-fixed-point
--disable-libssp --disable-libstdcxx-pch --disable-multilib
--disable-nls --disable-werror --enable-__cxa_atexit --enable-cld
--enable-esp --enable-cloog-backend
--enable-languages=c,c++,objc,java,go --enable-shared
--enable-target-optspace --enable-tls --enable-threads
--with-dynamic-linker=ld64-uClibc.so.0.9.32
--with-dynamic-linker-prefix=/lib --with-system-zlib
--without-system-libunwind
Thread model: posix
gcc version 4.6.2 (Alpine 4.6.2-r1)

Thanks, Roger!

_______________________________________________
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®.