Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jan 2022 15:40:15 +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-PmFeD6prd3@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 #11 from Ed Maste <emaste@freebsd.org> ---
Testing this patch:

commit f8cb4720bfc67eeb033585d85a6323902ece7d1e (HEAD -> PR260993,
github/PR260993)
Author: Ed Maste <emaste@FreeBSD.org>
Date:   Fri Jan 7 10:34:08 2022 -0500

    Build libclang if LLDB is enabled

    LLDB depends on libclang as it uses Clang as the expression parser.
    Previously setting WITHOUT_CLANG but leaving LLDB enabled resulted in
    a build failure.  Users who set WITHOUT_CLANG to reduce build time or
    size may want to set WITHOUT_LLDB as well, or use WITHOUT_TOOLCHAIN
    instead.

    PR:             260993

diff --git a/lib/clang/Makefile b/lib/clang/Makefile
index df4aa01a2653..cbb2c2a7175f 100644
--- a/lib/clang/Makefile
+++ b/lib/clang/Makefile
@@ -4,7 +4,7 @@

 # These have to be built in order.
 SUBDIR=3D                libllvm
-.if ${MK_CLANG} !=3D "no"
+.if ${MK_CLANG} !=3D "no" || ${MK_LLDB} !=3D "no"
 SUBDIR+=3D       libclang
 SUBDIR+=3D       headers
 .endif

--=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-PmFeD6prd3>