[llvm-bugs] [Bug 46108] New: Tablegen fails when building for debug on Windows with the latest Visual Studio version.

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 27 13:29:53 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46108

            Bug ID: 46108
           Summary: Tablegen fails when building for debug on Windows with
                    the latest Visual Studio version.
           Product: tools
           Version: 10.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: TableGen
          Assignee: unassignedbugs at nondot.org
          Reporter: jcmac at machiel.info
                CC: llvm-bugs at lists.llvm.org

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
https://llvm.discourse.group/t/llvm-not-building-in-vusual-studio/1139/3

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.`

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200527/ac58e7b2/attachment.html>


More information about the llvm-bugs mailing list