Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Dec 2019 16:18:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 241003] make buildworld ignores make.conf LD parameter
Message-ID:  <bug-241003-227-9qPPWklN0O@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241003-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-241003-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=3D241003

Warner Losh <imp@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |imp@FreeBSD.org

--- Comment #7 from Warner Losh <imp@FreeBSD.org> ---
I think there's some confusion here.

LD=3Dx is used only by our build system when it needs to directly invoke the
linker. This is actually fairly rare in the sources as normally the compiler
invokes a linker on our behalf. It's a fairly specialized setting and a bit
weird to try to set, which suggests to me that this issue may be an attempt=
 to
fix another issue that didn't work.

However, I think the problem isn't what LD=3Dxxx does or doesn't do. I thin=
k the
real problem is with external toolchain support. The compiler invoked in
clang++80, but /usr/local/bin/clang++80, which is being used inside of
buildworld, but it's not finding ld for some reason. Most likely because it=
's
not in the path of the build environment. clang doesn't get it's notion of =
what
ld to use from there, and it isn't finding it for some reason.

So, we need to get to the bottom of that reason. And we can't do that with =
the
tiny snippet of the logs posted to this bug.

So a bigger picture question: Why are you using /usr/local/bin/clang++80 to
buildworld? Let's start there. Maybe there's a CXX=3D or CC=3D that in make=
.conf,
and that's causing issues.

--=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-241003-227-9qPPWklN0O>