Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 18 Dec 2014 15:13:12 -0500
From: stephen Turner <stephen.n.turner@...il.com>
To: musl@...ts.openwall.com
Subject: Re: dynamic compile issue

On Thu, Dec 18, 2014 at 2:14 PM, Rich Felker <dalias@...c.org> wrote:

> On Thu, Dec 18, 2014 at 01:47:49PM -0500, stephen Turner wrote:
> > 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.
>
> PCC probably just has /lib/ld-linux.so.2 hard-coded for the "linux"
>

this was my assumption as well. I only found ref of the ld-linux.so.2 in a
header however and correcting the header code (adding a relevant entry for
musl) didn't seem to change the outcome.

target. You just need to change this when building it for a musl-based
> system or pass -Wl,-dynamic-linker,/lib/ld-musl-i386.so.1 (or whatever
> your arch is) on the command line.
>
> Rich
>

Thanks again rich, im going to give this a run and if it resolves the
issue, see what the PCC community says is responsible linker-vs-pcc.

thanks
stephen

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.