Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 13 Aug 2013 14:03:31 -0400
From: Rich Felker <>
Subject: Re: problems with dynamic linking since 0.9.1

On Tue, Aug 13, 2013 at 07:14:42PM +0200, Jens wrote:
> On Tue, 13 Aug 2013, Szabolcs Nagy wrote:
> >* Jens <> [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 if there is some obvious error
> >ld should be able to handle it
> >(eg file, readelf -a, nm -D, or just ./
> >
> >since you use landley's weird toolchain it may be a
> >problem with the old binutils
> Thanks! You nailed it in one. If I use newer binutils it works.
> (In response to the wrapper problem, I let REALGCC point to the real
> gcc and not the wrapper).
> Thanks again,
> Jens
> >
> >>bash-4.1# musl-gcc -c t.c
> >>bash-4.1# musl-gcc t.o
> >>/opt/musl/lib/ file not recognized: File format not recognized
> >>collect2: ld returned 1 exit status
> >

It would be nice to get to the bottom of this, still. It's not my
intent to require new binutils for linking against musl. Any idea why
it might have been failing? Are there verbosity level options to ld
that might help track this down?

By the way, how old were those binutils? I saw "firmware Linux"
mentioned, which was the predecessor of Aboriginal, so unless that's
just still landley's dir name, maybe these are a lot older than I


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.