From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Omar Khan <okhan-e94Sedi4moU@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: kvm-18 compilation error
Date: Fri, 30 Mar 2007 09:51:28 +0300 [thread overview]
Message-ID: <460CB370.1060502@qumranet.com> (raw)
In-Reply-To: <loom.20070330T070046-783-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
Omar Khan wrote:
> hi,
> I am having trouble compiling kvm-18 on suse10.2. 'make' is giving the
> following error:
>
> /opt/gcc33/bin/gcc-3.3 -I /root/kvm-18/qemu/../user -Wall -O2 -g
> -fno-strict-aliasing -I /root/kvm-18/kernel/include -fomit-frame-pointer -I.
> -I.. -I/root/kvm-18/qemu/target-i386 -I/root/kvm-18/qemu -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__user= -I/root/kvm-18/qemu/fpu
> -DHAS_AUDIO -I/root/kvm-18/qemu/slirp -c -o qemu-kvm.o /root/kvm-18/qe
> mu/qemu-kvm.c
> /root/kvm-18/qemu/qemu-kvm.c: In function `kvm_cpu_exec':
> /root/kvm-18/qemu/qemu-kvm.c:447: warning: implicit declaration of
> function `exit'
> /root/kvm-18/qemu/qemu-kvm.c: In function `kvm_shutdown':
> /root/kvm-18/qemu/qemu-kvm.c:599: warning: implicit declaration of
> function `qemu_system_reset_request'
> /root/kvm-18/qemu/qemu-kvm.c: In function `kvm_qemu_init_env':
> /root/kvm-18/qemu/qemu-kvm.c:732: error: unable to find a register to
> spill in class `SIREG'
> /root/kvm-18/qemu/qemu-kvm.c:732: error: this is the insn:
> (insn:HI 37 35 38 0 0x4074ab00 (parallel [
> (set (reg:SI 1 edx [67])
> (const_int 0 [0x0]))
> (set (reg/f:SI 0 eax [64])
> (plus:SI (ashift:SI (reg:SI 2 ecx [66])
> (const_int 2 [0x2]))
> (reg/f:SI 0 eax [64])))
> (set (reg/f:SI 2 ecx [65])
> (plus:SI (ashift:SI (reg:SI 2 ecx [66])
> (const_int 2 [0x2]))
> (reg/v/f:SI 59)))
> (set (mem/s:BLK (reg/f:SI 0 eax [64]) [0 copy+0 S25712 A128])
> (mem/s:BLK (reg/v/f:SI 59) [0 S25712 A128]))
> (use (reg:SI 2 ecx [66]))
> (use (reg:SI 19 dirflag))
> ]) 454 {rep_movsi} (insn_list 3 (insn_list 32 (insn_list 34 (insn_list
> 35 (nil)))))
> (expr_list:REG_DEAD (reg:SI 19 dirflag)
> (expr_list:REG_DEAD (reg:SI 2 ecx [66])
> (expr_list:REG_UNUSED (reg:SI 1 edx [67])
> (expr_list:REG_UNUSED (reg/f:SI 0 eax [64])
> (expr_list:REG_UNUSED (reg/f:SI 2 ecx [65])
> (nil)))))))
> /root/kvm-18/qemu/qemu-kvm.c:732: confused by earlier errors, bailing out
> make[2]: *** [qemu-kvm.o] Error 1
> make[2]: Leaving directory `/root/kvm-18/qemu/i386-softmmu'
> make[1]: *** [subdir-i386-softmmu] Error 2
> make[1]: Leaving directory `/root/kvm-18/qemu'
> make: *** [qemu] Error 2
>
>
> any ideas what might be going wrong?
>
>
You might try with gcc 3.4.6, which most people are using for qemu.
Alternatively, ./configure --qemu-cc=gcc --disable-gcc-check, but then
you lose the ability to run with the -no-kvm switch.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
next prev parent reply other threads:[~2007-03-30 6:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-30 5:08 kvm-18 compilation error Omar Khan
[not found] ` <loom.20070330T070046-783-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2007-03-30 6:51 ` Avi Kivity [this message]
2007-03-31 10:35 ` Omar Khan
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=460CB370.1060502@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=okhan-e94Sedi4moU@public.gmane.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