Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jan 2022 19:54:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 260993] lib/clang/liblldb: stable/12 fails to build: DiagnosticIDs.h:71:10: fatal error: 'clang/ Basic/DiagnosticCommonKinds.inc' file not found
Message-ID:  <bug-260993-29464-Y9E2jq9Rxd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260993-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260993-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260993

--- Comment #13 from Ed Maste <emaste@freebsd.org> ---
(In reply to Ed Maste from comment #11)
Need this additional patch:

diff --git a/Makefile.inc1 b/Makefile.inc1
index 2cc00beed80d..b31c1d09fbeb 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2343,7 +2343,8 @@ _gensnmptree=3D     usr.sbin/bsnmpd/gensnmptree
 _clang_tblgen=3D \
        lib/clang/libllvmminimal \
        usr.bin/clang/llvm-tblgen
-.if ${MK_CLANG_BOOTSTRAP} !=3D "no" || ${MK_CLANG} !=3D "no"
+.if ${MK_CLANG_BOOTSTRAP} !=3D "no" || ${MK_CLANG} !=3D "no" || \
+    ${MK_LLDB} !=3D "no"
 _clang_tblgen+=3D        usr.bin/clang/clang-tblgen
 .endif
 .if ${MK_LLDB} !=3D "no"

With this and the patch in comment #9 WITHOUT_CLANG WITH_LLDB builds for me=
 in
Cirrus-CI

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260993-29464-Y9E2jq9Rxd>