Page MenuHomeFreeBSD

Set MK_LLD_IS_LD to MK_LLD_BOOTSTRAP for cross-tools
ClosedPublic

Authored by emaste on Aug 18 2017, 2:32 PM.
Tags
None
Referenced Files
F174141514: D12072.id32334.diff
Wed, Sep 30, 9:25 PM
F174140501: D12072.id32202.diff
Wed, Sep 30, 9:13 PM
F174116177: D12072.diff
Wed, Sep 30, 5:55 PM
Unknown Object (File)
Tue, Sep 15, 9:47 PM
Unknown Object (File)
Tue, Sep 15, 8:47 PM
Unknown Object (File)
Tue, Sep 15, 8:44 PM
Unknown Object (File)
Fri, Sep 4, 9:23 AM
Unknown Object (File)
Aug 30 2026, 10:34 PM

Details

Summary

LLD_BOOTSTRAP is intended to control the linker used to link world and kernel, while LLD_IS_LD is intended to control the linker installed in that world.

Force LLD_IS_LD equal to LLD_BOOTSTRAP for the cross-tools build, so that lld will be installed as the host-tools ld when LLD_BOOTSTRAP is set.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

LGTM, though I wonder why we use a different approach for the MK_CLANG_IS_CC / MK_CLANG_BOOTSTRAP pair...

This revision is now accepted and ready to land.Aug 18 2017, 2:38 PM

I wonder why we use a different approach for the MK_CLANG_IS_CC / MK_CLANG_BOOTSTRAP pair...

I couldn't find where that's handled; I'm happy to use the same approach if you can point it out.

This revision was automatically updated to reflect the committed changes.