[Bug 240717] Building kernel fails when using linker from llvm ports
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Sep 23 22:39:23 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240717
sid at bsdmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|Affects Some People |Affects Only Me
--- Comment #2 from sid at bsdmail.com ---
Thank you.
I meant that at different times, that the compiler and linker from llvm70 and
llvm80 from ports operated the same way.
LD and LINKER_TYPE had to both be set to the same linker in make.conf for it to
start compiling the kernel, but it didn't work for compiling the world. This
was after removing the ld link.
When I used devel/xtoolchain-llvm* in the past, it gave an instruction to use
an X prefix in from of CC, CXX, CPP and LD to XCC, XCXX ... I believe that's
all it does. The X prefix is an override for the ports tree.
It seems that the error messages for the linker should be observed in stable,
current and the later linker versions from ports. It may not be necessary for
in 12.0, except for llvm90 for consistency in future versions.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list