[llvm-dev] Compile error while building LLDB
Jonas Devlieghere via llvm-dev
llvm-dev at lists.llvm.org
Wed May 16 11:54:17 PDT 2018
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.
On Wed, May 16, 2018 at 5:28 PM Davide Italiano <davide at freebsd.org> wrote:
> + Jonas who hit the same bug recently.
>
> On Wed, May 16, 2018 at 8:01 AM, Eric Gorr via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > 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
> >
> >
> > _______________________________________________
> > LLVM Developers mailing list
> > llvm-dev at lists.llvm.org
> > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> >
>
>
>
> --
> Davide
>
> "There are no solved problems; there are only problems that are more
> or less solved" -- Henri Poincare
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180516/12336f2e/attachment-0001.html>
More information about the llvm-dev
mailing list