Page MenuHomeFreeBSD

build: Stop testing LINKER_FEATURES for ifunc and build-
ClosedPublic

Authored by emaste on Mar 5 2026, 7:10 PM.
Tags
None
Referenced Files
F156033287: D55676.diff
Sun, May 10, 8:19 AM
F156032112: D55676.diff
Sun, May 10, 8:14 AM
Unknown Object (File)
Wed, May 6, 10:01 PM
Unknown Object (File)
Mon, May 4, 5:41 AM
Unknown Object (File)
Sun, May 3, 3:34 PM
Unknown Object (File)
Mon, Apr 27, 9:09 AM
Unknown Object (File)
Sat, Apr 25, 10:19 AM
Unknown Object (File)
Sat, Apr 25, 6:59 AM
Subscribers

Details

Summary

These features are available in all supported linkers.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 5 2026, 7:50 PM

Would it make sense to test this somewhere on top level, and refuse to start the buildworld and buildkernel?
I am thinking about adding support for other linkers, that do appear. E.g. mold.

Would it make sense to test this somewhere on top level, and refuse to start the buildworld and buildkernel?

I suppose, although I think the two features here (build-id and ifunc) are "table stakes" for any linker to be a credible alternative to GNU ld (like mold). I imagine such a check would mainly serve as a small hurdle (e.g. Error: unknown linker mold) when trying a new linker.