Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 1 Jun 2015 20:54:15 +0200
From: Daniel Cegiełka <>
Subject: Re: [PATCH] Allow different paths for static and shared libraries

2015-06-01 3:27 GMT+02:00 Rich Felker <>:
> On Sun, May 31, 2015 at 06:51:42PM -0300, Ismael Luceno wrote:
>> On Sun, 31 May 2015 12:30:34 -0400
>> Rich Felker <> wrote:

>> A ld script in place of, containing "GROUP ( /lib/ )",
>> would workaround that.
> Are you sure? I think that would result in a dependency for
> "/lib/" getting put in the binary rather than one for
> "", and that's also a serious bug.

from gentoo:

# cat /usr/lib/
/* GNU ld script
   Use the shared library, but some functions are only in
   the static library, so try that secondarily.  */
GROUP ( /lib64/ /usr/lib64/libc_nonshared.a  AS_NEEDED (
/lib64/ ) )

btw. I am not a fan of this solution.


> Rich

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.