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)
Nov 4 2025, 5:22 PM
Unknown Object (File)
Oct 27 2025, 6:29 AM
Unknown Object (File)
Oct 26 2025, 2:05 AM
Unknown Object (File)
Oct 25 2025, 7:39 PM
Unknown Object (File)
Oct 25 2025, 7:39 PM
Unknown Object (File)
Oct 25 2025, 1:12 PM
Unknown Object (File)
Oct 20 2025, 5:53 AM
Unknown Object (File)
Oct 15 2025, 11:52 PM
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

Lint
Lint Skipped
Unit
Tests Skipped

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.