qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Problem with PPC user emulation.


From: J. Mayer
Subject: Re: [Qemu-devel] Problem with PPC user emulation.
Date: Fri, 14 May 2004 23:44:41 +0200

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 <address@hidden>
Never organized





reply via email to

[Prev in Thread] Current Thread [Next in Thread]