qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Brook <paul@codesourcery.com>
To: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu-arm dynamically linked binary problem
Date: Wed, 5 Jan 2005 16:40:18 +0000	[thread overview]
Message-ID: <200501051640.19489.paul@codesourcery.com> (raw)
In-Reply-To: <20050105154834.GG20925@xi.wantstofly.org>

On Wednesday 05 January 2005 15:48, Lennert Buytenhek wrote:
> On Wed, Jan 05, 2005 at 03:20:35PM +0000, Paul Brook wrote:
> > > I just think there's something in qemu's ELF setup that the glibc 2.3
> > > dynamic linker doesn't like.
> >
> > It working with a gcc3.4-csl/glibc2.3.3 soft-float armv4 toolchain.
>
> You're using dynamically linked binaries, and you have the glibc 2.3.3
> dynamic linker in /usr/gnemul/qemu-arm/lib ?

I've tested two types of applications:

- Cross-toolchain based on CodeSourcery gcc(3.4+bits of 4.0 backported), CVS 
glibc and binutils, plus minor config hacks to for soft-float and to use 
ld.so and shared libraries from my build sysroot.

- A Debian chroot via binfmt_misc and a static qemu-arm binary. This is a 
normal Debian Arm install with no modifications.

> > > Inconsistency detected by ld.so: dymanic-link.h: 150:
> > > elf_get_dynamic_info: Assertion `info[20]->d_un.d_val == 17 ||
> > > info[20]->d_un.d_val == 7' failed!
> >
> > I remember seeing something like this. IIRC It was caused by the
> > (recently fixed) rrx bug.
>
> I'm using CVS from a few days ago, which does like look it has those
> rrx fixes in.  I've also applied your selfmodify fix by hand.  I didn't
> apply your 5e diff.

I've just tired qemu CVS head, and that also works for me.

However I'll I did need to rebuild from a clean source tree,
 ie "make clean && make" after changing things.
There are obviously missing makefile dependencies somewhere.

Paul

  reply	other threads:[~2005-01-05 16:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-31 18:21 [Qemu-devel] qemu-arm dynamically linked binary problem Lennert Buytenhek
2005-01-05 12:03 ` [Qemu-devel] " Lennert Buytenhek
2005-01-05 13:35 ` [Qemu-devel] " Magnus Damm
2005-01-05 13:49   ` Lennert Buytenhek
2005-01-05 15:20     ` Paul Brook
2005-01-05 15:48       ` Lennert Buytenhek
2005-01-05 16:40         ` Paul Brook [this message]
2005-01-08 14:01           ` Lennert Buytenhek

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=200501051640.19489.paul@codesourcery.com \
    --to=paul@codesourcery.com \
    --cc=buytenh@wantstofly.org \
    --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 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).