Hi All, It seems like trying to build the XCI tree, on a 64-bit Linux, fails. Shouldn''t it be possible to build the XCI tree on a 64-bit linux? Can anyone please help me with this? What i did: git clone http://xenbits.xensource.com/git-http/xenclient/build cd build cp configs/xenclient_config ./.config make I got the following errors: cc1: warnings being treated as errors block-qcow2.c: In function גbdrv_preadג: block-qcow2.c:237: warning: format ג%#llxג expects type גlong long unsigned intג, but argument 5 has type ג__off_tג /root/test/xci-stuff/build/build_i686/staging_dir/usr/bin/i686-linux-uclibc-gcc -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .tapaio.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -Werror -Wno-unused -I../lib -I../../../tools/libxc -I../../../tools/include -I../../../tools/xenstore -I../../../tools/include -I ../../libaio/src -D_GNU_SOURCE -c -o tapaio.o tapaio.c make[8]: *** [block-qcow2.o] Error 1 make[8]: *** Waiting for unfinished jobs.... make[8]: *** wait: No child processes. Stop. make[7]: *** [subdir-install-drivers] Error 2 make[7]: Leaving directory `/root/test/xci-stuff/build/repo/xenclient-xen/tools/blktap'' make[6]: *** [subdirs-install] Error 2 make[6]: Leaving directory `/root/test/xci-stuff/build/repo/xenclient-xen/tools/blktap'' make[5]: *** [subdir-install-blktap] Error 2 make[5]: Leaving directory `/root/test/xci-stuff/build/repo/xenclient-xen/tools'' make[4]: *** [subdirs-install] Error 2 make[4]: Leaving directory `/root/test/xci-stuff/build/repo/xenclient-xen/tools'' make[3]: *** [install-tools] Error 2 make[3]: Leaving directory `/root/test/xci-stuff/build/repo/xenclient-xen'' make[2]: *** [xenclient-xen-compile-tools] Error 2 make[2]: Leaving directory `/root/test/xci-stuff/build'' make[1]: *** [xenclient-xen-compile] Error 2 make[1]: Leaving directory `/root/test/xci-stuff/build'' make: *** [/root/test/xci-stuff/build/build_i686/xenclient-xen-tip/.installed] Error 2 Tom _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vincent Hanquez
2009-Aug-10 13:01 UTC
Re: [Xen-devel] Building XCI on a 64 bit Linux - Fails
Tom Rotenberg wrote:> Hi All, > > It seems like trying to build the XCI tree, on a 64-bit Linux, fails. > Shouldn''t it be possible to build the XCI tree on a 64-bit linux? > Can anyone please help me with this? >there''s no reason why building on 64 bits shouldn''t work, although the team usually build 32 bits. which might explain why we haven''t seen this issue.> What i did: > git clone http://xenbits.xensource.com/git-http/xenclient/build > cd build > cp configs/xenclient_config ./.config > make > > I got the following errors: > cc1: warnings being treated as errors > block-qcow2.c: In function גbdrv_preadג: > block-qcow2.c:237: warning: format ג%#llxג expects type גlong long > unsigned intג, but argument 5 has type ג__off_tג >it looks like you __off_t is 32 bits ... where it should have been 64 bits... did you use the config in configs/ ? can you send me your build .config and the uclibc config in toolchain_build_*/uClibc-0.9.30/.config ? thanks, -- Vincent _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vincent Hanquez
2009-Aug-14 11:07 UTC
Re: [Xen-devel] Building XCI on a 64 bit Linux - Fails
Vincent Hanquez wrote:>> What i did: >> git clone http://xenbits.xensource.com/git-http/xenclient/build >> cd build >> cp configs/xenclient_config ./.config >> make >> >> I got the following errors: >> cc1: warnings being treated as errors >> block-qcow2.c: In function גbdrv_preadג: >> block-qcow2.c:237: warning: format ג%#llxג expects type גlong long >> unsigned intג, but argument 5 has type ג__off_tג >> >> > it looks like you __off_t is 32 bits ... where it should have been 64 > bits... > > did you use the config in configs/ ? > can you send me your build .config and the uclibc config in > toolchain_build_*/uClibc-0.9.30/.config ? >ok, i did the same experiments and end up with the same error. we''re currently modifying our toolchain for better caching and better reliability, which hope may fix thoses kind of issue once and for all. -- Vincent _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tom Rotenberg
2009-Aug-14 13:44 UTC
Re: [Xen-devel] Building XCI on a 64 bit Linux - Fails
Thanks for the help! Do u have estimation, on when this fix will be available? On Fri, Aug 14, 2009 at 2:07 PM, Vincent Hanquez<vincent.hanquez@eu.citrix.com> wrote:> Vincent Hanquez wrote: >>> >>> What i did: >>> git clone http://xenbits.xensource.com/git-http/xenclient/build >>> cd build >>> cp configs/xenclient_config ./.config >>> make >>> >>> I got the following errors: >>> cc1: warnings being treated as errors >>> block-qcow2.c: In function גbdrv_preadג: >>> block-qcow2.c:237: warning: format ג%#llxג expects type גlong long >>> unsigned intג, but argument 5 has type ג__off_tג >>> >> >> it looks like you __off_t is 32 bits ... where it should have been 64 >> bits... >> >> did you use the config in configs/ ? >> can you send me your build .config and the uclibc config in >> toolchain_build_*/uClibc-0.9.30/.config ? >> > > ok, i did the same experiments and end up with the same error. > we''re currently modifying our toolchain for better caching and better > reliability, which hope may fix thoses kind of issue once and for all. > > -- > Vincent >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vincent Hanquez
2009-Aug-17 17:48 UTC
Re: [Xen-devel] Building XCI on a 64 bit Linux - Fails
Tom Rotenberg wrote:> Thanks for the help! > > Do u have estimation, on when this fix will be available?we''re still working on it, i expect by the end of this week it will be hammered out and working completely. Cheers, -- Vincent _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tom Rotenberg
2009-Aug-17 19:43 UTC
Re: [Xen-devel] Building XCI on a 64 bit Linux - Fails
Great. I will surely test it when it will be out... On Mon, Aug 17, 2009 at 8:48 PM, Vincent Hanquez<vincent.hanquez@eu.citrix.com> wrote:> Tom Rotenberg wrote: >> >> Thanks for the help! >> >> Do u have estimation, on when this fix will be available? > > we''re still working on it, i expect by the end of this week it will be > hammered out and working completely. > > Cheers, > -- > Vincent >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel