kvm-ia64.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Zhang, Xiantao" <xiantao.zhang@intel.com>
To: kvm-ia64@vger.kernel.org
Subject: RE: RE: compiling KVM on IA64
Date: Mon, 16 Mar 2009 14:39:52 +0000	[thread overview]
Message-ID: <706158FABBBA044BAD4FE898A02E4BC2244A7B75@pdsmsx503.ccr.corp.intel.com> (raw)
In-Reply-To: <20090312224507.LIZJ2442.fep51.mail.dk@post.tele.dk>

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


      parent reply	other threads:[~2009-03-16 14:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12 22:45 compiling KVM on IA64 lars.b.holm
2009-03-13  1:22 ` Zhang, Xiantao
2009-03-16 14:39 ` Zhang, Xiantao [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=706158FABBBA044BAD4FE898A02E4BC2244A7B75@pdsmsx503.ccr.corp.intel.com \
    --to=xiantao.zhang@intel.com \
    --cc=kvm-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).