Builds failing on lldb with the following for well over a week on a new build folder

Linking CXX executable …/…/…/…/bin/lldb
Scanning dependencies of target lldb-platform
[100%] Building CXX object tools/lldb/tools/lldb-platform/CMakeFiles/lldb-platform.dir/lldb-platform.cpp.o
__…/…/…/…/lib/liblldb.so.3.5: undefined reference to llvm::SmallPtrSetImpl::SmallPtrSetImpl(void const**, unsigned int, llvm::SmallPtrSetImpl&&)'__ **clang: error: linker command failed with exit code 1 (use -v to see invocation)** __make[2]: *** [bin/lldb-3.5] Error 1__ make[1]: *** [tools/lldb/tools/driver/CMakeFiles/lldb.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /home/mdriftmeyer/DeveloperProjects/LLVMProject/llvm/tools/lldb/tools/lldb-platform/lldb-platform.cpp:295:35: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare] for (int j = 0; j < listen_host_port.size(); j++) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Linking CXX executable ../../../../bin/lldb-platform ../../../../lib/liblldb.so.3.5: undefined reference to llvm::SmallPtrSetImpl::SmallPtrSetImpl(void const**, unsigned int, llvm::SmallPtrSetImpl&&)’
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Looks like your lldb is being compiled in C++11 mode and your llvm
wasn't perhaps?

-eric

Hi Marc,

I have a pending patch on llvm-commit to enable c++11 with a cmake build, so that cmake matches configure --enable-cxx11.

Cheers,