mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Isaac Dunham <ibid.ag@gmail.com>
To: musl@lists.openwall.com
Subject: Re: dynamic compile issue
Date: Thu, 18 Dec 2014 10:43:13 -0800	[thread overview]
Message-ID: <20141218184313.GA1783@newbook> (raw)
In-Reply-To: <CAA7aPHhG3tg18ZddLRdj53A9o67hmPFPzPVAO5jjgfv4kvavDA@mail.gmail.com>

On Thu, Dec 18, 2014 at 11:04:16AM -0500, stephen Turner wrote:
> I have no reason to believe this is a musl issue but seeing that your in
> the business of building a libc i was hoping someone could give me a
> pointer or something to assist.
> 
> I have a pure musl libc chroot and when compiling static it links/works
> fine. im now on my 2nd-3rd gen applications being compiled in the chroot
> alone. when i go to do a dynamic compile however it always wants to link to
> ld-linux.so.2.  I do not have any kind of scripts or anything running in

You failed to patch GCC or configured it for glibc inadvertently.
(ld-linux.so.2 is the glibc dynamic linker.)
The patch and build options should be documented in bootstrap-linux or
musl-cross, whichever has the patches you're using at the moment.
(Check that you applied the patches *and* used the target that the
scripts use.)

HTH,
Isaac Dunham



  reply	other threads:[~2014-12-18 18:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-18 16:04 stephen Turner
2014-12-18 18:43 ` Isaac Dunham [this message]
2014-12-18 18:47   ` stephen Turner
2014-12-18 19:14     ` Rich Felker
2014-12-18 20:13       ` stephen Turner

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=20141218184313.GA1783@newbook \
    --to=ibid.ag@gmail.com \
    --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).