Skip to contentSkip to conversation

building xen for x86_64

DISCUSSION Pat Huntington 3 participants 3 messages Oct 17, 2005

lore
Share & tools
lore
#0 lore raw

Are there any special options I need to pass to make to get Xen to build correctly for x86_64 or will it automagically work? I ask because I'm getting 'DOM0 image is not a Xen-compatible Elf image' on bootup which I guess means I'm probably doing something wrong in the compile. I'm using a 64 bit toolchain, build enviroment is FC4 using GCC version 4.0.1, binutils version 2.1 so I'm guessing it's not my tools. Xen is compiling but I get that Elf message on reboot. I figure it's because I'm not compiling for 64 bit correctly.

Do I have to pass XEN_TARGET_ARCH=x86_64 or something like that?

Sorry if this is documented somewhere, I tried in vain to find it but to no avail.

Thanks!

__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

#1 lore raw
Quoted 12 lines · Pat Huntington

Are there any special options I need to pass to make to get Xen to build correctly for x86_64 or will it automagically work? I ask because I'm getting 'DOM0 image is not a Xen-compatible Elf image' on bootup which I guess means I'm probably doing something wrong in the compile. I'm using a 64 bit toolchain, build enviroment is FC4 using GCC version 4.0.1, binutils version 2.1 so I'm guessing it's not my tools. Xen is compiling but I get that Elf message on reboot. I figure it's because I'm not compiling for 64 bit correctly.

Quoted 2 lines

Do I have to pass XEN_TARGET_ARCH=x86_64 or something like that?

It is automatic. I build it everyday on x86_64 by using 'make world', as I do on x86.

Quoted 18 lines

Sorry if this is documented somewhere, I tried in vain to find it but to no avail.

Thanks!

__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 8 lines
Regards,

David F Barrera
Linux Technology Center
Systems and Technology Group, IBM

"The wisest men follow their own direction. "
                                                        Euripides
#2 lore raw

Just make sure that "Processor Type" is set to x86_64, not x86, in the Xen menu.

Quoted 35 lines · David F Barrera
Quoted 12 lines · Pat Huntington

Are there any special options I need to pass to make to get Xen to build correctly for x86_64 or will it automagically work? I ask because I'm getting 'DOM0 image is not a Xen-compatible Elf image' on bootup which I guess means I'm probably doing something wrong in the compile. I'm using a 64 bit toolchain, build enviroment is FC4 using GCC version 4.0.1, binutils version 2.1 so I'm guessing it's not my tools. Xen is compiling but I get that Elf message on reboot. I figure it's because I'm not compiling for 64 bit correctly.

Quoted 2 lines

Do I have to pass XEN_TARGET_ARCH=x86_64 or something like that?

It is automatic. I build it everyday on x86_64 by using 'make world', as I do on x86.

Quoted 16 lines

Sorry if this is documented somewhere, I tried in vain to find it but to no avail.

Thanks!

__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel