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)
Mon, Mar 18, 10:34 PM
Unknown Object (File)
Jan 7 2024, 8:58 AM
Unknown Object (File)
Dec 24 2023, 1:35 AM
Unknown Object (File)
Dec 24 2023, 1:35 AM
Unknown Object (File)
Dec 24 2023, 1:35 AM
Unknown Object (File)
Dec 24 2023, 1:23 AM
Unknown Object (File)
Dec 20 2023, 2:21 AM
Unknown Object (File)
Dec 13 2023, 2:56 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.