<div dir="ltr">I'm still trying to figure this out. On one of my machines it went away after a clean install even though my configuration is exactly the same. I'll let you know once I know more. </div><br><div class="gmail_quote"><div dir="ltr">On Wed, May 16, 2018 at 5:28 PM Davide Italiano <<a href="mailto:davide@freebsd.org">davide@freebsd.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+ Jonas who hit the same bug recently.<br>
<br>
On Wed, May 16, 2018 at 8:01 AM, Eric Gorr via llvm-dev<br>
<<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
> I was just trying to build lldb-6.0 from source (and had previously<br>
> successfully build llvm-6.0, clang-6.0, and lld-6.0 from source), but<br>
> received a compile error while using both just cmake and cmake+ninja<br>
><br>
> Does this look familiar to anyone?<br>
><br>
><br>
><br>
> In file included from<br>
> llvm/lldb-6.0.0.src/source/API/SystemInitializerFull.cpp:89:<br>
> In file included from<br>
> llvm/lldb-6.0.0.src/source/./Plugins/SymbolFile/PDB/SymbolFilePDB.h:17:<br>
> In file included from llvm/DebugInfo/PDB/IPDBSession.h:13:<br>
> In file included from llvm/DebugInfo/PDB/PDBSymbol.h:13:<br>
> In file included from llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h:14:<br>
> In file included from llvm/DebugInfo/PDB/PDBTypes.h:13:<br>
> In file included from llvm/DebugInfo/CodeView/CodeView.h:509:<br>
> llvm/DebugInfo/CodeView/CodeViewRegisters.def:78:13: error: expected<br>
> identifier<br>
> CV_REGISTER(CR0, 80)<br>
>             ^<br>
> /usr/include/sys/termios.h:184:14: note: expanded from macro 'CR0'<br>
> #define         CR0     0x00000000<br>
>                         ^<br>
> In file included from<br>
> llvm/lldb-6.0.0.src/source/API/SystemInitializerFull.cpp:89:<br>
> In file included from<br>
> llvm/lldb-6.0.0.src/source/./Plugins/SymbolFile/PDB/SymbolFilePDB.h:17:<br>
> In file included from llvm/DebugInfo/PDB/IPDBSession.h:13:<br>
> In file included from llvm/DebugInfo/PDB/PDBSymbol.h:13:<br>
> In file included from llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h:14:<br>
> In file included from llvm/DebugInfo/PDB/PDBTypes.h:13:<br>
> In file included from llvm/DebugInfo/CodeView/CodeView.h:509:<br>
> llvm/DebugInfo/CodeView/CodeViewRegisters.def:79:13: error: expected<br>
> identifier<br>
> CV_REGISTER(CR1, 81)<br>
>             ^<br>
> /usr/include/sys/termios.h:185:14: note: expanded from macro 'CR1'<br>
> #define         CR1     0x00001000<br>
>                         ^<br>
> In file included from<br>
> llvm/lldb-6.0.0.src/source/API/SystemInitializerFull.cpp:89:<br>
> In file included from<br>
> llvm/lldb-6.0.0.src/source/./Plugins/SymbolFile/PDB/SymbolFilePDB.h:17:<br>
> In file included from llvm/DebugInfo/PDB/IPDBSession.h:13:<br>
> In file included from llvm/DebugInfo/PDB/PDBSymbol.h:13:<br>
> In file included from llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h:14:<br>
> In file included from llvm/DebugInfo/PDB/PDBTypes.h:13:<br>
> In file included from llvm/DebugInfo/CodeView/CodeView.h:509:<br>
> llvm/DebugInfo/CodeView/CodeViewRegisters.def:80:13: error: expected<br>
> identifier<br>
> CV_REGISTER(CR2, 82)<br>
>             ^<br>
> /usr/include/sys/termios.h:186:14: note: expanded from macro 'CR2'<br>
> #define         CR2     0x00002000<br>
>                         ^<br>
> In file included from<br>
> llvm/lldb-6.0.0.src/source/API/SystemInitializerFull.cpp:89:<br>
> In file included from<br>
> llvm/lldb-6.0.0.src/source/./Plugins/SymbolFile/PDB/SymbolFilePDB.h:17:<br>
> In file included from llvm/DebugInfo/PDB/IPDBSession.h:13:<br>
> In file included from llvm/DebugInfo/PDB/PDBSymbol.h:13:<br>
> In file included from llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h:14:<br>
> In file included from llvm/DebugInfo/PDB/PDBTypes.h:13:<br>
> In file included from llvm/DebugInfo/CodeView/CodeView.h:509:<br>
> llvm/DebugInfo/CodeView/CodeViewRegisters.def:81:13: error: expected<br>
> identifier<br>
> CV_REGISTER(CR3, 83)<br>
>             ^<br>
> /usr/include/sys/termios.h:187:14: note: expanded from macro 'CR3'<br>
> #define         CR3     0x00003000<br>
>                         ^<br>
> 4 errors generated.<br>
> make[2]: *** [source/API/CMakeFiles/liblldb.dir/SystemInitializerFull.cpp.o]<br>
> Error 1<br>
> make[1]: *** [source/API/CMakeFiles/liblldb.dir/all] Error 2<br>
> make: *** [all] Error 2<br>
><br>
><br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
><br>
<br>
<br>
<br>
-- <br>
Davide<br>
<br>
"There are no solved problems; there are only problems that are more<br>
or less solved" -- Henri Poincare<br>
</blockquote></div>