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/>

index | next in thread | previous in thread | raw e-mail

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

--- 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=        /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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223551-29464-cTe8VRAYWv>