This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/24994] $LIB (DL_DST_LIB) is incorrect on multiarch systems
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 12 Sep 2019 14:21:43 +0000
- Subject: [Bug dynamic-link/24994] $LIB (DL_DST_LIB) is incorrect on multiarch systems
- Auto-submitted: auto-generated
- References: <bug-24994-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=24994
Carlos O'Donell <carlos at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2019-09-12
CC| |carlos at redhat dot com
Ever confirmed|0 |1
--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Valentin David from comment #0)
> $LIB` is the directory name of the shared library directory. It is usually
> used as a relative directory from a prefix. That is, typically "/usr/$DIR"
> should point to the library directory. However in multiarch directory the
> relative path from prefix contains two components, e.g.
> lib/x86_64-linux-gnu. The way DL_DST_LIB is calculated strips the previous
> components of the path and only keeps x86_64-linux-gnu.
Agreed.
> $(notdir $(slibdir)) should be replaced by something like $$(realpath
> $(slibdir) --relative-to=$(prefix)) or $(patsubst $(prefix)/%,%,$(slibdir))
Valentin, Could you please prototype a patch for this and send it to
libc-alpha? TO: me for review.
--
You are receiving this mail because:
You are on the CC list for the bug.