freebsd-dev/tools/build
Alex Richardson 021385aba5 Add WITH_LLVM_BINUTILS to install LLVM binutils instead of Elftoolchain
When WITH_LLVM_BINUTILS is set, we will install the LLVM binutils as
ar/ranlib/nm/objcopy/etc. instead of the elftoolchain ones.
Having the LLVM binutils instead of the elftoolchain ones allows us to use
features such as LTO that depend on binutils that understand LLVM IR.
Another benefit will be an improved user-experience when compiling with
AddressSanitizer, since ASAN does not symbolize backtraces correctly if
addr2line is elftoolchain addr2line instead of llvm-symbolizer.
See https://lists.freebsd.org/archives/freebsd-toolchain/2021-July/000062.html
for more details.

This is currently off by default but will be turned on by default at some
point in the near future.

Reviewed By:	emaste

Differential Revision: https://reviews.freebsd.org/D31060
2021-09-06 09:49:49 +01:00
..
bootstrap-m4 tools/build/bootstrap-m4: regenerate after d37f81e35b 2021-04-21 10:57:51 +01:00
cross-build tools/build/cross-build: Fix building libllvmminimal on Linux 2021-08-12 23:50:48 +01:00
libc-bootstrap Fix crossbuild bootstrap tools build with Clang 12 2021-02-17 09:54:59 +00:00
make_check
mk Remove manpages from OLD_FILES 2021-07-22 08:09:45 +02:00
options Add WITH_LLVM_BINUTILS to install LLVM binutils instead of Elftoolchain 2021-09-06 09:49:49 +01:00
beinstall.sh beinstall.sh: Use bectl instead of beadm by default 2020-10-30 09:40:55 +00:00
check-links.sh
depend-cleanup.sh libspl: fix NO_CLEAN build 2021-06-08 17:56:15 -06:00
dummy.c
fcntl.h truncate(1): Fix cross-build CI failure due to missing fspacectl 2021-08-24 17:08:28 +08:00
fspacectl.c Silence unused parameter warnings in fspacectl(2) bootstrap stub 2021-08-28 15:37:43 +02:00
futimens.c build: Add legacy support for futimens() and utimensat(). 2016-06-09 21:57:34 +00:00
make.py Allow bootstrapping llvm-tblgen on macOS and Linux 2021-08-02 14:36:03 +01:00
Makefile Support bootstrapping from Linux/ppc* 2021-09-04 11:47:30 -05:00
Makefile.depend
stat.h build: Add legacy support for futimens() and utimensat(). 2016-06-09 21:57:34 +00:00
stdlib.h
strings.h Fix buildworld on FreeBSD 10 2018-07-16 11:03:05 +00:00
utimensat.c build: Add legacy support for futimens() and utimensat(). 2016-06-09 21:57:34 +00:00