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 1BOlG6-0003H8-9g for qemu-devel@nongnu.org; Fri, 14 May 2004 18:34:26 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BOl9v-0002DJ-5f for qemu-devel@nongnu.org; Fri, 14 May 2004 18:28:34 -0400 Received: from [62.210.158.45] (helo=quito.magic.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOkTx-0001dp-6u for qemu-devel@nongnu.org; Fri, 14 May 2004 17:44:41 -0400 Subject: Re: [Qemu-devel] Problem with PPC user emulation. From: "J. Mayer" In-Reply-To: References: Content-Type: text/plain Message-Id: <1084571081.8250.6544.camel@rapid> Mime-Version: 1.0 Date: Fri, 14 May 2004 23:44:41 +0200 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Karel Gardas Cc: qemu-devel@nongnu.org On Fri, 2004-05-14 at 22:42, Karel Gardas wrote: > On Fri, 14 May 2004, Herbert Poetzl wrote: > > > > Ah, yes, sorry, I have not understood this. I will send it to you > > > immediately. FYI: Qemu was compiled by gcc3.4.0 + fsf binutils 2.14 > > > > hmm, IIRC I had some issues with binutils 2.14 and gcc 3.4 .. > > I upgraded to binutils 2.15.90.0.3 which fixed that ... > > > > (might be completely unrelated, so do not rely on that) > > Hmm, sounds interesting. I've just checked and gcc website still note only > (for x86-linux platform): > > i?86-*-linux* > > As of GCC 3.3, binutils 2.13.1 or later is required for this platform. See > bug 10877 for more information. > > > So at least, this should be not so known bug... I just check your qemu program, using GNU binutils version 2.14.90.0.8 20040114 in a 32 bits x86 environment and GNU binutils version 2.15.90.0.1.1 20040303 in a amd64 environment on Gentoo. The two versions show me the same problems: - ELF flags say the executable has symbols, but objdump isn't able to find them. - the .opcodes section (which should contain the PPC opcodes tables) pretend 8 bytes aligned but is, in fact, 16 bytes aligned. - this section is quite empty: only 20 bytes, when it's 4992 bytes long in my version. - I failed to find the opcode tables in any section. it seems that the binary has been partialy stripped, which is really strange. I didn't find a description of this bug (I suspect ld more than gcc, but...). You may try to use another binutils and/or gcc version, as suggested.... -- J. Mayer Never organized