Czy komuś z Was udało się skompilować jakąkolwiek wersję QEMU? Idąc za poradą, że nowsze wersje gcc mogą problemowo budować, do ./configure dodałem opcję --cc=gcc-3.3. Ale dostałem wynik ten sam jak przy domyślnym gcc-4.2:
/tmp/qemu-0.9.1/target-arm/op_helper.c: In function `helper_neon_tbl':
/tmp/qemu-0.9.1/target-arm/op_helper.c:251: error: unable to find a register to spill in class `GENERAL_REGS'
/tmp/qemu-0.9.1/target-arm/op_helper.c:251: error: this is the insn:
(insn:HI 48 47 49 2 0x406ac18c (parallel [
(set (reg:DI 72)
(lshiftrt:DI (reg:DI 72)
(subreg:QI (reg:SI 69) 0)))
(clobber (scratch:SI))
(clobber (reg:CC 17 flags))
]) 323 {lshrdi3_1} (insn_list 46 (insn_list 47 (nil)))
(expr_list:REG_DEAD (reg:SI 69)
(expr_list:REG_UNUSED (scratch:SI)
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil)))))
/tmp/qemu-0.9.1/target-arm/op_helper.c:251: confused by earlier errors, bailing out
make[1]: *** [op_helper.o] Błąd 1
make[1]: Opuszczenie katalogu `/tmp/qemu-0.9.1/arm-linux-user'
make: *** [subdir-arm-linux-user] Błąd 2
unset CPP CC CXX nic nie daje. Samo ./configure nie zgłasza, że coś mu brak.
./configure --help daje mi do wyboru opcję
--disable-system disable all system emulation targets
Spróbowałem na niej, ale i tak wyjście błędu wygląda jakby dotyczyło obcej architektury:
/home/arctgx/tmp/qemu-0.9.1/target-arm/op_helper.c:251: error: this is the insn:
(insn:HI 48 47 49 2 0x406ac18c (parallel [
(set (reg:DI 72)
(lshiftrt:DI (reg:DI 72)
(subreg:QI (reg:SI 69) 0)))
(clobber (scratch:SI))
(clobber (reg:CC 17 flags))
]) 323 {lshrdi3_1} (insn_list 46 (insn_list 47 (nil)))
(expr_list:REG_DEAD (reg:SI 69)
(expr_list:REG_UNUSED (scratch:SI)
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil)))))
/home/arctgx/tmp/qemu-0.9.1/target-arm/op_helper.c:251: confused by earlier errors, bailing out
make[1]: *** [op_helper.o] Błąd 1
make[1]: Opuszczenie katalogu `/home/arctgx/tmp/qemu-0.9.1/arm-linux-user'
make: *** [subdir-arm-linux-user] Błąd 2
Z drugiej strony, kiedy wyłączę wszystkie architektury, to również i386 :) Tego jeszcze nie doświadczyłem, ale wygląda na przyszły problem to jak jej emulację dokompilować. Niech jednak przejdę wpierw ten.