freebsd-dev/share/mk
Ed Maste 1bf8f95706 Enable lld as the system linker by default on amd64
The migration to LLVM's lld linker has been in progress for quite some
time - about three years ago I opened an upstream LLVM meta-bug to track
issues using lld as FreeBSD's linker, and about 1.5 years ago requested
the first exp-run with lld as the system linker.

As of r327783 we enabled LLD_BOOTSTRAP by default on amd64, using lld as
the linker to link the kernel and world, but GNU ld was still installed
as /usr/bin/ld.

The vast majority of issues observed when building ports with lld as the
system linker have now been solved, so set LLD_IS_LD by default on amd64
and install lld as /usr/bin/ld.  A small number of port failures remain
and these will be addressed in the near future.

Thanks to antoine@ for handling the exp-runs, krion@ for investigating
many port failures and adding LLD_UNSAFE or other fixes or workarounds,
and everyone who helped investigate, fix or tag ports.

PR:		214864 (exp-run)
Sponsored by:	The FreeBSD Foundation
2018-05-30 18:04:25 +00:00
..
atf.test.mk tests: require ksh93 in the Kyuafiles for all atf-ksh93 test programs 2018-02-24 15:13:20 +00:00
auto.obj.mk Ensure .OBJDIR has known value 2017-11-04 21:02:26 +00:00
bsd.arch.inc.mk
bsd.clang-analyze.mk Add some missed OBJS_SRCS_FILTER from r323637. 2017-11-10 08:00:09 +00:00
bsd.compiler.mk Recognize the base/gcc compiler as GCC. 2018-05-09 15:20:39 +00:00
bsd.confs.mk
bsd.cpu.mk Set correct float abi (float abi double) for hard-float build, so 2018-04-18 13:58:42 +00:00
bsd.crunchgen.mk rescue: Restore 'make depend' call to fix WITH_META_MODE after r334008. 2018-05-24 18:49:19 +00:00
bsd.dep.mk Created static libc PIC/no-SSP library to be used by rtld. 2018-05-09 10:28:24 +00:00
bsd.doc.mk
bsd.dtb.mk Use known SRCTOP if possible to determine SYSDIR. 2018-04-12 20:48:17 +00:00
bsd.endian.mk
bsd.files.mk Enable directory creation with FILESDIR. 2018-05-09 13:44:54 +00:00
bsd.incs.mk Reapply r295227: Stop hiding link install commands. 2017-11-06 19:33:50 +00:00
bsd.info.mk
bsd.init.mk Handle some .OBJDIR == .CURDIR cases. 2017-11-10 02:09:33 +00:00
bsd.kmod.mk Use known SRCTOP if possible to determine SYSDIR. 2018-04-12 20:48:17 +00:00
bsd.lib.mk Created static libc PIC/no-SSP library to be used by rtld. 2018-05-09 10:28:24 +00:00
bsd.libnames.mk Fix stale dependencies on libcasper libraries. 2018-05-15 23:46:49 +00:00
bsd.linker.mk Error out on attempt to link amd64 kernel with old binutils linker 2018-05-10 20:10:02 +00:00
bsd.links.mk Reapply r295227: Stop hiding link install commands. 2017-11-06 19:33:50 +00:00
bsd.man.mk
bsd.mkopt.mk
bsd.nls.mk
bsd.obj.mk AUTO_OBJ: Don't create nested OBJDIRS with print-dir or make -n. 2017-12-06 21:00:41 +00:00
bsd.opts.mk Add MK_MAKE_CHECK_WITH_COVERAGE, reliant on MK_COVERAGE and MK_MAKE_CHECK_USE_SANDBOX 2017-10-31 06:16:40 +00:00
bsd.own.mk Enable directory creation with FILESDIR. 2018-05-09 13:44:54 +00:00
bsd.port.mk
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.prog.mk Remove accidentally committed debug statement that induced the following 2018-05-05 18:39:54 +00:00
bsd.progs.mk Add some missed OBJS_SRCS_FILTER from r323637. 2017-11-10 08:00:09 +00:00
bsd.README Created static libc PIC/no-SSP library to be used by rtld. 2018-05-09 10:28:24 +00:00
bsd.snmpmod.mk
bsd.subdir.mk Remove build system support for lint. 2017-11-17 18:16:46 +00:00
bsd.suffixes-posix.mk
bsd.suffixes.mk Remove build system support for lint. 2017-11-17 18:16:46 +00:00
bsd.symver.mk
bsd.sys.mk Revert r334081 (-Wmain) as it broke the build on gcc architectures 2018-05-23 21:26:33 +00:00
bsd.test.mk Sort the tests alphabetically before adding them to the Kyuafiles 2017-07-17 18:20:54 +00:00
dirdeps.mk Fix typo in comment. 2017-03-07 01:42:30 +00:00
gendirdeps.mk
host-target.mk
install-new.mk
local.autodep.mk
local.dirdeps.mk DIRDEPS_BUILD: Cleanup leftover WORLDTMP files. 2017-11-02 20:45:04 +00:00
local.gendirdeps.mk DIRDEPS_BUILD: libgcc now depends on MK_LLVM_LIBUNWIND 2017-10-31 00:03:36 +00:00
local.init.mk
local.meta.sys.mk Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR. 2017-11-01 21:22:05 +00:00
local.sys.env.mk AUTO_OBJ: Hide 'creating dirs' output with 'make -s'. 2017-11-08 16:03:58 +00:00
local.sys.mk Follow-up r320061: Need to respect make.conf/env LIBDIR overrides. 2017-06-19 18:08:02 +00:00
Makefile Add bsd.cov.mk 2017-07-31 08:02:25 +00:00
meta2deps.py Fix syntax error in parse_path after r316952. 2017-05-08 20:44:21 +00:00
meta2deps.sh
meta.autodep.mk Created static libc PIC/no-SSP library to be used by rtld. 2018-05-09 10:28:24 +00:00
meta.stage.mk Update dirdeps/meta bits from latest bmake. 2017-03-06 23:13:25 +00:00
meta.subdir.mk
meta.sys.mk
netbsd-tests.test.mk
plain.test.mk
src.init.mk
src.libnames.mk MFV r333789: libpcap 1.9.0 (pre-release) 2018-05-28 08:12:18 +00:00
src.opts.mk Enable lld as the system linker by default on amd64 2018-05-30 18:04:25 +00:00
src.sys.env.mk Ignore MAKEOBJDIRPREFIX from src-env.conf in sub-makes. 2018-03-03 23:23:01 +00:00
src.sys.mk Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds. 2017-11-02 18:09:07 +00:00
src.sys.obj.mk Fix installation with read-only OBJDIR. 2018-02-24 01:33:17 +00:00
stage-install.sh
suite.test.mk MFhead@r325422 2017-11-05 04:08:00 +00:00
sys.dependfile.mk
sys.mk Allow overriding .MAKE.MAKEFILE_PREFERENCE. 2018-02-28 20:06:03 +00:00
tap.test.mk
version_gen.awk share and pc-sysinstall: adoption of SPDX licensing ID tags. 2017-11-27 15:28:26 +00:00