Matthias Klose
2011-May-03 10:34 UTC
[Pkg-xen-devel] Bug#625438: xen: ftbfs with gcc-4.6 -Werror
Package: xen Version: 4.1.0-3 Severity: important Tags: wheezy sid User: debian-gcc at lists.debian.org Usertags: ftbfs-gcc-4.6 ftbfs-werror This package builds with -Werror, and GCC 4.6 triggers new warnings which will make the package fail to build. Currently a Debian patch just passes -Wno-error=unused-but-set-variable and -Wno-error=unused-but-set-parameter to avoid build failures, but this patch will be reverted with the GCC 4.6.1 release, and the severity of the report will be raised. The full build log can be found at: http://people.debian.org/~doko/tmp/werror/xen_4.1.0-3_lsid64.buildlog The last lines of the build log are at the end of this report.
Ian Campbell
2011-May-03 13:31 UTC
[Pkg-xen-devel] Bug#625438: Bug#625438: xen: ftbfs with gcc-4.6 -Werror
On Tue, 2011-05-03 at 10:34 +0000, Matthias Klose wrote:> Package: xen > Version: 4.1.0-3 > Severity: important > Tags: wheezy sid > User: debian-gcc at lists.debian.org > Usertags: ftbfs-gcc-4.6 ftbfs-werror > > This package builds with -Werror, and GCC 4.6 triggers new warnings > which will make the package fail to build. Currently a Debian patch > just passes > -Wno-error=unused-but-set-variable and > -Wno-error=unused-but-set-parameter > to avoid build failures, but this patch will be reverted with the > GCC 4.6.1 release, and the severity of the report will be raised. > > The full build log can be found at: > http://people.debian.org/~doko/tmp/werror/xen_4.1.0-3_lsid64.buildlog > The last lines of the build log are at the end of this report.The build error in that log seems to be: gcc -g -O2 -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -DNDEBUG -nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/build/user-xen_4.1.0-3-amd64-zSon7K/xen-4.1.0/debian/build/build-hypervisor_amd64_amd64/xen/include -I/build/user-xen_4.1.0-3-amd64-zSon7K/xen-4.1.0/debian/build/build-hypervisor_amd64_amd64/xen/include/asm-x86/mach-generic -I/build/user-xen_4.1.0-3-amd64-zSon7K/xen-4.1.0/debian/build/build-hypervisor_amd64_amd64/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -mno-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -MMD -MF .xen.d -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -DNDEBUG -nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/build/user-xen_4.1.0-3-amd64-zSon7K/xen-4.1.0/debian/build/build-hypervisor_amd64_amd64/xen/include -I/build/user-xen_4.1.0-3-amd64-zSon7K/xen-4.1.0/debian/build/build-hypervisor_amd64_amd64/xen/include/asm-x86/mach-generic -I/build/user-xen_4.1.0-3-amd64-zSon7K/xen-4.1.0/debian/build/build-hypervisor_amd64_amd64/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -mno-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -MMD -MF .built_in.o.d -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -DNDEBUG -nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/build/user-xen_4.1.0-3-amd64-zSon7K/xen-4.1.0/debian/build/build-hypervisor_amd64_amd64/xen/include -I/build/user-xen_4.1.0-3-amd64-zSon7K/xen-4.1.0/debian/build/build-hypervisor_amd64_amd64/xen/include/asm-x86/mach-generic -I/build/user-xen_4.1.0-3-amd64-zSon7K/xen-4.1.0/debian/build/build-hypervisor_amd64_amd64/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -mno-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -MMD -MF .io_apic.o.d -c io_apic.c -o io_apic.o io_apic.c: In function 'restore_IO_APIC_setup': /build/user-xen_4.1.0-3-amd64-zSon7K/xen-4.1.0/debian/build/build-hypervisor_amd64_amd64/xen/include/asm/io_apic.h:150:26: error: '*((void *)&entry+4)' may be used uninitialized in this function [-Werror=uninitialized] io_apic.c:221:32: note: '*((void *)&entry+4)' was declared here /build/user-xen_4.1.0-3-amd64-zSon7K/xen-4.1.0/debian/build/build-hypervisor_amd64_amd64/xen/include/asm/io_apic.h:150:26: error: 'entry' may be used uninitialized in this function [-Werror=uninitialized] io_apic.c:221:32: note: 'entry' was declared here cc1: all warnings being treated as errors which unless I'm mistaken is unrelated to the unused-but-set-variable or unused-but-set-parameter warnings (although the warning does seem valid), is this the right log or am I missing something? Ian. -- Ian Campbell Current Noise: Enslaved - Havenless Inspiration without perspiration is usually sterile.
Debian Bug Tracking System
2012-Feb-17 10:33 UTC
[Pkg-xen-devel] Bug#625438: marked as done (xen: ftbfs with gcc-4.6 -Werror)
Your message dated Fri, 17 Feb 2012 10:29:17 +0000 with message-id <1329474557.3131.25.camel at zakaz.uk.xensource.com> and subject line Fixed in 4.1.1-1 has caused the Debian Bug report #625438, regarding xen: ftbfs with gcc-4.6 -Werror 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.) -- 625438: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625438 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Matthias Klose <doko at debian.org> Subject: xen: ftbfs with gcc-4.6 -Werror Date: Tue, 03 May 2011 10:34:38 +0000 Size: 2212 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120217/877931b7/attachment.mht> -------------- next part -------------- An embedded message was scrubbed... From: Ian Campbell <ijc at hellion.org.uk> Subject: Fixed in 4.1.1-1 Date: Fri, 17 Feb 2012 10:29:17 +0000 Size: 2514 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120217/877931b7/attachment-0001.mht>
Reasonably Related Threads
- Bug#853710: xen: ftbfs with GCC-7
- Bug#818525: xen: FTBFS: error: unterminated comment
- Bug#625438: [PATCH] xen: ioapic: avoid gcc 4.6 warnings about uninitialised variables
- Bug#625438: [PATCH] xen: ioapic: avoid gcc 4.6 warnings about uninitialised variables
- Bug#812166: xen: FTBFS with GCC 6: statement is indented as if...