Cannot build Clang etc. on Windows in Debug Mode

You'll need to merge https://reviews.llvm.org/D80433 or based on comments in https://bugs.llvm.org/show_bug.cgi?id=41367 it looks like the fix will be part of an upcoming clang 10 release.

Sorry for the late Reply.
It turned out that (at least for the Debug Builds) I also need to "set
CL=/bigobj" - which is not mentioned anywhere.

For now I am able to build Clang in Debug Mode.

Thanks everyone. Stay safe and have a nice Summer - or a not too cold
Winter :slight_smile:
Olli

It turned out that (at least for the Debug Builds) I also need to "set
CL=/bigobj" - which is not mentioned anywhere.

For now I am able to build Clang in Debug Mode.

Thanks everyone. Stay safe and have a nice Summer - or a not too cold
Winter :slight_smile:
Olli

In the past, there have been only a few modules that needed /bigobj,
and they're all in unittests IIRC. If you are running into other
modules that now need it, an upstream patch that sets /bigobj for
just those modules would be very welcome. Search the CMakeLists.txt
files for /bigobj to find examples of how to do this.
--paulr