[llvm-dev] Compile error while building LLDB
Eric Gorr via llvm-dev
llvm-dev at lists.llvm.org
Wed May 16 08:01:00 PDT 2018
I was just trying to build lldb-6.0 from source (and had previously
successfully build llvm-6.0, clang-6.0, and lld-6.0 from source), but
received a compile error while using both just cmake and cmake+ninja
Does this look familiar to anyone?
In file included from
llvm/lldb-6.0.0.src/source/API/SystemInitializerFull.cpp:89:
In file included from
llvm/lldb-6.0.0.src/source/./Plugins/SymbolFile/PDB/SymbolFilePDB.h:17:
In file included from llvm/DebugInfo/PDB/IPDBSession.h:13:
In file included from llvm/DebugInfo/PDB/PDBSymbol.h:13:
In file included from llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h:14:
In file included from llvm/DebugInfo/PDB/PDBTypes.h:13:
In file included from llvm/DebugInfo/CodeView/CodeView.h:509:
llvm/DebugInfo/CodeView/CodeViewRegisters.def:78:13: error: expected
identifier
CV_REGISTER(CR0, 80)
^
/usr/include/sys/termios.h:184:14: note: expanded from macro 'CR0'
#define CR0 0x00000000
^
In file included from
llvm/lldb-6.0.0.src/source/API/SystemInitializerFull.cpp:89:
In file included from
llvm/lldb-6.0.0.src/source/./Plugins/SymbolFile/PDB/SymbolFilePDB.h:17:
In file included from llvm/DebugInfo/PDB/IPDBSession.h:13:
In file included from llvm/DebugInfo/PDB/PDBSymbol.h:13:
In file included from llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h:14:
In file included from llvm/DebugInfo/PDB/PDBTypes.h:13:
In file included from llvm/DebugInfo/CodeView/CodeView.h:509:
llvm/DebugInfo/CodeView/CodeViewRegisters.def:79:13: error: expected
identifier
CV_REGISTER(CR1, 81)
^
/usr/include/sys/termios.h:185:14: note: expanded from macro 'CR1'
#define CR1 0x00001000
^
In file included from
llvm/lldb-6.0.0.src/source/API/SystemInitializerFull.cpp:89:
In file included from
llvm/lldb-6.0.0.src/source/./Plugins/SymbolFile/PDB/SymbolFilePDB.h:17:
In file included from llvm/DebugInfo/PDB/IPDBSession.h:13:
In file included from llvm/DebugInfo/PDB/PDBSymbol.h:13:
In file included from llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h:14:
In file included from llvm/DebugInfo/PDB/PDBTypes.h:13:
In file included from llvm/DebugInfo/CodeView/CodeView.h:509:
llvm/DebugInfo/CodeView/CodeViewRegisters.def:80:13: error: expected
identifier
CV_REGISTER(CR2, 82)
^
/usr/include/sys/termios.h:186:14: note: expanded from macro 'CR2'
#define CR2 0x00002000
^
In file included from
llvm/lldb-6.0.0.src/source/API/SystemInitializerFull.cpp:89:
In file included from
llvm/lldb-6.0.0.src/source/./Plugins/SymbolFile/PDB/SymbolFilePDB.h:17:
In file included from llvm/DebugInfo/PDB/IPDBSession.h:13:
In file included from llvm/DebugInfo/PDB/PDBSymbol.h:13:
In file included from llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h:14:
In file included from llvm/DebugInfo/PDB/PDBTypes.h:13:
In file included from llvm/DebugInfo/CodeView/CodeView.h:509:
llvm/DebugInfo/CodeView/CodeViewRegisters.def:81:13: error: expected
identifier
CV_REGISTER(CR3, 83)
^
/usr/include/sys/termios.h:187:14: note: expanded from macro 'CR3'
#define CR3 0x00003000
^
4 errors generated.
make[2]: ***
[source/API/CMakeFiles/liblldb.dir/SystemInitializerFull.cpp.o] Error 1
make[1]: *** [source/API/CMakeFiles/liblldb.dir/all] Error 2
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180516/7a7b44f9/attachment.html>
More information about the llvm-dev
mailing list