Teck Choon Giam
2010-Oct-18 09:48 UTC
[Xen-devel] compile xen-4.0-testing (changeset 21367) failed
Hi, Anyone successfully compile xen for xen-4.0-testing with changeset 21367? I have no problem to compile changeset 21350 but not 21367... ... error below: gcc -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -DNDEBUG -nostdinc -fno-builtin -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen/include -I/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen/include/asm-x86/mach-generic -I/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -g -D__XEN__ -MMD -MF .tmem_xen.o.d -c tmem_xen.c -o tmem_xen.o cc1: warnings being treated as errors tmem_xen.c: In function ‘tmh_copy_from_client’: tmem_xen.c:146: warning: ‘cli_pfp’ may be used uninitialized in this function make[4]: *** [tmem_xen.o] Error 1 make[4]: Leaving directory `/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen/common'' make[3]: *** [/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen/common/built_in.o] Error 2 make[3]: Leaving directory `/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen/arch/x86'' make[2]: *** [/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen/xen] Error 2 make[2]: Leaving directory `/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen'' make[1]: *** [install] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen'' make: *** [install-xen] Error 2 So I guess something change in the Makefile for xen with -Werror? Thanks. Kindest regards, Giam Teck Choon _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2010-Oct-18 10:27 UTC
Re: [Xen-devel] compile xen-4.0-testing (changeset 21367) failed
Should be fixed by 21368. Thanks, Keir On 18/10/2010 10:48, "Teck Choon Giam" <giamteckchoon@gmail.com> wrote:> Hi, > > Anyone successfully compile xen for xen-4.0-testing with changeset > 21367? I have no problem to compile changeset 21350 but not 21367... > ... error below: > > gcc -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing > -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value > -Wdeclaration-after-statement -DNDEBUG -nostdinc -fno-builtin > -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe > -I/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen/include > -I/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen/include/asm-x86/mach-generic > -I/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen/include/asm-x86/mach-default > -msoft-float -fno-stack-protector -fno-exceptions -g -D__XEN__ -MMD > -MF .tmem_xen.o.d -c tmem_xen.c -o tmem_xen.o > cc1: warnings being treated as errors > tmem_xen.c: In function tmh_copy_from_client¹: > tmem_xen.c:146: warning: cli_pfp¹ may be used uninitialized in this function > make[4]: *** [tmem_xen.o] Error 1 > make[4]: Leaving directory > `/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen/common'' > make[3]: *** > [/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen/common/built_in.o] > Error 2 > make[3]: Leaving directory > `/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen/arch/x86'' > make[2]: *** [/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen/xen] Error 2 > make[2]: Leaving directory `/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen'' > make[1]: *** [install] Error 2 > make[1]: Leaving directory `/builddir/build/BUILD/xen-4.0.2-rc1-pre-src/xen'' > make: *** [install-xen] Error 2 > > So I guess something change in the Makefile for xen with -Werror? > > Thanks. > > Kindest regards, > Giam Teck Choon > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Teck Choon Giam
2010-Oct-18 10:51 UTC
Re: [Xen-devel] compile xen-4.0-testing (changeset 21367) failed
On Mon, Oct 18, 2010 at 6:27 PM, Keir Fraser <keir@xen.org> wrote:> Should be fixed by 21368. > > Thanks, > KeirHi Keir, I will wait for the commit then. Will report back if something break (as usual) after that. Thanks in advance. Kindest regards, Giam Teck Choon _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2010-Oct-18 11:25 UTC
Re: [Xen-devel] compile xen-4.0-testing (changeset 21367) failed
It''s in the staging tree: http://xenbits.xensource.com/staging/xen-4.0-testing.hg On 18/10/2010 11:51, "Teck Choon Giam" <giamteckchoon@gmail.com> wrote:> On Mon, Oct 18, 2010 at 6:27 PM, Keir Fraser <keir@xen.org> wrote: >> Should be fixed by 21368. >> >> Thanks, >> Keir > > Hi Keir, > > I will wait for the commit then. Will report back if something break > (as usual) after that. > > Thanks in advance. > > Kindest regards, > Giam Teck Choon > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Teck Choon Giam
2010-Oct-18 14:10 UTC
Re: [Xen-devel] compile xen-4.0-testing (changeset 21367) failed
On Mon, Oct 18, 2010 at 7:25 PM, Keir Fraser <keir@xen.org> wrote:> It''s in the staging tree: > http://xenbits.xensource.com/staging/xen-4.0-testing.hg >Thanks Keir :) Compiled successfully! Kindest regards, Giam Teck Choon _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel