[Bug dynamic-link/20488] New: dl_build_local_scope processes in depth first not breadth first
mark.hatle at windriver dot com
sourceware-bugzilla@sourceware.org
Thu Aug 18 20:14:00 GMT 2016
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.
More information about the Glibc-bugs
mailing list