[lldb-dev] Linker error on fresh working copy
felixcca at yahoo.ca
Thu Nov 21 22:56:05 PST 2013
I got the lldb source fresh from SVN, and even after doing the little Python dance for Mavericks (setting SDKROOT to macosx10.8 like Jason Molenda suggested yesterday), I still get compile errors. The linker bails out with this when it tries to link lldb-platform:
Undefined symbols for architecture x86_64:
"llvm::SmallPtrSetImpl::SmallPtrSetImpl(void const**, unsigned int, llvm::SmallPtrSetImpl&&)", referenced from:
llvm::SmallPtrSet<DWARFDebugInfoEntry const*, 4u>::SmallPtrSet(llvm::SmallPtrSet<DWARFDebugInfoEntry const*, 4u>&&) in liblldb-core.a(SymbolFileDWARF.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Looking deeper, I found that it is declared like that:
SmallPtrSetImpl(const void **SmallStorage, unsigned SmallSize,
Could it be that llvm is built without LLVM_HAS_RVALUE_REFERENCES but lldb is built with it?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev