qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Problem with PPC user emulation.
@ 2004-05-14 17:59 Karel Gardas
  2004-05-14 19:25 ` Jocelyn Mayer
  0 siblings, 1 reply; 8+ messages in thread
From: Karel Gardas @ 2004-05-14 17:59 UTC (permalink / raw)
  To: QEMU Development Mailing List


Hello,

I've tried PPC user emulation provided by this week source tree, but w/o
success. I've tested crosstool's 4 test binaries (hello world in c/c++
static and dynamic) but all four crash with:

thinkpad:/mnt/karel/cross-gcc/result/powerpc-405-linux-gnu/gcc-3.4.0-glibc-2.3.2/tmp$ ppc.sh ./powerpc-405-linux-gnu-hello
*** ERROR: idx a0 already assigned to a direct opcode
*** ERROR: unable to join indirect table idx [a0-37]
*** ERROR initializing PPC instruction 0xa0 0x37 0xfe
/opt/qemu-scripts/bin/ppc.sh: line 3:  3496 Segmentation fault      qemu-ppc -L /mnt/karel/cross-gcc/result/powerpc-405-linux-gnu/gcc-3.4.0-glibc-2.3.2/powerpc-405-linux-gnu/ $@
thinkpad:/mnt/karel/cross-gcc/result/powerpc-405-linux-gnu/gcc-3.4.0-glibc-2.3.2/tmp$

I used crosstool-0.28-pre13 for building ppc crosscompiler which is
gcc3.4.0 and glibc2.3.2 combination.

If you would like to see at least statically linked hello world binaries,
then they are:

http://mico.org/~karel/powerpc-405-linux-gnu-hello-static.bz2
http://mico.org/~karel/powerpc-405-linux-gnu-hello2-static.bz2

Cheers,

Karel
--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-05-14 22:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-14 17:59 [Qemu-devel] Problem with PPC user emulation Karel Gardas
2004-05-14 19:25 ` Jocelyn Mayer
2004-05-14 19:26   ` Karel Gardas
2004-05-14 19:42     ` Jocelyn Mayer
2004-05-14 19:44       ` Karel Gardas
2004-05-14 20:33         ` Herbert Poetzl
2004-05-14 20:42           ` Karel Gardas
2004-05-14 21:44             ` J. Mayer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).