[cfe-users] Cannot build Clang etc. on Windows in Debug Mode

Oliver Niebuhr via cfe-users cfe-users at lists.llvm.org
Mon Jul 6 07:28:07 PDT 2020


Hello List.

I hope I have subscribed to the correct List - there are a lot of them :)

My Problem is:
Since the last 2.5 Weeks I try to compile Clang Release/10.x in Debug
Mode. Unfortunately the build always ends with those last Lines:

"[1960/5008]
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe
  /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GNU_SOURCE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\include -Itools\clang\include
-Iinclude -IC:\Dev\GitRepos\llvm-project\llvm\include /DWIN32 /D_WINDOWS
  /Zc:inline /Zc:strictStrings /Oi /Zc:rvalueCast /W4 -wd4141 -wd4146
-wd4244 -wd4267 -wd4291 -wd4345 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459
-wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510
-wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805
-wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd4324 -w14062 -we4238
/MDd /Zi /Ob0 /Od /RTC1  /EHsc /GR -std:c++14 /showIncludes
/Fotools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\ClangSACheckersEmitter.cpp.obj
/Fdtools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\ /FS -c
C:\Dev\GitRepos\llvm-project\clang\utils\TableGen\ClangSACheckersEmitter.cpp
[1961/5008]
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe
  /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GNU_SOURCE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\include -Itools\clang\include
-Iinclude -IC:\Dev\GitRepos\llvm-project\llvm\include /DWIN32 /D_WINDOWS
  /Zc:inline /Zc:strictStrings /Oi /Zc:rvalueCast /W4 -wd4141 -wd4146
-wd4244 -wd4267 -wd4291 -wd4345 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459
-wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510
-wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805
-wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd4324 -w14062 -we4238
/MDd /Zi /Ob0 /Od /RTC1  /EHsc /GR -std:c++14 /showIncludes
/Fotools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\ClangOpcodesEmitter.cpp.obj
/Fdtools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\ /FS -c
C:\Dev\GitRepos\llvm-project\clang\utils\TableGen\ClangOpcodesEmitter.cpp
[1962/5008]
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe
  /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GNU_SOURCE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\include -Itools\clang\include
-Iinclude -IC:\Dev\GitRepos\llvm-project\llvm\include /DWIN32 /D_WINDOWS
  /Zc:inline /Zc:strictStrings /Oi /Zc:rvalueCast /W4 -wd4141 -wd4146
-wd4244 -wd4267 -wd4291 -wd4345 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459
-wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510
-wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805
-wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd4324 -w14062 -we4238
/MDd /Zi /Ob0 /Od /RTC1  /EHsc /GR -std:c++14 /showIncludes
/Fotools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\ClangTypeNodesEmitter.cpp.obj
/Fdtools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\ /FS -c
C:\Dev\GitRepos\llvm-project\clang\utils\TableGen\ClangTypeNodesEmitter.cpp
[1963/5008]
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe
  /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GNU_SOURCE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\include -Itools\clang\include
-Iinclude -IC:\Dev\GitRepos\llvm-project\llvm\include /DWIN32 /D_WINDOWS
  /Zc:inline /Zc:strictStrings /Oi /Zc:rvalueCast /W4 -wd4141 -wd4146
-wd4244 -wd4267 -wd4291 -wd4345 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459
-wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510
-wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805
-wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd4324 -w14062 -we4238
/MDd /Zi /Ob0 /Od /RTC1  /EHsc /GR -std:c++14 /showIncludes
/Fotools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\ClangOpenCLBuiltinEmitter.cpp.obj
/Fdtools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\ /FS -c
C:\Dev\GitRepos\llvm-project\clang\utils\TableGen\ClangOpenCLBuiltinEmitter.cpp
[1964/5008]
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe
  /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GNU_SOURCE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\include -Itools\clang\include
-Iinclude -IC:\Dev\GitRepos\llvm-project\llvm\include /DWIN32 /D_WINDOWS
  /Zc:inline /Zc:strictStrings /Oi /Zc:rvalueCast /W4 -wd4141 -wd4146
-wd4244 -wd4267 -wd4291 -wd4345 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459
-wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510
-wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805
-wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd4324 -w14062 -we4238
/MDd /Zi /Ob0 /Od /RTC1  /EHsc /GR -std:c++14 /showIncludes
/Fotools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\ClangOptionDocEmitter.cpp.obj
/Fdtools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\ /FS -c
C:\Dev\GitRepos\llvm-project\clang\utils\TableGen\ClangOptionDocEmitter.cpp
[1965/5008]
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe
  /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GNU_SOURCE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\include -Itools\clang\include
