[Bug 240716] LD in make.conf is not setting linker

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 23 09:41:47 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240716

--- Comment #6 from sid at bsdmail.com ---
In a previous 11 release, LD did set the linker for base, kernel and ports.
Then in another 11 release, and in 12.0, the LD argument in make.conf stopped
working.

Linking manually allowed all linkers to build ports and the world. Binutil's
linker can build everything.

In my last post, I left out that CC, CXX and CPP also builds ports, as well as
world and kernel. XCC, XCXX and XCPP override for ports only.

When a port requires a linker, it usually pulls in binutil's linker. LLVM60 and
LLVM80 get pulled in as a requirement for some ports, possibly because of the
linker, which is not independent of the package.

These details about LD and LLVM's linkers need to be documented, or at least
addressed in 12.1, stable or current. LD was intended to set the linker, and it
should.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list