Hans-Christian Armingeon
2006-Mar-21 08:47 UTC
[Xen-devel] build Problems on amd64 - es7000plat.c:192: Warning: »sdt.count« uninitialized - Werror
Hi, current hg tree does not build on amd64. x86 works fine. I know, this is caused by the -Werror flag. I could solve this by removing the Werror flag, but this would be a unclean solution. The error messages are in german, se subject for translation Johnny /usr/bin/make -C genapic/ make[5]: Gehe in Verzeichnis »/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/arch/x86/genapic« gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/include -I/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/include/asm-x86/mach-generic -I/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/include/asm-x86/mach-default -msoft-float -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -g -D__XEN__ -c bigsmp.c -o bigsmp.o gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/include -I/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/include/asm-x86/mach-generic -I/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/include/asm-x86/mach-default -msoft-float -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -g -D__XEN__ -c default.c -o default.o gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/include -I/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/include/asm-x86/mach-generic -I/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/include/asm-x86/mach-default -msoft-float -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -g -D__XEN__ -c es7000.c -o es7000.o gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/include -I/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/include/asm-x86/mach-generic -I/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/include/asm-x86/mach-default -msoft-float -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -g -D__XEN__ -c es7000plat.c -o es7000plat.o cc1: warnings being treated as errors es7000plat.c: In Funktion »find_unisys_acpi_oem_table«: es7000plat.c:192: Warnung: »sdt.count« wird in dieser Funktion uninitialisiert verwendet make[5]: *** [es7000plat.o] Fehler 1 make[5]: Verlasse Verzeichnis »/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/arch/x86/genapic« make[4]: *** [genapic//built_in.o] Fehler 2 make[4]: Verlasse Verzeichnis »/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/arch/x86« make[3]: *** [/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/arch/x86/built_in.o] Fehler 2 make[3]: Verlasse Verzeichnis »/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/arch/x86« make[2]: *** [/usr/src/xen/xen-unstable.hg-3.0-20060321/xen/xen] Fehler 2 make[2]: Verlasse Verzeichnis »/usr/src/xen/xen-unstable.hg-3.0-20060321/xen« make[1]: *** [install-xen] Fehler 2 make[1]: Verlasse Verzeichnis »/usr/src/xen/xen-unstable.hg-3.0-20060321« make: *** [build-stamp] Fehler 2 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com lists.xensource.com/xen-devel
Keir Fraser
2006-Mar-21 11:46 UTC
Re: [Xen-devel] build Problems on amd64 - es7000plat.c:192: Warning: »sdt.count« uninitialized - Werror
On 21 Mar 2006, at 08:47, Hans-Christian Armingeon wrote:> current hg tree does not build on amd64. x86 works fine. > > I know, this is caused by the -Werror flag. I could solve this by > removing the Werror flag, but this would be a unclean solution. > > The error messages are in german, se subject for translationIt''s now fixed (changeset 9345). -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com lists.xensource.com/xen-devel