Qemu on FC4

August 13, 2005

Since upgrading to FC4 kqemu the, accelerator could not be used (since it's not compatible with the new kernel). That effectively means Qemu cannot be used at all because with out the accelerator the emulator is too painfully slow.

Unfortunately attempting to recompile again did not work out because of an error. So I downloaded the latest version (0.71) and had another go but the error simply wouldn't go away.

/dev/shm/qemu-0.7.1/target-i386/ops_sse.h:574: error: unable to find a register to spill in class ‘GENERAL_REGS’ /dev/shm/qemu-0.7.1/target-i386/ops_sse.h:574: error: this is the insn: (insn:HI 18 17 19 0 /dev/shm/qemu-0.7.1/target-i386/ops_sse.h:569 (set (strict_low_part (subreg:HI (reg/v:DI 63 [ r ]) 0)) (mem/s/j:HI (plus:SI (mult:SI (reg:SI 64) (const_int 2 [0x2])) (reg/v/f:SI 59 [ s ])) [0 ._w S2 A16])) 41 {*movstricthi_1} (insn_list:REG_DEP_TRUE 16 (insn_list:REG_DEP_TRUE 12 (insn_list:REG_DEP_TRUE 53 (nil)))) (expr_list:REG_DEAD (reg:SI 64) (nil))) /dev/shm/qemu-0.7.1/target-i386/ops_sse.h:574: confused by earlier errors, bailing out

Apparently this is a compatibility issue with GCC 4.0.0 which is the version that's included with Fedora Core 4. Someone suggested removing the the optimization flag, which I did only to run into another error:


./op.h:6382: error: ‘memcpy’ redeclared as different kind of symbol
./op.h:6383: error: called object ‘memcpy’ is not a function

Then there was another suggestion about using the --cc=gcc32 now the previous error can no longer be seen, it's position has been taken up by something similar:

/dev/shm/qemu-0.7.1/softmmu_header.h:100: can't find a register in class `GENERAL_REGS' while reloading `asm'

This is begining to be really annoying but fortunately a make clean did the trick.


Posted by raditha at August 13, 2005 9:05 AM
Your Ad Here

 

Jabber  |  Linux  |  mySQL  |  PHP  |  Java  |  Site Map  |  Wiki

Downloads  |  About  |  Links  |  Contact  |  Home

 

Copyright © Raditha Dissanayake 2003 - 2007

Terms of Use  |  Privacy

 

 

August 2005
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31