Page MenuHomeFreeBSD

Use lld as the bootstrap linker on armv7 by default

Authored by emaste on Jul 31 2018, 3:39 PM.



As of rS336972 lld is capable linking the armv7 kernel and userland, so enable it by default.

PR: 229050
Sponsored by: The FreeBSD Foundation

Diff Detail

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Is there some magic that should be included here (or should've been included with the cherry-picked bits) to force a bootstrap LLD to be built?

I hadn't upgraded my host yet with the cherry-picked commits from this morning and thus had to force WITHOUT_SYSTEM_LINKER for the VFP flag bits. The build hasn't finished running, so I can't say conclusively that that was the only problem, but it certainly wouldn't have helped. =)

force a bootstrap LLD to be built?

On commit when we bump the FreeBSD version number reported in ld.lld -v it should DTRT, but for testing I just did a rm -rf of the arm.armv7 obj tree.

Tested with: Banana Pi M3 (a83t)

This revision is now accepted and ready to land.Aug 1 2018, 6:58 PM
This revision was automatically updated to reflect the committed changes.