3.4 build failure from lldb

I'm trying to build llvm and clang release_34 git branch on ubuntu 13.04,
using cmake, and i'm getting numerous errors from lldb:

[ 83%] Building CXX object
tools/lldb/source/Core/CMakeFiles/lldbCore.dir/Address.cpp.o
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:
In function ‘clang::FrontendAction*
CreateFrontendBaseAction(clang::CompilerInstance&)’:
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:122:14:
error: ‘ASTDumpXML’ was not declared in this scope
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:122:49:
error: expected type-specifier before ‘ASTDumpXMLAction’
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:122:49:
error: cannot convert ‘int*’ to ‘clang::FrontendAction*’ in return
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:122:49:
error: expected ‘;’ before ‘ASTDumpXMLAction’
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:122:66:
error: ‘ASTDumpXMLAction’ was not declared in this scope
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:
In constructor
‘lldb_private::ClangExpressionParser::ClangExpressionParser(lldb_private::ExecutionContextScope*,
lldb_private::ClangExpression&)::InitializeLLVM::InitializeLLVM()’:
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:199:13:
error: ‘DisablePrettyStackTrace’ is not a member of ‘llvm’

[ 84%] Building CXX object
tools/lldb/source/Core/CMakeFiles/lldbCore.dir/Baton.cpp.o
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:157:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:158:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:159:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:160:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:161:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:162:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:163:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:164:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:165:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:166:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:167:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:168:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:169:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:170:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:171:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:172:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:173:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:174:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:175:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:176:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:177:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:178:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:179:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:180:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:181:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:182:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:183:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:184:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:185:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:186:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:187:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:188:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:189:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:190:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:191:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:192:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:193:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:194:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:195:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:196:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:197:41: error:
‘CPUTypePowerPC64’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:198:41: error:
‘CPUTypePowerPC64’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:199:41: error:
‘CPUTypeI386’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:200:41: error:
‘CPUTypeI386’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:201:41: error:
‘CPUTypeI386’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:202:41: error:
‘CPUTypeI386’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:203:41: error:
‘CPUTypeX86_64’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:204:41: error:
‘CPUTypeX86_64’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:205:41: error:
‘CPUTypeX86_64’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:208:41: error:
‘CPUArchABI64’ is not a member of ‘llvm::MachO’

pretty sure i'm not doing anything daft... any ideas?

cheers,
sam

I'm trying to build llvm and clang release_34 git branch on ubuntu 13.04,
using cmake, and i'm getting numerous errors from lldb:

[ 83%] Building CXX object
tools/lldb/source/Core/CMakeFiles/lldbCore.dir/Address.cpp.o
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:
In function ‘clang::FrontendAction*
CreateFrontendBaseAction(clang::CompilerInstance&)’:
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:122:14:
error: ‘ASTDumpXML’ was not declared in this scope
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:122:49:
error: expected type-specifier before ‘ASTDumpXMLAction’
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:122:49:
error: cannot convert ‘int*’ to ‘clang::FrontendAction*’ in return
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:122:49:
error: expected ‘;’ before ‘ASTDumpXMLAction’
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:122:66:
error: ‘ASTDumpXMLAction’ was not declared in this scope
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:
In constructor
‘lldb_private::ClangExpressionParser::ClangExpressionParser(lldb_private::ExecutionContextScope*,
lldb_private::ClangExpression&)::InitializeLLVM::InitializeLLVM()’:
/home/sam/src/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:199:13:
error: ‘DisablePrettyStackTrace’ is not a member of ‘llvm’

[ 84%] Building CXX object
tools/lldb/source/Core/CMakeFiles/lldbCore.dir/Baton.cpp.o
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:157:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:158:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:159:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:160:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:161:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:162:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:163:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:164:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:165:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:166:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:167:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:168:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:169:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:170:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:171:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:172:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:173:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:174:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:175:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:176:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:177:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:178:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:179:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:180:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:181:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:182:41: error:
‘CPUTypeARM’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:183:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:184:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:185:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:186:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:187:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:188:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:189:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:190:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:191:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:192:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:193:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:194:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:195:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:196:41: error:
‘CPUTypePowerPC’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:197:41: error:
‘CPUTypePowerPC64’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:198:41: error:
‘CPUTypePowerPC64’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:199:41: error:
‘CPUTypeI386’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:200:41: error:
‘CPUTypeI386’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:201:41: error:
‘CPUTypeI386’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:202:41: error:
‘CPUTypeI386’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:203:41: error:
‘CPUTypeX86_64’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:204:41: error:
‘CPUTypeX86_64’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:205:41: error:
‘CPUTypeX86_64’ is not a member of ‘llvm::MachO’
/home/sam/src/llvm/tools/lldb/source/Core/ArchSpec.cpp:208:41: error:
‘CPUArchABI64’ is not a member of ‘llvm::MachO’

pretty sure i'm not doing anything daft... any ideas?

Don't be so sure :slight_smile:

Going by the errors, it looks like you checked out the lldb release_33 branch instead of release_34.

Alp.