* kvm-18 compilation error
@ 2007-03-30 5:08 Omar Khan
[not found] ` <loom.20070330T070046-783-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Omar Khan @ 2007-03-30 5:08 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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 -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 exec.o /root/kvm-18/qemu/exec.c
/root/kvm-18/qemu/exec.c: In function `cpu_breakpoint_insert':
/root/kvm-18/qemu/exec.c:1055: warning: implicit declaration of function
`kvm_update_debugger'
/root/kvm-18/qemu/exec.c: In function `cpu_physical_memory_set_dirty_tracking':
/root/kvm-18/qemu/exec.c:1436: warning: implicit declaration of function
`kvm_physical_memory_set_dirty_tracking'
/opt/gcc33/bin/gcc-3.3 -I /root/kvm-18/qemu/../user -Wall -O2 -g
-fno-strict-aliasing -I /root/kvm-18/kernel/include -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 kqemu.o /root/kvm-18/qemu/kqemu.c
/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?
Omar
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread[parent not found: <loom.20070330T070046-783-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>]
* Re: kvm-18 compilation error [not found] ` <loom.20070330T070046-783-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org> @ 2007-03-30 6:51 ` Avi Kivity 2007-03-31 10:35 ` Omar Khan 0 siblings, 1 reply; 3+ messages in thread From: Avi Kivity @ 2007-03-30 6:51 UTC (permalink / raw) To: Omar Khan; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kvm-18 compilation error 2007-03-30 6:51 ` Avi Kivity @ 2007-03-31 10:35 ` Omar Khan 0 siblings, 0 replies; 3+ messages in thread From: Omar Khan @ 2007-03-31 10:35 UTC (permalink / raw) To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Avi Kivity <avi@...> writes: > > 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. > yes builds with gcc 3.4.6, Thanks. Omar ------------------------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-31 10:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2007-03-31 10:35 ` Omar Khan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox