<p dir="ltr">The debian buildbot and many others are able to build.  What is your exact build process?</p>
<p dir="ltr">Have you tried doing a clean checkout/build?</p>
<div class="gmail_quote">On Nov 25, 2014 5:27 AM, "İsmail Dönmez" <<a href="mailto:ismail@donmez.ws">ismail@donmez.ws</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>For the last week or so my combined llvm+clang+lldb build fails while linking lldb-gdbserver:</div><div><br></div><div><div> lib/liblldbHost.a(Host.cpp.o): In function `lldb_private::Host::RunShellCommand(char const*, char const*, int*, int*, std::</div><div>__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, unsigned int, bool)':</div><div> /home/abuild/rpmbuild/BUILD/llvm/stage2/../tools/lldb/source/Host/common/Host.cpp:578: warning: the use of `mktemp' is dang</div><div>erous, better use `mkstemp'</div><div> lib/liblldbExpression.a(ClangExpressionParser.cpp.o): In function `ClangExpressionParser':</div><div> /home/abuild/rpmbuild/BUILD/llvm/stage2/../tools/lldb/source/Expression/ClangExpressionParser.cpp:127: undefined reference</div><div>to `llvm::sys::getDefaultTargetTriple()'</div><div> lib/liblldbExpression.a(ClangExpressionParser.cpp.o): In function `lldb_private::ClangExpressionParser::Parse(lldb_private:</div><div>:Stream&)':</div><div> /home/abuild/rpmbuild/BUILD/llvm/stage2/../tools/lldb/source/Expression/ClangExpressionParser.cpp:315: undefined reference</div><div>to `llvm::sys::fs::createTemporaryFile(llvm::Twine const&, llvm::StringRef, int&, llvm::SmallVectorImpl<char>&)'</div><div> /home/abuild/rpmbuild/BUILD/llvm/stage2/../tools/lldb/source/Expression/ClangExpressionParser.cpp:311: undefined reference</div><div>to `llvm::sys::fs::createUniqueFile(llvm::Twine const&, int&, llvm::SmallVectorImpl<char>&, unsigned int)'</div><div> /home/abuild/rpmbuild/BUILD/llvm/stage2/../tools/lldb/source/Expression/ClangExpressionParser.cpp:339: undefined reference</div><div>to `llvm::MemoryBuffer::getMemBufferCopy(llvm::StringRef, llvm::Twine const&)'</div><div> tools/lldb/tools/lldb-gdbserver/CMakeFiles/lldb-gdbserver.dir/__/__/source/lldb.cpp.o: In function `lldb_private::Initializ</div><div>e()':</div><div> /home/abuild/rpmbuild/BUILD/llvm/stage2/../tools/lldb/source/lldb.cpp:130: undefined reference to `llvm::install_fatal_erro</div><div>r_handler(void (*)(void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool), void*</div><div>)'</div></div><div><br></div><div>[lots of similar errors]</div><div><br></div><div>This seems to be due to failing to link to LLVMSupport library which could be fixed by</div><div><br></div><div><div>--- lldb/cmake/LLDBDependencies.cmake</div><div>+++ lldb/cmake/LLDBDependencies.cmake</div><div>@@ -161,6 +161,7 @@ set( LLVM_LINK_COMPONENTS<br></div><div>   mcdisassembler</div><div>   executionengine</div><div>   option</div><div>+  support</div><div>   )</div><div> </div></div><div><br></div><div>but then I hit more undefined symbols elsewhere. So I am wondering if I am the only one hitting this error.</div><div><br></div><div>Regards,</div><div>ismail</div><div><br></div></div>
<br>_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br></blockquote></div>