Date: Fri, 30 Jan 2026 16:59:13 +0000 From: Mitchell Horne <mhorne@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 78274fd36e3f - stable/15 - native-xtools: use static LLVM libraries Message-ID: <697ce361.3ea33.11adc098@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=78274fd36e3f0521a9c84e335d7d4f2f86cb97cc commit 78274fd36e3f0521a9c84e335d7d4f2f86cb97cc Author: Mitchell Horne <mhorne@FreeBSD.org> AuthorDate: 2026-01-26 14:58:55 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2026-01-30 16:59:00 +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 4315794e5e10..7282bb34de2e 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -3142,6 +3142,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 \home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?697ce361.3ea33.11adc098>
