All of lore.kernel.org
 help / color / mirror / Atom feed
* Compiling xen-unstable in 32bit chroot on amd64
@ 2005-08-25 15:37 Robin van Leeuwen
  2005-08-25 15:51 ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: Robin van Leeuwen @ 2005-08-25 15:37 UTC (permalink / raw)
  To: xen-devel

I've got two computers here one amd64 3500/2GB/debian-amd64-testing
and a amd-duron-900/512mb/debian-testing.

I've setup a 32-bit chroot on my amd64 and want to
compile xen-unstable in the32 bit enviroment to
run xen on the duron. Because compiling after "make mproper"
on the Duron takes about 2 hours, and on the amd64 about 5
miniutes. I'm stuck on compiling in the 32 bit chroot:

---------------
make[2]: Entering directory `/usr/src/xen-unstable.hg/xen'
make[2]: `include/xen/acm_policy.h' is up to date.
make[2]: Leaving directory `/usr/src/xen-unstable.hg/xen'
[ -e include/asm ] || ln -sf asm-x86 include/asm
make -C arch/x86 asm-offsets.s
make[2]: Entering directory `/usr/src/xen-unstable.hg/xen/arch/x86'
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix 
include -Wall -Werror -Wno-pointer-arith -pipe 
-I/usr/src/xen-unstable.hg/xen/include 
-I/usr/src/xen-unstable.hg/xen/include/asm-x86/mach-generic 
-I/usr/src/xen-unstable.hg/xen/include/asm-x86/mach-default -O3 
-fomit-frame-pointer -msoft-float -m64 -mno-red-zone -fpic 
-fno-reorder-blocks -fno-asynchronous-unwind-tables -DNDEBUG -DVERBOSE 
-S -o asm-offsets.s x86_64/asm-offsets.c
cc1: sorry, unimplemented: 64-bit mode not compiled in
x86_64/asm-offsets.c: In function `__dummy__':
x86_64/asm-offsets.c:29: error: structure has no member named `r15'
x86_64/asm-offsets.c:30: error: structure has no member named `r14'
x86_64/asm-offsets.c:31: error: structure has no member named `r13'
x86_64/asm-offsets.c:32: error: structure has no member named `r12'
x86_64/asm-offsets.c:33: error: structure has no member named `rbp'
x86_64/asm-offsets.c:34: error: structure has no member named `rbx'
x86_64/asm-offsets.c:35: error: structure has no member named `r11'
x86_64/asm-offsets.c:36: error: structure has no member named `r10'
x86_64/asm-offsets.c:37: error: structure has no member named `r9'
x86_64/asm-offsets.c:38: error: structure has no member named `r8'
x86_64/asm-offsets.c:39: error: structure has no member named `rax'
x86_64/asm-offsets.c:40: error: structure has no member named `rcx'
x86_64/asm-offsets.c:41: error: structure has no member named `rdx'
x86_64/asm-offsets.c:42: error: structure has no member named `rsi'
x86_64/asm-offsets.c:43: error: structure has no member named `rdi'
x86_64/asm-offsets.c:46: error: structure has no member named `rip'
x86_64/asm-offsets.c:49: error: structure has no member named `rsp'
x86_64/asm-offsets.c:64: error: structure has no member named 
`syscall_callback_eip'
make[2]: *** [asm-offsets.s] Error 1
make[2]: Leaving directory `/usr/src/xen-unstable.hg/xen/arch/x86'
make[1]: *** [/usr/src/xen-unstable.hg/xen/xen] Error 2
make[1]: Leaving directory `/usr/src/xen-unstable.hg/xen'
make: *** [xen] Error 2
----------------------

Can sombody help me out?

kind regards,

Robin van Leeuwen

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

* Re: Compiling xen-unstable in 32bit chroot on amd64
  2005-08-25 15:37 Compiling xen-unstable in 32bit chroot on amd64 Robin van Leeuwen
@ 2005-08-25 15:51 ` Keir Fraser
  2005-08-25 16:05   ` Robin van Leeuwen
  0 siblings, 1 reply; 3+ messages in thread
From: Keir Fraser @ 2005-08-25 15:51 UTC (permalink / raw)
  To: Robin van Leeuwen; +Cc: xen-devel


On 25 Aug 2005, at 16:37, Robin van Leeuwen wrote:

> I've got two computers here one amd64 3500/2GB/debian-amd64-testing
> and a amd-duron-900/512mb/debian-testing.
>
> I've setup a 32-bit chroot on my amd64 and want to
> compile xen-unstable in the32 bit enviroment to
> run xen on the duron. Because compiling after "make mproper"
> on the Duron takes about 2 hours, and on the amd64 about 5
> miniutes. I'm stuck on compiling in the 32 bit chroot:

The build system thinks you are targetting x86_64. There are two fixes: 
either run 'setarch i686', which will change the output of the uname 
command, or build Xen with 'make XEN_COMPILE_ARCH=x86_32'.

  -- Keir

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

* Re: Compiling xen-unstable in 32bit chroot on amd64
  2005-08-25 15:51 ` Keir Fraser
@ 2005-08-25 16:05   ` Robin van Leeuwen
  0 siblings, 0 replies; 3+ messages in thread
From: Robin van Leeuwen @ 2005-08-25 16:05 UTC (permalink / raw)
  To: xen-devel

Keir Fraser wrote:On 25 Aug 2005, at 16:37,

    Robin van Leeuwen wrote:
    I've got two computers here one amd64 3500/2GB/debian
    -amd64-testing and a amd-duron-900/512mb/debian-testing.
    I've setup a 32-bit chroot on my amd64 and want to compile
    xen-unstable in the32 bit enviroment to run xen on the duron.
    Because compiling after "make mproper" on the Duron takes
    about 2 hours, and on the amd64 about 5 miniutes. I'm stuck
    on compiling in the 32 bit chroot: The build system thinks
    you are targetting x86_64.

There are two fixes: either run 'setarch i686', which will change
the output of the uname command, or build Xen with 'make 
XEN_COMPILE_ARCH=x86_32'.
-----------------

Thanks, the "make XEN_COMPILE_ARCH=x86_32" works, this saves me
about 5 hours of compiling time per day :-)

Kind regards,
Robin van Leeuwen

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

end of thread, other threads:[~2005-08-25 16:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-25 15:37 Compiling xen-unstable in 32bit chroot on amd64 Robin van Leeuwen
2005-08-25 15:51 ` Keir Fraser
2005-08-25 16:05   ` Robin van Leeuwen

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.