-Iinclude -IC:\Dev\GitRepos\llvm-project\llvm\include /DWIN32 /D_WINDOWS
  /Zc:inline /Zc:strictStrings /Oi /Zc:rvalueCast /W4 -wd4141 -wd4146
-wd4244 -wd4267 -wd4291 -wd4345 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459
-wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510
-wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805
-wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd4324 -w14062 -we4238
/MDd /Zi /Ob0 /Od /RTC1  /EHsc /GR -std:c++14 /showIncludes
/Fotools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\TableGen.cpp.obj
/Fdtools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\ /FS -c
C:\Dev\GitRepos\llvm-project\clang\utils\TableGen\TableGen.cpp
[1966/5008]
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe
  /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GNU_SOURCE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\include -Itools\clang\include
-Iinclude -IC:\Dev\GitRepos\llvm-project\llvm\include /DWIN32 /D_WINDOWS
  /Zc:inline /Zc:strictStrings /Oi /Zc:rvalueCast /W4 -wd4141 -wd4146
-wd4244 -wd4267 -wd4291 -wd4345 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459
-wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510
-wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805
-wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd4324 -w14062 -we4238
/MDd /Zi /Ob0 /Od /RTC1  /EHsc /GR -std:c++14 /showIncludes
/Fotools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\ClangDiagnosticsEmitter.cpp.obj
/Fdtools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\ /FS -c
C:\Dev\GitRepos\llvm-project\clang\utils\TableGen\ClangDiagnosticsEmitter.cpp
[1967/5008]
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe
  /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Ilib\Passes -IC:\Dev\GitRepos\llvm-project\llvm\lib\Passes -Iinclude
-IC:\Dev\GitRepos\llvm-project\llvm\include /DWIN32 /D_WINDOWS
/Zc:inline /Zc:strictStrings /Oi /Zc:rvalueCast /W4 -wd4141 -wd4146
-wd4244 -wd4267 -wd4291 -wd4345 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459
-wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510
-wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805
-wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd4324 -w14062 -we4238
/MDd /Zi /Ob0 /Od /RTC1  /EHsc /GR -std:c++14 /bigobj /showIncludes
/Folib\Passes\CMakeFiles\LLVMPasses.dir\PassBuilder.cpp.obj
/Fdlib\Passes\CMakeFiles\LLVMPasses.dir\LLVMPasses.pdb /FS -c
C:\Dev\GitRepos\llvm-project\llvm\lib\Passes\PassBuilder.cpp
[1968/5008]
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe
  /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GNU_SOURCE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\include -Itools\clang\include
-Iinclude -IC:\Dev\GitRepos\llvm-project\llvm\include /DWIN32 /D_WINDOWS
  /Zc:inline /Zc:strictStrings /Oi /Zc:rvalueCast /W4 -wd4141 -wd4146
-wd4244 -wd4267 -wd4291 -wd4345 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459
-wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510
-wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805
-wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd4324 -w14062 -we4238
/MDd /Zi /Ob0 /Od /RTC1  /EHsc /GR -std:c++14 /showIncludes
/Fotools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\NeonEmitter.cpp.obj
/Fdtools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\ /FS -c
C:\Dev\GitRepos\llvm-project\clang\utils\TableGen\NeonEmitter.cpp
[1969/5008]
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe
  /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GNU_SOURCE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\utils\TableGen
-IC:\Dev\GitRepos\llvm-project\clang\include -Itools\clang\include
-Iinclude -IC:\Dev\GitRepos\llvm-project\llvm\include /DWIN32 /D_WINDOWS
  /Zc:inline /Zc:strictStrings /Oi /Zc:rvalueCast /W4 -wd4141 -wd4146
