Page MenuHomeFreeBSD

build: Stop testing LINKER_FEATURES for ifunc and build-
ClosedPublic

Authored by emaste on Thu, Mar 5, 7:10 PM.
Tags
None
Referenced Files
F147816047: D55676.diff
Fri, Mar 13, 9:25 PM
Unknown Object (File)
Thu, Mar 12, 11:30 AM
Unknown Object (File)
Wed, Mar 11, 12:35 PM
Unknown Object (File)
Wed, Mar 11, 9:05 AM
Unknown Object (File)
Wed, Mar 11, 6:26 AM
Unknown Object (File)
Tue, Mar 10, 10:30 PM
Unknown Object (File)
Mon, Mar 9, 4:38 PM
Unknown Object (File)
Fri, Mar 6, 10:01 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.Thu, Mar 5, 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.