public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/25669] New: Provide extra information when a found library file is not suitable
@ 2020-03-13 16:09 bugzilla.sourceware at me dot benboeckel.net
2020-05-07 3:10 ` [Bug dynamic-link/25669] " bugzilla.sourceware at me dot benboeckel.net
2020-05-07 3:29 ` bugzilla.sourceware at me dot benboeckel.net
0 siblings, 2 replies; 3+ messages in thread
From: bugzilla.sourceware at me dot benboeckel.net @ 2020-03-13 16:09 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25669
Bug ID: 25669
Summary: Provide extra information when a found library file is
not suitable
Product: glibc
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: dynamic-link
Assignee: unassigned at sourceware dot org
Reporter: bugzilla.sourceware at me dot benboeckel.net
Target Milestone: ---
Created attachment 12372
--> https://sourceware.org/bugzilla/attachment.cgi?id=12372&action=edit
Add logging for when ABI-tag is used to reject a found library
When logging with `LD_DEBUG=libs`, output is created which lists all the paths
which are tried in order. However, sometimes a path is listed as searched and
then the result ends up with a `File not found` error. This is confusing when a
found library was rejected for reasons of its contents. Architecture
differences are fine; that's more readily discoverable (though probably still
worth logging about). I'm mostly interested in avoiding the confusion from the
`.note.ABI-tag` checking that is done. As an example, this issue:
<https://github.com/Microsoft/WSL/issues/3023>.
I have a (currently untested) patch (attached) which adds information for this
case. Is it recommended to find other locations and log about those rejection
cases as well or is just this instance fine?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug dynamic-link/25669] Provide extra information when a found library file is not suitable
2020-03-13 16:09 [Bug dynamic-link/25669] New: Provide extra information when a found library file is not suitable bugzilla.sourceware at me dot benboeckel.net
@ 2020-05-07 3:10 ` bugzilla.sourceware at me dot benboeckel.net
2020-05-07 3:29 ` bugzilla.sourceware at me dot benboeckel.net
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla.sourceware at me dot benboeckel.net @ 2020-05-07 3:10 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25669
--- Comment #1 from Ben Boeckel <bugzilla.sourceware at me dot benboeckel.net> ---
I've now tested this patch and it appears to work as I'd expect:
2750004: trying file=/home/boeckb/misc/code/sb/too-old/./libl.so
2750004: (insufficient OS version requirements: 5050d < 60000)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug dynamic-link/25669] Provide extra information when a found library file is not suitable
2020-03-13 16:09 [Bug dynamic-link/25669] New: Provide extra information when a found library file is not suitable bugzilla.sourceware at me dot benboeckel.net
2020-05-07 3:10 ` [Bug dynamic-link/25669] " bugzilla.sourceware at me dot benboeckel.net
@ 2020-05-07 3:29 ` bugzilla.sourceware at me dot benboeckel.net
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla.sourceware at me dot benboeckel.net @ 2020-05-07 3:29 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25669
--- Comment #2 from Ben Boeckel <bugzilla.sourceware at me dot benboeckel.net> ---
Created attachment 12510
--> https://sourceware.org/bugzilla/attachment.cgi?id=12510&action=edit
Patch which adds rejection reasons to other rejection codepaths
I've added reasons for rejects to the other codepaths.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-05-07 3:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-13 16:09 [Bug dynamic-link/25669] New: Provide extra information when a found library file is not suitable bugzilla.sourceware at me dot benboeckel.net
2020-05-07 3:10 ` [Bug dynamic-link/25669] " bugzilla.sourceware at me dot benboeckel.net
2020-05-07 3:29 ` bugzilla.sourceware at me dot benboeckel.net
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 read-only IMAP folder(s) and NNTP newsgroup(s).