-wd4244 -wd4267 -wd4291 -wd4345 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459
-wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510
-wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805
-wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd4324 -w14062 -we4238
/MDd /Zi /Ob0 /Od /RTC1  /EHsc /GR -std:c++14 /showIncludes
/Fotools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\MveEmitter.cpp.obj
/Fdtools\clang\utils\TableGen\CMakeFiles\clang-tblgen.dir\ /FS -c
C:\Dev\GitRepos\llvm-project\clang\utils\TableGen\MveEmitter.cpp
[1970/5008] cmd.exe /C "cd /D C:\Dev\LLVMx64Build &&
C:\Dev\LLVMx64Build\bin\llvm-tblgen.exe -gen-callingconv -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86 -I
C:/Dev/GitRepos/llvm-project/llvm/include -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86/X86.td
--write-if-changed -o lib/Target/X86/X86GenCallingConv.inc -d
lib/Target/X86/X86GenCallingConv.inc.d"
[1971/5008] cmd.exe /C "cd /D C:\Dev\LLVMx64Build &&
C:\Dev\LLVMx64Build\bin\llvm-tblgen.exe -gen-exegesis -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86 -I
C:/Dev/GitRepos/llvm-project/llvm/include -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86/X86.td
--write-if-changed -o lib/Target/X86/X86GenExegesis.inc -d
lib/Target/X86/X86GenExegesis.inc.d"
[1972/5008] cmd.exe /C "cd /D C:\Dev\LLVMx64Build &&
C:\Dev\LLVMx64Build\bin\llvm-tblgen.exe -gen-register-info -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86 -I
C:/Dev/GitRepos/llvm-project/llvm/include -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86/X86.td
--write-if-changed -o lib/Target/X86/X86GenRegisterInfo.inc -d
lib/Target/X86/X86GenRegisterInfo.inc.d"
[1973/5008] cmd.exe /C "cd /D C:\Dev\LLVMx64Build &&
C:\Dev\LLVMx64Build\bin\llvm-tblgen.exe -gen-register-bank -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86 -I
C:/Dev/GitRepos/llvm-project/llvm/include -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86/X86.td
--write-if-changed -o lib/Target/X86/X86GenRegisterBank.inc -d
lib/Target/X86/X86GenRegisterBank.inc.d"
[1974/5008] cmd.exe /C "cd /D C:\Dev\LLVMx64Build &&
C:\Dev\LLVMx64Build\bin\llvm-tblgen.exe -gen-x86-EVEX2VEX-tables -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86 -I
C:/Dev/GitRepos/llvm-project/llvm/include -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86/X86.td
--write-if-changed -o lib/Target/X86/X86GenEVEX2VEXTables.inc -d
lib/Target/X86/X86GenEVEX2VEXTables.inc.d"
[1975/5008] cmd.exe /C "cd /D C:\Dev\LLVMx64Build &&
C:\Dev\LLVMx64Build\bin\llvm-tblgen.exe -gen-disassembler -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86 -I
C:/Dev/GitRepos/llvm-project/llvm/include -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86/X86.td
--write-if-changed -o lib/Target/X86/X86GenDisassemblerTables.inc -d
lib/Target/X86/X86GenDisassemblerTables.inc.d"
[1976/5008] cmd.exe /C "cd /D C:\Dev\LLVMx64Build &&
C:\Dev\LLVMx64Build\bin\llvm-tblgen.exe -gen-asm-writer -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86 -I
C:/Dev/GitRepos/llvm-project/llvm/include -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86/X86.td
--write-if-changed -o lib/Target/X86/X86GenAsmWriter.inc -d
lib/Target/X86/X86GenAsmWriter.inc.d"
[1977/5008] cmd.exe /C "cd /D C:\Dev\LLVMx64Build &&
C:\Dev\LLVMx64Build\bin\llvm-tblgen.exe -gen-asm-writer -asmwriternum=1
-I C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86 -I
C:/Dev/GitRepos/llvm-project/llvm/include -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86/X86.td
--write-if-changed -o lib/Target/X86/X86GenAsmWriter1.inc -d
lib/Target/X86/X86GenAsmWriter1.inc.d"
[1978/5008] cmd.exe /C "cd /D C:\Dev\LLVMx64Build &&
C:\Dev\LLVMx64Build\bin\llvm-tblgen.exe -gen-asm-matcher -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86 -I
C:/Dev/GitRepos/llvm-project/llvm/include -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86/X86.td
--write-if-changed -o lib/Target/X86/X86GenAsmMatcher.inc -d
lib/Target/X86/X86GenAsmMatcher.inc.d"
[1979/5008] cmd.exe /C "cd /D C:\Dev\LLVMx64Build &&
C:\Dev\LLVMx64Build\bin\llvm-tblgen.exe -gen-subtarget -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86 -I
C:/Dev/GitRepos/llvm-project/llvm/include -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86/X86.td
--write-if-changed -o lib/Target/X86/X86GenSubtargetInfo.inc -d
lib/Target/X86/X86GenSubtargetInfo.inc.d"
[1980/5008] cmd.exe /C "cd /D C:\Dev\LLVMx64Build &&
C:\Dev\LLVMx64Build\bin\llvm-tblgen.exe -gen-fast-isel -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86 -I
C:/Dev/GitRepos/llvm-project/llvm/include -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86/X86.td
--write-if-changed -o lib/Target/X86/X86GenFastISel.inc -d
lib/Target/X86/X86GenFastISel.inc.d"
[1981/5008] cmd.exe /C "cd /D C:\Dev\LLVMx64Build &&
C:\Dev\LLVMx64Build\bin\llvm-tblgen.exe -gen-global-isel -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86 -I
C:/Dev/GitRepos/llvm-project/llvm/include -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86/X86.td
--write-if-changed -o lib/Target/X86/X86GenGlobalISel.inc -d
lib/Target/X86/X86GenGlobalISel.inc.d"
[1982/5008] cmd.exe /C "cd /D C:\Dev\LLVMx64Build &&
C:\Dev\LLVMx64Build\bin\llvm-tblgen.exe -gen-instr-info -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86 -I
C:/Dev/GitRepos/llvm-project/llvm/include -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86/X86.td
--write-if-changed -o lib/Target/X86/X86GenInstrInfo.inc -d
lib/Target/X86/X86GenInstrInfo.inc.d"
[1983/5008] cmd.exe /C "cd /D C:\Dev\LLVMx64Build &&
C:\Dev\LLVMx64Build\bin\llvm-tblgen.exe -gen-dag-isel -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86 -I
C:/Dev/GitRepos/llvm-project/llvm/include -I
C:/Dev/GitRepos/llvm-project/llvm/lib/Target
C:/Dev/GitRepos/llvm-project/llvm/lib/Target/X86/X86.td
--write-if-changed -o lib/Target/X86/X86GenDAGISel.inc -d
lib/Target/X86/X86GenDAGISel.inc.d"
ninja: build stopped: subcommand failed."

