diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2026-03-04 15:06:26 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2026-03-20 19:00:41 +0000 |
| commit | e296211fd59b6e4e0df38281a6d587b7d025f011 (patch) | |
| tree | 6540120724573ee4793e94dfdc4394781e0b1cf9 | |
| parent | 1fd43ee968c497223254038483685d9f9c68791b (diff) | |
Makefile.inc1: Don't force LLVM_BINUTILS off for cross-tools
Because of this setting we were still using ELF Tool Chain tools for
buildworld. The sets of binary utilities are largely equivalent and
this went unnoticed after commit 1cae7121c667 ("Enable LLVM_BINUTILS
by default").
This was discovered recently because ELF Tool Chain objcopy produces
standalone debug files without phdrs and this caused an issue with a
3rd party ELF parser [1]. Remove the forced setting so that we use
LLVM's binutils to build the system.
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=33876
Re-commit after fixing a bootstrapping issue with LLVM binutils (in
17494c6e6b7d "build: Boostrap LLVM_BINUTILS for cross-tools").
Reviewed by: imp, jhb
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55650
| -rw-r--r-- | Makefile.inc1 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 16cd9b695109..6c126f01973f 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -814,7 +814,6 @@ XMAKE= ${BMAKE} \ TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ MK_CLANG=${MK_CLANG_BOOTSTRAP} \ MK_LLDB=no \ - MK_LLVM_BINUTILS=no \ MK_TESTS=no # kernel-tools stage |
