mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rob Landley <rob@landley.net>
To: musl@lists.openwall.com
Cc: musl@lists.openwall.com
Subject: Re: problems with dynamic linking since 0.9.1
Date: Wed, 14 Aug 2013 22:14:03 -0500	[thread overview]
Message-ID: <1376536443.2737.29@driftwood> (raw)
In-Reply-To: <20130813160052.GD221@brightrain.aerifal.cx> (from dalias@aerifal.cx on Tue Aug 13 11:00:52 2013)

On 08/13/2013 11:00:52 AM, Rich Felker wrote:
> On Tue, Aug 13, 2013 at 04:53:00PM +0200, Szabolcs Nagy wrote:
> > * Jens <jensl@laas.mine.nu> [2013-08-13 13:18:27 +0200]:
> > > On Tue, 13 Aug 2013, Szabolcs Nagy wrote:
> > > >
> > > >you didn't tell us the problem
> > > >
> > > >at least show a crashing dynamic linked executable
> > > >with straced loader and musl ldd output
> > >
> > > Sorry. Its actually linking the binary that doesnt work.
> > >
> >
> > ah ok i did not see that
> >
> > i'd check libc.so if there is some obvious error
> > ld should be able to handle it
> > (eg file libc.so, readelf -a libc.so, nm -D libc.so, or just  
> ./libc.so)
> >
> > since you use landley's weird toolchain it may be a
> > problem with the old binutils
> 
> Indeed, that toolchain is probably already using its own gcc wrapper
> around the real gcc located at a different path. Neither wrapper is
> sufficiently transparent to allow another wrapper around it to
> function 100% correctly, so I would guess this is your problem. See if
> you can find the location of the real gcc binary and have musl-gcc run
> that, or perhaps just get a compiler from the musl-cross package or
> compile your own toolchain.

You can trivially disable the aboriginal wrapper by replacing x86_64-cc  
with rawcc, but I _thought_ this was working at one point...

Rob

  reply	other threads:[~2013-08-15  3:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-13 10:39 Jens
2013-08-13 11:07 ` Szabolcs Nagy
2013-08-13 11:18   ` Jens
2013-08-13 14:53     ` Szabolcs Nagy
2013-08-13 16:00       ` Rich Felker
2013-08-15  3:14         ` Rob Landley [this message]
2013-08-13 17:14       ` Jens
2013-08-13 18:03         ` Rich Felker
2013-08-14  9:06           ` Jens
2013-08-14 14:27             ` Rich Felker
2013-08-14 14:49               ` Szabolcs Nagy
2013-08-14 14:51                 ` Rich Felker
2013-08-14 20:47                   ` Jens
2013-08-14 20:58                     ` Rich Felker
2013-08-15 21:19                 ` Rob Landley
2013-08-14 14:51               ` Jens
2013-08-15  3:43         ` Rob Landley
2013-08-15  9:05           ` Jens
2013-08-16  8:28             ` Rob Landley
2013-08-15  2:17       ` Rob Landley
2013-08-15  3:29 ` Rob Landley
2013-08-14 22:26 writeonce

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=1376536443.2737.29@driftwood \
    --to=rob@landley.net \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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).