[lldb-dev] ClangASTContext.cpp breaks linux lldb build for TOT
Matthew Gardiner
mg11 at csr.com
Thu Jul 31 23:05:50 PDT 2014
People,
I've just synced the TOT for llvm, clang and lldb. Now
ClangASTContext.cpp no longer compiles.
Anyone been here recently?
Below is my g++ invocation:
[1848/1927] Building CXX object
tools/lldb/source/Symbol/CMakeFiles/lldbSymbol.dir/ClangASTContext.cpp.o
FAILED: /usr/lib64/ccache/c++ -DGTEST_HAS_RTTI=0 -DHAVE_ROUND -D_DEBUG
-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -fPIC -fvisibility-inlines-hidden -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers
-pedantic -Wno-long-long -Wno-maybe-uninitialized -Wnon-virtual-dtor
-Wno-comment -std=c++1y -ffunction-sections -fdata-sections -std=c++11
-Wno-deprecated-declarations -Wno-unknown-pragmas
-Wno-deprecated-register -fno-exceptions -fno-rtti -fPIC -g
-Itools/lldb/source/Symbol
-I/home/mg11/src/p4play/llvm/tools/lldb/source/Symbol
-I/home/mg11/src/p4play/llvm/tools/lldb/include -Itools/lldb/include
-Iinclude -I/home/mg11/src/p4play/llvm/include -I/usr/include/python2.7
-I/home/mg11/src/p4play/llvm/tools/lldb/../clang/include
-Itools/lldb/../clang/include
-I/home/mg11/src/p4play/llvm/tools/lldb/source/.
-I/home/mg11/src/p4play/llvm/tools/lldb/source/Plugins/Process/Linux
-I/home/mg11/src/p4play/llvm/tools/lldb/source/Plugins/Process/POSIX
-fno-exceptions -fno-rtti -MMD -MT
tools/lldb/source/Symbol/CMakeFiles/lldbSymbol.dir/ClangASTContext.cpp.o
-MF
tools/lldb/source/Symbol/CMakeFiles/lldbSymbol.dir/ClangASTContext.cpp.o.d
-o
tools/lldb/source/Symbol/CMakeFiles/lldbSymbol.dir/ClangASTContext.cpp.o
-c /home/mg11/src/p4play/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp
/home/mg11/src/p4play/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:
In static member function ‘static lldb_private::ClangASTType
lldb_private::ClangASTContext::CreateFunctionType(clang::ASTContext*,
const lldb_private::ClangASTType&, const lldb_private::ClangASTType*,
unsigned int, bool, unsigned int)’:
/home/mg11/src/p4play/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:1757:16:
error: ‘struct clang::FunctionProtoType::ExtProtoInfo’ has no member
named ‘ExceptionSpecType’
proto_info.ExceptionSpecType = EST_None;
^
/home/mg11/src/p4play/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:1760:16:
error: ‘struct clang::FunctionProtoType::ExtProtoInfo’ has no member
named ‘NumExceptions’
proto_info.NumExceptions = 0;
^
/home/mg11/src/p4play/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:1761:16:
error: ‘struct clang::FunctionProtoType::ExtProtoInfo’ has no member
named ‘Exceptions’
proto_info.Exceptions = nullptr;
^
At global scope:
cc1plus: warning: unrecognized command line option
"-Wno-deprecated-register" [enabled by default]
[1848/1927] Building CXX object
tools/lldb/source/Symbol/CMakeFiles/lldbSymbol.dir/ClangASTType.cpp.o
ninja: build stopped: subcommand failed.
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Keep up to date with CSR on our technical blog, www.csr.com/blog, CSR people blog, www.csr.com/people, YouTube, www.youtube.com/user/CSRplc, Facebook, www.facebook.com/pages/CSR/191038434253534, or follow us on Twitter at www.twitter.com/CSR_plc.
New for 2014, you can now access the wide range of products powered by aptX at www.aptx.com.
More information about the lldb-dev
mailing list