If using Xcode to build, you may have to manually remove the llvm-build directory if updating llvm/clang in my experience.
On 2013-05-28, at 9:11 AM, "Thirumurthi, Ashok" <[email protected]<mailto:[email protected]>> wrote: Hi Sebastien, The build errors that you mention were addressed in r181387 of lldb. Basically, lldb was out of step with changes to llvm (i.e. pure virtuals in JITMemoryManager.h and RuntimeDyld.h). I’m guessing that the build will work for you if you have the same svn revision of llvm, clang, and lldb, and a clean checkout. If not, I suspect that r181387 will point you in the direction of a fix, - Ashok From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Arnaud Allard de Grandmaison Sent: Tuesday, May 28, 2013 5:50 AM To: Sebastien Metrot Cc: lldb-dev Subject: Re: [lldb-dev] Broken build on OSX On Tue, May 28, 2013 at 11:29 AM, Sebastien Metrot <[email protected]<mailto:[email protected]>> wrote: Hello, I have been toying with lldb on and off for a couple of month. For the first time today I have updated llvm, clang and lldb from svn and I now get tons of errors from Xcode. Is there a stable revision I can get for the projects? Any change to see a fix soon? Hi Sebastien, That's the risk of living on the bleeding edge :) Normally, this kind of failures appears rarely and are pickup up quickly by the buildbots. From there, you have 2 options : - wait a bit and run a svn up on llvm+clang+lldb... - propose a patch to fix it Another option is to checkout the release tag (3.3rc2). Cheers, -- Arnaud A. de Grandmaison Thanks in advance, S. PS: build errors: /Users/meeloo/work/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp /Users/meeloo/work/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp:50:25: No member named 'countTrailingZeros' in namespace 'llvm' /Users/meeloo/work/llvm/tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp /Users/meeloo/work/llvm/tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp:21:10: 'llvm/MC/MCRelocationInfo.h' file not found /Users/meeloo/work/llvm/tools/lldb/source/Expression/IRExecutionUnit.cpp /Users/meeloo/work/llvm/tools/lldb/source/Expression/IRExecutionUnit.cpp:304:30: Allocating an object of abstract class type 'lldb_private::IRExecutionUnit::MemoryManager' /Users/meeloo/work/llvm/tools/lldb/llvm/include/llvm/ExecutionEngine/RuntimeDyld.h:68:16: Unimplemented pure virtual method 'applyPermissions' in 'MemoryManager' /Users/meeloo/work/llvm/tools/lldb/llvm/include/llvm/ExecutionEngine/JITMemoryManager.h:120:20: Unimplemented pure virtual method 'startExceptionTable' in 'MemoryManager' /Users/meeloo/work/llvm/tools/lldb/llvm/include/llvm/ExecutionEngine/JITMemoryManager.h:125:16: Unimplemented pure virtual method 'endExceptionTable' in 'MemoryManager' /Users/meeloo/work/llvm/tools/lldb/llvm/include/llvm/ExecutionEngine/JITMemoryManager.h:132:16: Unimplemented pure virtual method 'deallocateExceptionTable' in 'MemoryManager' /Users/meeloo/work/llvm/tools/lldb/source/Expression/ASTResultSynthesizer.cpp /Users/meeloo/work/llvm/tools/lldb/source/Expression/ASTResultSynthesizer.cpp:360:48: Too few arguments to function call, expected 9, have 8 /Users/meeloo/work/llvm/tools/lldb/llvm/tools/clang/include/clang/AST/Decl.h:757:3: 'Create' declared here /Users/meeloo/work/llvm/tools/lldb/source/Expression/ASTResultSynthesizer.cpp:380:48: Too few arguments to function call, expected 9, have 8 /Users/meeloo/work/llvm/tools/lldb/llvm/tools/clang/include/clang/AST/Decl.h:757:3: 'Create' declared here /Users/meeloo/work/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp /Users/meeloo/work/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:1832:74: Too few arguments to function call, expected 11, have 10 /Users/meeloo/work/llvm/tools/lldb/llvm/tools/clang/include/clang/AST/DeclCXX.h:1594:3: 'Create' declared here /Users/meeloo/work/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:1861:70: Too few arguments to function call, expected 11, have 10 /Users/meeloo/work/llvm/tools/lldb/llvm/tools/clang/include/clang/AST/DeclCXX.h:1594:3: 'Create' declared here /Users/meeloo/work/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:1889:52: Too few arguments to function call, expected 10, have 9 /Users/meeloo/work/llvm/tools/lldb/llvm/tools/clang/include/clang/AST/Decl.h:1178:3: 'Create' declared here /Users/meeloo/work/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:2066:46: Too few arguments to function call, expected 9, have 8 /Users/meeloo/work/llvm/tools/lldb/llvm/tools/clang/include/clang/AST/Decl.h:757:3: 'Create' declared here /Users/meeloo/work/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:2662:68: Too few arguments to function call, expected 10, have 9 /Users/meeloo/work/llvm/tools/lldb/llvm/tools/clang/include/clang/AST/Decl.h:1178:3: 'Create' declared here /Users/meeloo/work/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:2830:56: Too few arguments to function call, expected 10, have 9 /Users/meeloo/work/llvm/tools/lldb/llvm/tools/clang/include/clang/AST/Decl.h:1178:3: 'Create' declared here /Users/meeloo/work/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:5536:34: Too few arguments to function call, expected 10, have 9 /Users/meeloo/work/llvm/tools/lldb/llvm/tools/clang/include/clang/AST/Decl.h:1178:3: 'Create' declared here /Users/meeloo/work/llvm/tools/lldb/source/Expression/ClangASTSource.cpp /Users/meeloo/work/llvm/tools/lldb/source/Expression/ClangASTSource.cpp:480:52: No member named 'containsDecl' in 'clang::DeclContext' /Users/meeloo/work/llvm/tools/lldb/source/Expression/ClangASTSource.cpp:485:42: No member named 'containsDecl' in 'clang::DeclContext' /Users/meeloo/work/llvm/tools/lldb/source/Expression/ClangASTSource.cpp:1728:55: Too few arguments to function call, expected 9, have 8 /Users/meeloo/work/llvm/tools/lldb/llvm/tools/clang/include/clang/AST/Decl.h:757:3: 'Create' declared here /Users/meeloo/work/llvm/tools/lldb/source/Expression/ClangASTSource.cpp:1782:63: Too few arguments to function call, expected 10, have 9 /Users/meeloo/work/llvm/tools/lldb/llvm/tools/clang/include/clang/AST/Decl.h:1178:3: 'Create' declared here /Users/meeloo/work/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeVendor.cpp /Users/meeloo/work/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeVendor.cpp:406:64: Too few arguments to function call, expected 10, have 9 /Users/meeloo/work/llvm/tools/lldb/llvm/tools/clang/include/clang/AST/Decl.h:1178:3: 'Create' declared here -- Sebastien Metrot Yasound - CTO - Cofounder [email protected]<mailto:[email protected]> -- Sebastien Metrot Yasound - CTO - Cofounder [email protected]<mailto:[email protected]> _______________________________________________ lldb-dev mailing list [email protected]<mailto:[email protected]> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev _______________________________________________ lldb-dev mailing list [email protected]<mailto:[email protected]> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev _______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
