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
Unknown Object (File)
Sun, Mar 22, 7:48 AM
Unknown Object (File)
Sun, Mar 22, 7:48 AM
Unknown Object (File)
Sun, Mar 22, 2:31 AM
Unknown Object (File)
Fri, Mar 20, 8:15 PM
Unknown Object (File)
Fri, Mar 20, 4:36 AM
Unknown Object (File)
Fri, Mar 20, 12:29 AM
Unknown Object (File)
Sun, Mar 15, 11:34 AM
Unknown Object (File)
Fri, Mar 13, 9:25 PM
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.