RE: RE: compiling KVM on IA64

"Zhang, Xiantao" <[email protected]>
Newsgroups org.kernel.vger.kvm-ia64
Message-ID <706158FABBBA044BAD4FE898A02E4BC2244A7B75@pdsmsx503.ccr.corp.intel.com>
We didn't try kvm-ia64 on debain before, and just run it on RHEL systems. From the error log, the error should be caused by link script, maybe the link scritpt should be upgraded for debian systems.

For buildup, you can reference the page http://www.linux-kvm.org/page/HOWTO1, although it is written for x86, but the steps are same with ia64 side.  
 
Xiantao

________________________________

From: [email protected] [mailto:[email protected]] 
Sent: Monday, March 16, 2009 10:08 PM
To: Zhang, Xiantao
Subject: Re: RE: compiling KVM on IA64


tried the kvm-82. but i get errors on make anyway. has some one done a build guide and a requirements list. as I am not sure all pre-reqs are meet. error message is:

make[2]: Entering directory `/root/sources/kvm-82/qemu/ia64-softmmu'
gcc -L /root/sources/kvm-82/qemu/../libkvm  -g -Wl,--warn-common   -Wl,-G0 -Wl,-T,/root/sources/kvm-82/qemu/ia64.ld -o qemu-system-ia64 vl.o /root/sources/kvm-82/qemu/osdep.o monitor.o pci.o loader.o isa_mmio.o machine.o virtio.o virtio-blk.o virtio-balloon.o virtio-net.o fw_cfg.o /root/sources/kvm-82/qemu/posix-aio-compat.o /root/sources/kvm-82/qemu/block-raw-posix.o /root/sources/kvm-82/qemu/compatfd.o lsi53c895a.o esp.o usb-ohci.o eeprom93xx.o eepro100.o ne2000.o pcnet.o rtl8139.o e1000.o device-hotplug.o device-assignment.o ide.o pckbd.o ps2.o vga.o sb16.o es1370.o dma.o fdc.o mc146818rtc.o serial.o i8259.o ipf.o cirrus_vga.o parallel.o acpi.o piix_pci.o usb-uhci.o /root/sources/kvm-82/qemu/smbus_eeprom.o ../libqemu_common.a libqemu.a /root/sources/kvm-82/qemu/../libkvm/libkvm.a  -lm -lz  -lkvm -lpthread -lrt -lutil -L/usr/lib -lSDL  -lcurses  
vl.o: In function `drive_get_index':
/root/sources/kvm-82/qemu/vl.c:2228: relocation truncated to fit: GPREL22 against `.data.rel.ro'
/root/sources/kvm-82/qemu/vl.c:2228: relocation truncated to fit: GPREL22 against `.data.rel.ro'
vl.o: In function `drive_get_max_bus':
/root/sources/kvm-82/qemu/vl.c:2249: relocation truncated to fit: GPREL22 against `.data.rel.ro'
vl.o: In function `show_available_alarms':
/root/sources/kvm-82/qemu/vl.c:1065: relocation truncated to fit: GPREL22 against `.rodata.cst8'
vl.o: In function `drive_init':
/root/sources/kvm-82/qemu/vl.c:2526: relocation truncated to fit: GPREL22 against `.data.rel.ro'
/root/sources/kvm-82/qemu/vl.c:2520: relocation truncated to fit: GPREL22 against `.data.rel.ro'
/root/sources/kvm-82/qemu/vl.c:2526: relocation truncated to fit: GPREL22 against `.data.rel.ro'
/root/sources/kvm-82/qemu/vl.c:2548: relocation truncated to fit: GPREL22 against `.data.rel.ro'
/root/sources/kvm-82/qemu/vl.c:2548: relocation truncated to fit: GPREL22 against `.data.rel.ro'
/root/sources/kvm-82/qemu/vl.c:2556: relocation truncated to fit: GPREL22 against `.data.rel.ro'
/root/sources/kvm-82/qemu/vl.c:2556: additional relocation overflows omitted from the output
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[2]: *** [qemu-system-ia64] Error 1
make[2]: Leaving directory `/root/sources/kvm-82/qemu/ia64-softmmu'
make[1]: *** [subdir-ia64-softmmu] Error 2
make[1]: Leaving directory `/root/sources/kvm-82/qemu'
make: *** [qemu] Error 2


----- Original meddelelse -----


	Fra: "Zhang, Xiantao" <[email protected]>
	Til: [email protected] <[email protected]>, [email protected] <[email protected]>
	Dato: Fre, 13. mar 2009 02:22
	Emne: RE: compiling KVM on IA64
	
	Since kvm-84 bits has some issues not fixed immediately, so it breaks to compile. If you want to try kvm/ia64, I suggest you use kvm-82, it should work well according to our testings. Before you compile it, ensure your host kernel version is higher that 2.6.26. Thanks! 
	If you have other questions related to kvm/ia64, feel free to ask in the mailling list. 
	Xiantao
	
	-----Original Message-----
	From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
	Sent: Friday, March 13, 2009 6:45 AM
	To: [email protected]
	Subject: compiling KVM on IA64
	
	Trying to complile KVM-84 for IA64 on a debian 5.0 system. but getting error on make. unable to find any documantation on dependencies or error messages. please advise on either docs or experiance on the IA64 platform.
	
	Regards
	
	Lars Holm 
	--
	To unsubscribe from this list: send the line "unsubscribe kvm-ia64" in
	the body of a message to [email protected]
	More majordomo info at http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.