Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Nov 2017 19:20:13 +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-LL7VuSFnTN@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 #3 from sid@bsdmail.com ---
(In reply to Mark Millard from comment #2)
You're saying the X prefix doesn't replace buildworld compilers and utils in
make.conf settings, it supplements them. If this is the case, perhaps this =
is
an  incorrect bug report.

My intent was to replace binutils with either elfutils or llvm's utils. It =
was
in part for purposes of not having to build/install utils and compilers twi=
ce
(from the base system, then again from ports), and for modularity and
efficiency of utils and compilers. As far as I'm aware, all of binutil's
replacements are not completed. Down the road it will be better for testing=
, if
there is a false sense that the package/ports compiler and utils are used, =
when
base components are used.

llvm40 and llvm50 work much the same. I used llvm50, because I thought perh=
aps
it's binutils' replacements were more developed.


Here's a sample of my src.conf to use clang/llvm from packages.
#WITHOUT_TOOLCHAIN=3Dyes #binutils is needed
WITH_BINUTILS=3Dyes
WITH_BINUTILS_BOOTSTRAP=3Dyes
WITHOUT_CLANG=3Dyes
WITHOUT_CLANG_BOOTSTRAP=3Dyes
WITHOUT_CPP=3Dyes # uncertain about
WITHOUT_CXX=3Dyes # needed for devd, gperf and c++ libraries # will use llv=
m40/50
WITH_LLVM_LIBUNWIND=3Dyes

WITH_LLD_BOOTSTRAP=3Dyes
WITH_LLD_IS_LD=3Dyes
WITH_LLVM_LIBUNWIND=3Dyes

WITHOUT_CROSS_COMPILER=3Dyes
WITHOUT_GCC=3Dyes
WITHOUT_GCC_BOOTSTRAP=3Dyes
WITHOUT_GDB=3Dyes
WITHOUT_GPL_DTC=3Dyes
WITHOUT_GNU=3Dyes
WITHOUT_GNUCXX=3Dyes
WITHOUT_GNU_SUPPORT=3Dyes
WITH_LLVM_LIBUNWIND=3Dyes

With your information, I will adjust my src.conf and make.conf and see if t=
hat
works for the linker and utils. Thank you.

--=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-LL7VuSFnTN>