Bug 31083 - Improve compatibility with objects without DT_NEEDED dependencies
Summary: Improve compatibility with objects without DT_NEEDED dependencies
Status: ASSIGNED
Alias: None
Product: glibc
Classification: Unclassified
Component: dynamic-link (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Florian Weimer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-24 07:24 UTC by Florian Weimer
Modified: 2023-11-24 07:24 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Weimer 2023-11-24 07:24:20 UTC
The changes in bug 17645 for dependency sorting may place objects without dependencies differently. As a result, underlinked objects with implicit dependencies on libc.so.6 may be relocated before libc.so.6, resulting in relocation failures or crashes when IFUNC resolvers in libc.so.6 are invoked.

It should be possible to relocate libc.so.6 earlier, so that it is already relocated when those IFUNC resolvers are invoked.