Skip to contentSkip to conversation

KVM-19 compile on Feisty Fawn fails

DISCUSSION Chris Stromblad 3 participants 3 messages Apr 21, 2007 KVM

lore
Share & tools
lore
#0 lore raw

Hi there,

When attempting to compile KVM-19 I get the following error, anyone feel like shedding some light on this? :)

/ Chris

chris@workstation:~/download/kvm-19$ ./configure
Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /home/chris/download/kvm-19/qemu
C compiler        /usr/bin/gcc-3.3
Host C compiler   gcc
make              make
install           install
host CPU          i386
host big endian   no
target list       i386-softmmu
gprof enabled     no
profiler          no
static build      no
SDL support       yes
SDL static link   yes
mingw32 support   no
Adlib support     no
CoreAudio support no
ALSA support      yes
DSound support    no
FMOD support      no 
kqemu support     no
kvm support       yes
Documentation     no

/home/chris/download/kvm-19/qemu/qemu-kvm.c: In function `load_regs':
/home/chris/download/kvm-19/qemu/qemu-kvm.c:254: error: unable to find a register to spill in class `DIREG' /home/chris/download/kvm-19/qemu/qemu-kvm.c:254: error: this is the insn:
(insn:HI 65 588 67 2 0x4060f108 (parallel [

            (set (reg:SI 2 ecx [80])
                (const_int 0 [0x0]))
            (set (reg/f:SI 0 eax [77])
                (plus:SI (ashift:SI (reg:SI 2 ecx [79])
                        (const_int 2 [0x2]))
                    (reg/f:SI 252)))
            (set (mem:BLK (reg/f:SI 252) [0 A8])
                (const_int 0 [0x0]))
            (use (reg:SI 0 eax [78]))
            (use (reg:SI 2 ecx [79]))
            (use (reg:SI 19 dirflag))
        ]) 459 {rep_stossi} (insn_list 576 (insn_list 61 (insn_list 62
(insn_list 63 (nil)))))
    (expr_list:REG_DEAD (reg:SI 19 dirflag)
        (expr_list:REG_DEAD (reg:SI 0 eax [78])
            (expr_list:REG_DEAD (reg:SI 2 ecx [79])
                (expr_list:REG_UNUSED (reg:SI 2 ecx [80])
                    (expr_list:REG_UNUSED (reg/f:SI 0 eax [77])
                        (nil)))))))

/home/chris/download/kvm-19/qemu/qemu-kvm.c:254: confused by earlier errors, bailing out
make[2]: *** [qemu-kvm.o] Error 1
make[2]: Leaving directory `/home/chris/download/kvm-19/qemu/i386-softmmu'
make[1]: *** [subdir-i386-softmmu] Error 2
make[1]: Leaving directory `/home/chris/download/kvm-19/qemu'
make: *** [qemu] Error 2

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

#1 lore raw

Chris,

Quoted 2 lines

When attempting to compile KVM-19 I get the following error, anyone feel like shedding some light on this? :)

Yes, try gcc 3.4.6:

http://sourceforge.net/mailarchive/forum.php?thread_name=loom.20070330T070046-783%40post.gmane.org&forum_name=kvm-devel

	--cbe

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

#2 lore raw
In reply to Chris Stromblad
Quoted 5 lines · Chris Stromblad

Hi there,

When attempting to compile KVM-19 I get the following error, anyone feel like shedding some light on this? :)

apt-get install gcc-3.4

Regards,

Anthony Liguori

Quoted 75 lines

/ Chris

chris@workstation:~/download/kvm-19$ ./configure
Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /home/chris/download/kvm-19/qemu
C compiler        /usr/bin/gcc-3.3
Host C compiler   gcc
make              make
install           install
host CPU          i386
host big endian   no
target list       i386-softmmu
gprof enabled     no
profiler          no
static build      no
SDL support       yes
SDL static link   yes
mingw32 support   no
Adlib support     no
CoreAudio support no
ALSA support      yes
DSound support    no
FMOD support      no 
kqemu support     no
kvm support       yes
Documentation     no

/home/chris/download/kvm-19/qemu/qemu-kvm.c: In function `load_regs':
/home/chris/download/kvm-19/qemu/qemu-kvm.c:254: error: unable to find a register to spill in class `DIREG' /home/chris/download/kvm-19/qemu/qemu-kvm.c:254: error: this is the insn:
(insn:HI 65 588 67 2 0x4060f108 (parallel [

            (set (reg:SI 2 ecx [80])
                (const_int 0 [0x0]))
            (set (reg/f:SI 0 eax [77])
                (plus:SI (ashift:SI (reg:SI 2 ecx [79])
                        (const_int 2 [0x2]))
                    (reg/f:SI 252)))
            (set (mem:BLK (reg/f:SI 252) [0 A8])
                (const_int 0 [0x0]))
            (use (reg:SI 0 eax [78]))
            (use (reg:SI 2 ecx [79]))
            (use (reg:SI 19 dirflag))
        ]) 459 {rep_stossi} (insn_list 576 (insn_list 61 (insn_list 62
(insn_list 63 (nil)))))
    (expr_list:REG_DEAD (reg:SI 19 dirflag)
        (expr_list:REG_DEAD (reg:SI 0 eax [78])
            (expr_list:REG_DEAD (reg:SI 2 ecx [79])
                (expr_list:REG_UNUSED (reg:SI 2 ecx [80])
                    (expr_list:REG_UNUSED (reg/f:SI 0 eax [77])
                        (nil)))))))

/home/chris/download/kvm-19/qemu/qemu-kvm.c:254: confused by earlier errors, bailing out
make[2]: *** [qemu-kvm.o] Error 1
make[2]: Leaving directory `/home/chris/download/kvm-19/qemu/i386-softmmu'
make[1]: *** [subdir-i386-softmmu] Error 2
make[1]: Leaving directory `/home/chris/download/kvm-19/qemu'
make: *** [qemu] Error 2

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------

Quoted 5 lines

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/