This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/20488] New: dl_build_local_scope processes in depth first not breadth first
- From: "mark.hatle at windriver dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 18 Aug 2016 20:14:18 +0000
- Subject: [Bug dynamic-link/20488] New: dl_build_local_scope processes in depth first not breadth first
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20488
Bug ID: 20488
Summary: dl_build_local_scope processes in depth first not
breadth first
Product: glibc
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: dynamic-link
Assignee: unassigned at sourceware dot org
Reporter: mark.hatle at windriver dot com
Target Milestone: ---
The ELF specification indicates symbol resolution should be breadth first, not
depth first.
The dl-deps.c: dl_build_locale_scope function is processing in a depth first
mode. This is causes certain symbols to be incorrectly reported when
LD_TRACE_PRELINKING=1 is enabled.
In the 'cross' prelink emulated RTLD, we had a similar bug and fixed the issue.
glibc has the same problem.
--
You are receiving this mail because:
You are on the CC list for the bug.