mailing list of musl libc
 help / color / mirror / code / Atom feed
From: stephen Turner <stephen.n.turner@gmail.com>
To: musl@lists.openwall.com
Subject: Re: dynamic compile issue
Date: Thu, 18 Dec 2014 13:47:49 -0500	[thread overview]
Message-ID: <CAA7aPHis7pffjTuAYM0E3XMNDTtSiN=zkP-a8Nwzzzro_pU4aw@mail.gmail.com> (raw)
In-Reply-To: <20141218184313.GA1783@newbook>

[-- Attachment #1: Type: text/plain, Size: 1373 bytes --]

im using PCC as my compiler. it was initially built with gcc but since has
recompiled itself several times. 2 at least in the chroot musl only
environment alone. would this advice still apply? If i understood the pcc
group correctly it should not be responsible for this but i cant help but
think it is. regardless i will look into any advice/leads provided.

On Thu, Dec 18, 2014 at 1:43 PM, Isaac Dunham <ibid.ag@gmail.com> wrote:

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

[-- Attachment #2: Type: text/html, Size: 1775 bytes --]

  reply	other threads:[~2014-12-18 18:47 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
2014-12-18 18:47   ` stephen Turner [this message]
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='CAA7aPHis7pffjTuAYM0E3XMNDTtSiN=zkP-a8Nwzzzro_pU4aw@mail.gmail.com' \
    --to=stephen.n.turner@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).