Skip to contentSkip to conversation

qemu under linux on AMD64 - any success stories?

Qemu-devel Alon Levy 3 participants 3 messages Jul 25, 2004 – Jul 28, 2004

lore
Share & tools
lore

Alon Levy

author
#0 lore raw

My compilation is failing because of a compiler error, but also reports many warning of this sort:

/home/alonl/src/qemu/qemu-0.6.0/target-i386/helper.c: In function `get_seg_base':
/home/alonl/src/qemu/qemu-0.6.0/target-i386/helper.c:171: warning: cast to pointer from integer of different size /home/alonl/src/qemu/qemu-0.6.0/target-i386/helper.c: In function load_seg_vm':/home/alonl/src/qemu/qemu-0.6.0/target-i386/helper.c:186: warning: cast to pointer from integer of different size /home/alonl/src/qemu/qemu-0.6.0/target-i386/helper.c: In function do_interrupt_real':
/home/alonl/src/qemu/qemu-0.6.0/target-i386/helper.c:820: warning: cast to pointer from integer of different size /home/alonl/src/qemu/qemu-0.6.0/target-i386/helper.c:538: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccAcllgR.out file, please attach this to your bugreport.
make[1]: *** [helper.o] Error 1
make[1]: Leaving directory `/home/alonl/src/qemu/qemu-0.6.0/i386-softmmu'
make: *** [all] Error 1

So if anyone has had success with AMD64 (in 64 bit mode), I'd like to know,

Alon

#1 lore raw
Quoted 16 lines · Alon Levy

My compilation is failing because of a compiler error, but also reports many warning of this sort:

/home/alonl/src/qemu/qemu-0.6.0/target-i386/helper.c: In function `get_seg_base':
/home/alonl/src/qemu/qemu-0.6.0/target-i386/helper.c:171: warning:
cast to pointer from integer of different size /home/alonl/src/qemu/qemu-0.6.0/target-i386/helper.c: In function `load_seg_vm':/home/alonl/src/qemu/qemu-0.6.0/target-i386/helper.c:186:
warning: cast to pointer from integer of different size /home/alonl/src/qemu/qemu-0.6.0/target-i386/helper.c: In function `do_interrupt_real':
/home/alonl/src/qemu/qemu-0.6.0/target-i386/helper.c:820: warning:
cast to pointer from integer of different size /home/alonl/src/qemu/qemu-0.6.0/target-i386/helper.c:538: internal compiler error: Segmentation fault

Quoted 8 lines

Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /tmp/ccAcllgR.out file, please attach this to your bugreport.
make[1]: *** [helper.o] Error 1
make[1]: Leaving directory `/home/alonl/src/qemu/qemu-0.6.0/i386-softmmu'
make: *** [all] Error 1

It looks like you're trying with gcc 3.4. This doesn't work:
http://bugs.gentoo.org/show_bug.cgi?id=51222

Use gcc 3.3 instead.

Gabriel.

#2 lore raw
Quoted 4 lines · Gabriel Ebner

It looks like you're trying with gcc 3.4. This doesn't work:
http://bugs.gentoo.org/show_bug.cgi?id=51222

Use gcc 3.3 instead.

it'll compile, it'll run, but you wont be able to get host emulation to work. i've tried with 3.3.3 on FC2.

The segfault might be a gentoo gcc 3.4 problem, however all the casts from int<->void and back in the source are definitely a qemu problem. ;)

Quoted 1 line

Gabriel.

regards,

Signature · 3 lines
Paul Jakma	[email protected]	[email protected]	Key ID: 64A2FF6A
Fortune:
All I ask is a chance to prove that money can't make me happy.