Software Config:
* Windows 10 2004 x64
* VS 2019 16.6.3 CMD Prompt
* Ninja 1.10.0 and 1.10.0git
* CMake 3.17.3 and 3.18.0-RC2
* Clang Git Release/10.x
* Perl: Strawberry Perl 5.30.2
* Python 3.8.2
* Happens with x86 and x64 Builds
* DISABLING Exception Handling and RTTI is not helping (no Idea if it
should / could)
* Trying to only build Project=Clang does not help either
* I am building Clang etc. in Release Mode without Issues since Clang
7.x Beta = Clang 10.0.1 Release works fine
* I only try to do a Debug Build since Clang 10, so I cant say if it
would have worked with older Versions
* I also only use Clang for the Qt QDoc Parser: I am not using Clang for
other things yet (mainly because building things still takes at least
1.5x longer with Clang and Ninja than VS and JOM). So I am still a
Beginner with Clang when it comes to everday usage

Configure Line:
cmake --verbose --debug-output --debug-find --log-level=TRACE --trace
--trace-expand --trace-format=human
--trace-redirect="C:\Dev\CMakeTraceLog__Configure_%DATE:/=-%.log"
%SystemDrive%\Dev\GitRepos\llvm-project\llvm\ -G"Ninja"
-DCMAKE_VERBOSE_MAKEFILE=ON
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt;libcxx;libcxxabi;lld;lldb;llvm;openmp"
-DCMAKE_INSTALL_PREFIX=%SystemDrive%\Dev\LLVMx64\
-DCMAKE_BUILD_TYPE="Debug" -DLLVM_TARGETS_TO_BUILD="X86"
-DLLVM_INCLUDE_EXAMPLES="OFF" -DLLVM_INCLUDE_TESTS="OFF"
-DLLVM_INCLUDE_DOCS="OFF"
-DLLVM_PARALLEL_COMPILE_JOBS="%NUMBER_OF_PROCESSORS%"
-DLLVM_PARALLEL_LINK_JOBS="%NUMBER_OF_PROCESSORS%" -DLLVM_ENABLE_EH="ON"
-DLLVM_ENABLE_RTTI="ON" -DPYTHON_HOME=%SystemDrive%\Dev\Pythonx64\
-DSWIG_DIR=%SystemDrive%\Dev\swigwin\
-DSWIG_EXECUTABLE=%SystemDrive%\Dev\swigwin\swig.exe

Ninja Command:
ninja -v -j%NUMBER_OF_PROCESSORS% 1>c:\dev\llvmdebugbuilderror.log 2>&1

Is there any way to get more Infos like why llvm-tblgen.exe fails exactly?

Thanks!
Olli

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20200706/8e5c685f/attachment.sig>


More information about the cfe-users mailing list