All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Mayer" <l_indien@magic.fr>
To: Karel Gardas <kgardas@objectsecurity.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Problem with PPC user emulation.
Date: Fri, 14 May 2004 23:44:41 +0200	[thread overview]
Message-ID: <1084571081.8250.6544.camel@rapid> (raw)
In-Reply-To: <Pine.LNX.4.43.0405142241060.28976-100000@thinkpad.gardas.net>

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 <l_indien@magic.fr>
Never organized

      reply	other threads:[~2004-05-14 22:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1084571081.8250.6544.camel@rapid \
    --to=l_indien@magic.fr \
    --cc=kgardas@objectsecurity.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.