<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Tablegen fails when building for debug on Windows with the latest Visual Studio version."
href="https://bugs.llvm.org/show_bug.cgi?id=46108">46108</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Tablegen fails when building for debug on Windows with the latest Visual Studio version.
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</td>
</tr>
<tr>
<th>Version</th>
<td>10.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>TableGen
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jcmac@machiel.info
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Using the latest Visual Studio release 16.6.0, llvm fails to build on Windows
when building for debug.
This issue is present in the 10.0.0 release as well as the 10.0.1-rc1 release,
but not in the current master branch.
llvm-tblgen.exe shows some unexpected behaviour.
See also
<a href="https://llvm.discourse.group/t/llvm-not-building-in-vusual-studio/1139/3">https://llvm.discourse.group/t/llvm-not-building-in-vusual-studio/1139/3</a>
Here is some of the erroneous output:
`>llvm-tblgen.exe: Unknown command line argument '-gen-attrs'. Try:
'..\..\Debug\bin\llvm-tblgen.exe --help'
28>llvm-tblgen.exe: Did you mean '--stats'?
27>llvm-tblgen.exe: Unknown command line argument '-gen-attrs'. Try:
'..\..\..\Debug\bin\llvm-tblgen.exe --help'
27>llvm-tblgen.exe: Did you mean '--stats'?
31>llvm-tblgen.exe: Unknown command line argument '-gen-opt-parser-defs'. Try:
'..\..\..\Debug\bin\llvm-tblgen.exe --help'
31>llvm-tblgen.exe: Did you mean '--info-output-file'?
29>llvm-tblgen.exe: Unknown command line argument '-gen-searchable-tables'.
Try: '..\..\..\Debug\bin\llvm-tblgen.exe --help'
29>llvm-tblgen.exe: Did you mean '--info-output-file'?
30>llvm-tblgen.exe: Unknown command line argument '-gen-opt-parser-defs'. Try:
'..\..\..\Debug\bin\llvm-tblgen.exe --help'
30>llvm-tblgen.exe: Did you mean '--info-output-file'?
28>C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5):
error MSB6006: "cmd.exe" exited with code 1.
28>Done building project "AttributeCompatFuncTableGen.vcxproj" -- FAILED.
31>C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5):
error MSB6006: "cmd.exe" exited with code 1.
31>Done building project "LibOptionsTableGen.vcxproj" -- FAILED.
27>C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5):
error MSB6006: "cmd.exe" exited with code 1.
27>Done building project "intrinsics_gen.vcxproj" -- FAILED.
29>C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5):
error MSB6006: "cmd.exe" exited with code 1.
29>Done building project "InstCombineTableGen.vcxproj" -- FAILED.
30>C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5):
error MSB6006: "cmd.exe" exited with code 1.
30>Done building project "DllOptionsTableGen.vcxproj" -- FAILED.`</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>