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)
Tue, Nov 26, 7:45 AM
Unknown Object (File)
Tue, Nov 26, 5:33 AM
Unknown Object (File)
Wed, Nov 6, 4:11 AM
Unknown Object (File)
Oct 21 2024, 7:29 AM
Unknown Object (File)
Oct 4 2024, 7:10 AM
Unknown Object (File)
Sep 27 2024, 12:22 PM
Unknown Object (File)
Sep 19 2024, 5:21 AM
Unknown Object (File)
Sep 18 2024, 12:12 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

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.