git: ea2d34436286 - stable/14 - native-xtools: use static LLVM libraries
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 Feb 2026 15:44:33 UTC
The branch stable/14 has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=ea2d344362867b22a1a13b2af984570d93a49687
commit ea2d344362867b22a1a13b2af984570d93a49687
Author: Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2026-01-26 14:58:55 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2026-02-02 15:43:13 +0000
native-xtools: use static LLVM libraries
Set the MK_LLVM_LINK_STATIC_LIBRARIES knob to "yes" when building the
native-xtools target. This reverts to the behaviour prior to
2e47f35be5dc.
This avoids a build failure that occurs otherwise, where compilation
fails looking for a libllvmprivate.so that was not built.
It is unclear if this addresses the issue in all instances---some
replies in the PRs indicate otherwise. Still, some report success, and
in my own testing this fixed creation of a cross-compiled poudriere
jail. Commit this while we continue to investigate...
PR: 286710, 291409
Tested by: marck, rdunkle@smallcatbrain.com
Reviewed by: emaste
MFC after: 3 days
Fixes: 2e47f35be5dc ("Convert libllvm, libclang and liblldb into private shared libraries").
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54815
(cherry picked from commit 38e5564ecef53064c984d086a040c01100023f40)
---
Makefile.inc1 | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.inc1 b/Makefile.inc1
index f4396b839e9a..87e67925698e 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -3008,6 +3008,7 @@ NXBMAKEARGS+= \
MK_DEBUG_FILES=no \
MK_HTML=no \
MK_LLDB=no \
+ MK_LLVM_LINK_STATIC_LIBRARIES=yes \
MK_MAN=no \
MK_MAN_UTILS=yes \
MK_OFED=no \