Page MenuHomeFreeBSD

Retire long-broken static rtld support
ClosedPublic

Authored by emaste on Dec 1 2016, 6:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 22, 3:14 PM
Unknown Object (File)
Feb 10 2024, 1:40 PM
Unknown Object (File)
Feb 9 2024, 6:27 PM
Unknown Object (File)
Dec 23 2023, 10:48 AM
Unknown Object (File)
Dec 22 2023, 2:02 PM
Unknown Object (File)
Dec 21 2023, 3:43 PM
Unknown Object (File)
Dec 12 2023, 9:54 PM
Unknown Object (File)
Nov 13 2023, 11:44 AM
Subscribers

Details

Summary

rtld-elf has some vestigial support for building as a static executable. rS45501 introduced an incomplete implementation with a prescient note that it "might never be enabled." r153515 introduced ELF symbol versioning support, and removed part of the unused build infrastructure for static rtld. Differences resulting from the use of alternate toolchains break rtld's run-time dynamic executable check (PR 214972). Simplify rtld by just removing the unused or broken check.

If we want to restore static rtld support later on we should introduce a build-time flag that we can test with #ifdef.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste retitled this revision from to Retire long-broken static rtld support.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: kib, kan.
emaste added subscribers: jhb, peter.
emaste added subscribers: andrew, br.
kan edited edge metadata.
This revision is now accepted and ready to land.Dec 2 2016, 1:51 PM
This revision was automatically updated to reflect the committed changes.