[Bug 223551] for external toolchain support, X prefix is not setting build utils for make buildworld
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 9 19:45:46 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223551
--- Comment #5 from sid at bsdmail.com ---
(In reply to Mark Millard from comment #4)
Target and host environment are both amd64.
Thanks for your help. Not necessarily one person has to respond, anyone can
respond. I can also keep tinkering with it.
It seems that the X prefix should be used exclusively for base system (and
kernel), because most ports build with AS, AR, LD, NM, OBJECTDUMP, RANLIB, and
STRINGS set to llvm from ports.
AS= /usr/local/bin/llvm-as50
AR= /usr/local/bin/llvm-ar50
LD= /usr/local/bin/lld-link50 # /usr/local/llvm50/bin/ld.lld
NM= /usr/local/bin/llvm-nm50
OBJECTDUMP=/usr/local/bin/llvm-objdump50
RANLIB= /usr/local/bin/llvm-ranlib50
STRINGS= /usr/local/bin/llvm-strings50
....
XLD= /usr/local/llvm50/bin/ld.lld
I will switch over to llvm40 than llvm50, because it is more widely used. Both
have behaved similarly with these settings.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list