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

Warner Losh <i...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |i...@freebsd.org

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

LD=x 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=xxx does or doesn't do. I think 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= or CC= that in make.conf,
and that's causing issues.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to