mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Jens <jensl@laas.mine.nu>
To: musl@lists.openwall.com
Subject: Re: problems with dynamic linking since 0.9.1
Date: Wed, 14 Aug 2013 22:47:08 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LNX.2.10.1308142238590.12914@laas.mine.nu> (raw)
In-Reply-To: <20130814145158.GO221@brightrain.aerifal.cx>



On Wed, 14 Aug 2013, Rich Felker wrote:

> On Wed, Aug 14, 2013 at 04:49:55PM +0200, Szabolcs Nagy wrote:
>> * Rich Felker <dalias@aerifal.cx> [2013-08-14 10:27:10 -0400]:
>>> On Wed, Aug 14, 2013 at 11:06:29AM +0200, Jens wrote:
>>>> bash-4.1# ld -V
>>>> GNU ld version 2.17
>>>>   Supported emulations:
>>>>    elf_x86_64
>>>>    elf_i386
>>>>    i386linux
>>>>
>>>> Hope this helps.
>>>
>>> Thanks. I don't see anything obviously wrong in the trace or verbose
>>> output. Unless /lib is where you have musl installed (which doesn't
>>> seem to be the case, the -L /lib/. probably should not be there, but
>>> it doesn't seem related to the problem. Have you run the file command
>>> and/or readelf -a on libc.so as a sanity check? Perhaps something
>>> about the toolchain or existing wrapper messed up the link of libc.so.
>>>
>>
>> wasn't there an issue that the last gplv2 binutils version
>> failed to produce a working libc.so with -Bsymbolic-functions?
>
> My recollection was that it failed to support -Bsymbolic-functions at
> all and would produce an error when encountering it, so this makes me
> wonder how generation of libc.so succeeded at all...

The musl libc in this case is built with binutils-2.20.1, since the older 
binutils (2.17) didnt work. You helped me with this exact problem some 
months ago.

I have a build-environment where I specify all the dependencies for each 
build. binutils-2.20.1 is then a dependency for musl (where binutils 2.17 
is the default).

So for my use-case I can always specify a later binutils as a dependency 
for all musl builds. Though dynamic linking is a low priority for me, 
since all resulting binaries must be statically linked.

Regards,
Jens

>
> Rich
>


  reply	other threads:[~2013-08-14 20:47 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
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 [this message]
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=alpine.LNX.2.10.1308142238590.12914@laas.mine.nu \
    --to=jensl@laas.mine.nu \
    --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).