[Pkg-xen-devel] Bug#793132: xen: FTBFS with glibc 2.21 and gcc-5

Daniel Schepler dschepler at gmail.com
Tue Jul 21 15:38:37 UTC 2015


Source: xen
Version: 4.4.1-9
Severity: normal

>From my pbuilder build log, using a setup preferring glibc and gcc-defaults
from experimental:

...
gcc -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -DNDEBUG -I/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/include  -I/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/include/asm-x86/mach-generic -I/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -include /tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/include/xen/config.h -nostdinc -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -MMD -MF .string.o.d -c string.c -o string.o
gcc -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -DNDEBUG -I/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/include  -I/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/include/asm-x86/mach-generic -I/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -include /tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/include/xen/config.h -nostdinc -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -MMD -MF .symbols.o.d -c symbols.c -o symbols.o
symbols.c: In function 'symbols_lookup':
symbols.c:23:61: error: array subscript is above array bounds [-Werror=array-bounds]
 #define symbols_address(n) (SYMBOLS_ORIGIN + symbols_offsets[n])
                                                             ^
symbols.c:128:47: note: in expansion of macro 'symbols_address'
     while (low && symbols_address(low - 1) == symbols_address(low))
                                               ^
symbols.c:23:61: error: array subscript is above array bounds [-Werror=array-bounds]
 #define symbols_address(n) (SYMBOLS_ORIGIN + symbols_offsets[n])
                                                             ^
symbols.c:136:13: note: in expansion of macro 'symbols_address'
         if (symbols_address(i) > symbols_address(low)) {
             ^
cc1: all warnings being treated as errors
/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/Rules.mk:165: recipe for target 'symbols.o' failed
make[6]: *** [symbols.o] Error 1
make[6]: Leaving directory '/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/common'
/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/Rules.mk:153: recipe for target '/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/common/built_in.o' failed
make[5]: *** [/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/common/built_in.o] Error 2
make[5]: Leaving directory '/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/arch/x86'
Makefile:100: recipe for target '/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/xen' failed
make[4]: *** [/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/xen] Error 2
make[4]: Leaving directory '/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen'
Makefile:26: recipe for target 'build' failed
make[3]: *** [build] Error 2
make[3]: Leaving directory '/tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen'
debian/rules.real:83: recipe for target 'debian/stamps/build-hypervisor_amd64_amd64' failed
make[2]: *** [debian/stamps/build-hypervisor_amd64_amd64] Error 2
make[2]: Leaving directory '/tmp/buildd/xen-4.4.1'
debian/rules.gen:50: recipe for target 'build-arch_amd64_none_amd64' failed
make[1]: *** [build-arch_amd64_none_amd64] Error 2
make[1]: Leaving directory '/tmp/buildd/xen-4.4.1'
debian/rules:20: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
Daniel Schepler



More information about the Pkg-xen-devel mailing list