Page MenuHomeFreeBSD

Use lld as the bootstrap linker on armv7 by default
ClosedPublic

Authored by emaste on Jul 31 2018, 3:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 18 2025, 12:39 PM
Unknown Object (File)
Aug 6 2025, 9:48 PM
Unknown Object (File)
Jul 22 2025, 7:58 AM
Unknown Object (File)
Jul 7 2025, 2:06 AM
Unknown Object (File)
Jul 4 2025, 9:19 AM
Unknown Object (File)
Jun 23 2025, 1:23 PM
Unknown Object (File)
Jun 18 2025, 3:35 AM
Unknown Object (File)
Jun 11 2025, 7:49 PM

Details

Summary

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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
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.