Hi,
It seems like a gcc32 problem.
Please try to use your default gcc (3.4.6) to compile qemu instead of gcc32
Just type in <kvm-dir> "configure --qemu-cc=gcc"
Hope that helps,
Uri.
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Francesc
Sent: Tue 16/01/2007 12:02
To: kvm-devel@lists.sourceforge.net
Subject: [kvm-devel] compiler problem in Read Hat ES 4
Hi,
we are trying to kmstall kvm on a Read Hat Enterprise 4 with all the
latest updates, and when we do the "make" we
get this error
/usr/bin/gcc32 -I /var/tmp/kvm-11/qemu/../user -Wall -O2 -g
-fno-strict-aliasing -fomit-frame-pointer -I. -I..
-I/var/tmp/kvm-11/qemu/target-i386 -I/var/tmp/kvm-11/qemu -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/var/tmp/kvm-11/qemu/fpu -I
/var/tmp/kvm-11/kernel/include -DHAS_AUDIO -I/var/tmp/kvm-11/qemu/slirp
-c -o qemu-kvm.o /var/tmp/kvm-11/qemu/qemu-kvm.c
/var/tmp/kvm-11/qemu/qemu-kvm.c: In function `load_regs':
/var/tmp/kvm-11/qemu/qemu-kvm.c:223: unable to find a register to spill
in class `SIREG'
/var/tmp/kvm-11/qemu/qemu-kvm.c:223: this is the insn:
(insn 98 95 101 (parallel[
(set (reg:SI 2 ecx [78])
(const_int 0 [0x0]))
(set (reg/f:SI 1 edx [75])
(plus:SI (ashift:SI (reg:SI 2 ecx [77])
(const_int 2 [0x2]))
(reg/f:SI 1 edx [75])))
(set (reg/f:SI 0 eax [76])
(plus:SI (ashift:SI (reg:SI 2 ecx [77])
(const_int 2 [0x2]))
(reg/f:SI 0 eax [76])))
(set (mem:BLK (reg/f:SI 1 edx [75]) [0 A128])
(mem:BLK (reg/f:SI 0 eax [76]) [0 A128]))
(use (reg:SI 2 ecx [77]))
(use (reg:SI 19 dirflag))
] ) 603 {*rep_movsi} (insn_list 90 (insn_list 92 (insn_list 93
(insn_list 95 (nil)))))
(expr_list:REG_DEAD (reg:SI 19 dirflag)
(expr_list:REG_DEAD (reg:SI 2 ecx [77])
(expr_list:REG_UNUSED (reg:SI 2 ecx [78])
(expr_list:REG_UNUSED (reg/f:SI 1 edx [75])
(expr_list:REG_UNUSED (reg/f:SI 0 eax [76])
(nil)))))))
/var/tmp/kvm-11/qemu/qemu-kvm.c:223: confused by earlier errors, bailing out
make[2]: *** [qemu-kvm.o] Error 1
make[2]: Leaving directory `/var/tmp/kvm-11/qemu/i386-softmmu'
make[1]: *** [subdir-i386-softmmu] Error 2
make[1]: Leaving directory `/var/tmp/kvm-11/qemu'
make: *** [qemu] Error 2
The gcc version is 3.4.6; I have read that there were problems with
older gcc versions. Is this another bug?
Thanks for your help.
Frank
UPC - Terrassa -Spain
-------------------------------------------------------------------------
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
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel
-------------------------------------------------------------------------
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
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel