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
F155007342: D16528.diff
Thu, Apr 30, 3:42 PM
F154967213: D16528.id.diff
Thu, Apr 30, 9:06 AM
Unknown Object (File)
Mon, Apr 20, 10:03 AM
Unknown Object (File)
Mon, Apr 20, 9:42 AM
Unknown Object (File)
Sun, Apr 19, 12:30 PM
Unknown Object (File)
Fri, Apr 17, 3:36 PM
Unknown Object (File)
Fri, Apr 17, 10:36 AM
Unknown Object (File)
Wed, Apr 8, 7:04 AM

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.