From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BOgyK-0006jI-9j for qemu-devel@nongnu.org; Fri, 14 May 2004 13:59:48 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BOgxk-0006SE-Vt for qemu-devel@nongnu.org; Fri, 14 May 2004 13:59:44 -0400 Received: from [80.188.250.27] (helo=thinkpad.gardas.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOgxk-0006RW-7d for qemu-devel@nongnu.org; Fri, 14 May 2004 13:59:12 -0400 Received: from karel (helo=localhost) by thinkpad.gardas.net with local-esmtp (Exim 3.35 #1 (Debian)) id 1BOgy1-0001hi-00 for ; Fri, 14 May 2004 19:59:29 +0200 Date: Fri, 14 May 2004 19:59:29 +0200 (CEST) From: Karel Gardas Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [Qemu-devel] Problem with PPC user emulation. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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