Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2019 09:41:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 240716] LD in make.conf is not setting linker
Message-ID:  <bug-240716-227-eQ1AvZsKqZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240716-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240716-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240716

--- Comment #6 from sid@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 stopp=
ed
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 t=
he
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, an=
d it
should.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240716-227-eQ1AvZsKqZ>