RE: RE: compiling KVM on IA64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: lars.b.holm@xxxxxxxxxxxx [mailto:lars.b.holm@xxxxxxxxxxxx] 
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" <xiantao.zhang@xxxxxxxxx>
	Til: lars.b.holm@xxxxxxxxxxxx <lars.b.holm@xxxxxxxxxxxx>, kvm-ia64@xxxxxxxxxxxxxxx <kvm-ia64@xxxxxxxxxxxxxxx>
	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: kvm-ia64-owner@xxxxxxxxxxxxxxx [mailto:kvm-ia64-owner@xxxxxxxxxxxxxxx] On Behalf Of lars.b.holm@xxxxxxxxxxxx
	Sent: Friday, March 13, 2009 6:45 AM
	To: kvm-ia64@xxxxxxxxxxxxxxx
	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 majordomo@xxxxxxxxxxxxxxx
	More majordomo info at http://vger.kernel.org/majordomo-info.html
	

--
To unsubscribe from this list: send the line "unsubscribe kvm-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux KVM Devel]     [Linux Virtualization]     [Big List of Linux Books]     [Linux SCSI]     [Yosemite Forum]

  Powered by Linux