Michael Tokarev
2013-Jun-15 12:28 UTC
[Pkg-xen-devel] Bug#712376: xen FTBFS with current gcc-4.8
Source: xen Version: 4.2.1-2 Severity: serious When trying to build xen in current sid environment, which now uses gcc-4.8.1, it fails to build: gcc -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -DNDEBUG -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/tmp/xen-4.2.1/debian/build/build-hypervisor_amd64_amd64/xen/include -I/tmp/xen-4.2.1/debian/build/build-hypervisor_amd64_amd64/xen/include/asm-x86/mach-generic -I/tmp/xen-4.2.1/debian/build/build-hypervisor_amd64_amd64/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -nostdinc -g -D__XEN__ -include /tmp/xen-4.2.1/debian/build/build-hypervisor_amd64_amd64/xen/include/xen/config.h -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -MMD -MF .memory.o.d -c memory.c -o memory.o In file included from /tmp/xen-4.2.1/debian/build/build-hypervisor_amd64_amd64/xen/include/public/xen.h:33:0, from /tmp/xen-4.2.1/debian/build/build-hypervisor_amd64_amd64/xen/include/xen/time.h:12, from /tmp/xen-4.2.1/debian/build/build-hypervisor_amd64_amd64/xen/include/xen/hypercall.h:9, from memory.c:3: memory.c: In function 'compat_memory_op': /tmp/xen-4.2.1/debian/build/build-hypervisor_amd64_amd64/xen/include/public/arch-x86/xen.h:35:33: error: typedef '__guest_handle_const_compat_memory_exchange_t' locally defined but not used [-Werror=unused-local-typedefs] typedef struct { type *p; } __guest_handle_ ## name ^ /tmp/xen-4.2.1/debian/build/build-hypervisor_amd64_amd64/xen/include/public/arch-x86/xen.h:43:5: note: in expansion of macro '___DEFINE_XEN_GUEST_HANDLE' ___DEFINE_XEN_GUEST_HANDLE(const_##name, const type) ^ /tmp/xen-4.2.1/debian/build/build-hypervisor_amd64_amd64/xen/include/public/arch-x86/xen.h:44:41: note: in expansion of macro '__DEFINE_XEN_GUEST_HANDLE' #define DEFINE_XEN_GUEST_HANDLE(name) __DEFINE_XEN_GUEST_HANDLE(name, name) ^ memory.c:261:13: note: in expansion of macro 'DEFINE_XEN_GUEST_HANDLE' DEFINE_XEN_GUEST_HANDLE(compat_memory_exchange_t); ^ cc1: all warnings being treated as errors make[7]: *** [memory.o] Error 1 make[7]: Leaving directory `/tmp/xen-4.2.1/debian/build/build-hypervisor_amd64_amd64/xen/common/compat' This does not happen with gcc-4.7. (I tried to fix a few other xen-related bugs -- like producing wrong ocaml libs referring to builddir -- #710650, or missing libssl-dev delendency -- #712366, but now it also fails due to gcc-4.8. Oh well) Thanks, /mjt
Debian Bug Tracking System
2013-Jul-10 23:06 UTC
[Pkg-xen-devel] Bug#712376: marked as done (xen FTBFS with current gcc-4.8)
Your message dated Wed, 10 Jul 2013 23:04:45 +0000 with message-id <E1Ux3RF-0001Fo-Cc at franck.debian.org> and subject line Bug#712376: fixed in xen 4.2.2-1 has caused the Debian Bug report #712376, regarding xen FTBFS with current gcc-4.8 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 712376: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712376 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Michael Tokarev <mjt at tls.msk.ru> Subject: xen FTBFS with current gcc-4.8 Date: Sat, 15 Jun 2013 16:28:12 +0400 Size: 4323 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20130710/d83cd64b/attachment.mht> -------------- next part -------------- An embedded message was scrubbed... From: Bastian Blank <waldi at debian.org> Subject: Bug#712376: fixed in xen 4.2.2-1 Date: Wed, 10 Jul 2013 23:04:45 +0000 Size: 8257 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20130710/d83cd64b/attachment-0001.mht>
Seemingly Similar Threads
- Bug#818525: Bug#818525: xen: FTBFS: error: unterminated comment
- Bug#818525: xen: FTBFS: error: unterminated comment
- Bug#793132: xen: FTBFS with glibc 2.21 and gcc-5
- Bug#778181: xen: ftbfs with GCC-5
- Bug#802870: xen: FTBFS: error: array subscript is above array bounds