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

--- Comment #3 from s...@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 twice
(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 perhaps
it's binutils' replacements were more developed.


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

WITH_LLD_BOOTSTRAP=yes
WITH_LLD_IS_LD=yes
WITH_LLVM_LIBUNWIND=yes

WITHOUT_CROSS_COMPILER=yes
WITHOUT_GCC=yes
WITHOUT_GCC_BOOTSTRAP=yes
WITHOUT_GDB=yes
WITHOUT_GPL_DTC=yes
WITHOUT_GNU=yes
WITHOUT_GNUCXX=yes
WITHOUT_GNU_SUPPORT=yes
WITH_LLVM_LIBUNWIND=yes

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to