Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2020 17:17:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 245973] [12.1R] Unbuildable on -current
Message-ID:  <bug-245973-227-MPZtJZvtVC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245973-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-245973-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245973

--- Comment #2 from Warner Losh <imp@FreeBSD.org> ---
This is caused by MK_CLANG defaulting to 'no'. I'm not 100% sure why that's the
case. So, when MK_LLVM_BOOTSTRAP=yes (which is the default) we wind up in
lib/clang/libllvm with none of the list MK options enabled because we only
enable them when MK_CLANG=yes. This is an unfortunate coupling between CLANG
and LLDB, coupled with, I think, smarts to not build clang needlessly. This was
fixed in -current in r355588 and MFC'd in r356696, but 12.0R is forever
immutable. The root cause of why MK_CLANG winds up being no I've not
investigated very deeply.

The workaround is relatively simple. Add MK_CLANG=yes on the command line for
make buildworld. It's unfortunate, but cannot be helped if you want to build
12.1R on -current.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245973-227-MPZtJZvtVC>