All of lore.kernel.org
 help / color / mirror / Atom feed
* Building XCI on a 64 bit Linux - Fails
@ 2009-08-03 16:20 Tom Rotenberg
  2009-08-10 13:01 ` Vincent Hanquez
  0 siblings, 1 reply; 6+ messages in thread
From: Tom Rotenberg @ 2009-08-03 16:20 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building XCI on a 64 bit Linux - Fails
  2009-08-03 16:20 Building XCI on a 64 bit Linux - Fails Tom Rotenberg
@ 2009-08-10 13:01 ` Vincent Hanquez
  2009-08-14 11:07   ` Vincent Hanquez
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent Hanquez @ 2009-08-10 13:01 UTC (permalink / raw)
  To: Tom Rotenberg; +Cc: xen-devel@lists.xensource.com

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building XCI on a 64 bit Linux - Fails
  2009-08-10 13:01 ` Vincent Hanquez
@ 2009-08-14 11:07   ` Vincent Hanquez
  2009-08-14 13:44     ` Tom Rotenberg
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent Hanquez @ 2009-08-14 11:07 UTC (permalink / raw)
  To: Tom Rotenberg; +Cc: xen-devel@lists.xensource.com

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building XCI on a 64 bit Linux - Fails
  2009-08-14 11:07   ` Vincent Hanquez
@ 2009-08-14 13:44     ` Tom Rotenberg
  2009-08-17 17:48       ` Vincent Hanquez
  0 siblings, 1 reply; 6+ messages in thread
From: Tom Rotenberg @ 2009-08-14 13:44 UTC (permalink / raw)
  To: Vincent Hanquez; +Cc: xen-devel@lists.xensource.com

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
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building XCI on a 64 bit Linux - Fails
  2009-08-14 13:44     ` Tom Rotenberg
@ 2009-08-17 17:48       ` Vincent Hanquez
  2009-08-17 19:43         ` Tom Rotenberg
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent Hanquez @ 2009-08-17 17:48 UTC (permalink / raw)
  To: Tom Rotenberg; +Cc: xen-devel@lists.xensource.com

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building XCI on a 64 bit Linux - Fails
  2009-08-17 17:48       ` Vincent Hanquez
@ 2009-08-17 19:43         ` Tom Rotenberg
  0 siblings, 0 replies; 6+ messages in thread
From: Tom Rotenberg @ 2009-08-17 19:43 UTC (permalink / raw)
  To: Vincent Hanquez; +Cc: xen-devel@lists.xensource.com

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
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-08-17 19:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-03 16:20 Building XCI on a 64 bit Linux - Fails Tom Rotenberg
2009-08-10 13:01 ` Vincent Hanquez
2009-08-14 11:07   ` Vincent Hanquez
2009-08-14 13:44     ` Tom Rotenberg
2009-08-17 17:48       ` Vincent Hanquez
2009-08-17 19:43         ` Tom Rotenberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.