[Bug 245973] [12.1R] Unbuildable on -current
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 27 17:17:18 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245973
--- Comment #2 from Warner Losh <imp at 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.
More information about the freebsd-bugs
mailing list