Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Nov 2017 19:45:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-toolchain@FreeBSD.org
Subject:   [Bug 223551] for external toolchain support, X prefix is not setting build utils for make buildworld
Message-ID:  <bug-223551-29464-cTe8VRAYWv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223551-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223551-29464@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=3D223551

--- Comment #5 from sid@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=3D        /usr/local/bin/llvm-as50
 AR=3D        /usr/local/bin/llvm-ar50
 LD=3D        /usr/local/bin/lld-link50 # /usr/local/llvm50/bin/ld.lld
 NM=3D        /usr/local/bin/llvm-nm50
 OBJECTDUMP=3D/usr/local/bin/llvm-objdump50
 RANLIB=3D    /usr/local/bin/llvm-ranlib50
 STRINGS=3D   /usr/local/bin/llvm-strings50
....
 XLD=3D       /usr/local/llvm50/bin/ld.lld


I will switch over to llvm40 than llvm50, because it is more widely used. B=
oth
have behaved similarly with these settings.

--=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-223551-29464-cTe8VRAYWv>