[lldb-dev] [Bug 21670] New: Shared libs build is broken after r221570
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Nov 25 12:40:40 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=21670
Bug ID: 21670
Summary: Shared libs build is broken after r221570
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at cs.uiuc.edu
Reporter: ismail at donmez.ws
CC: achien at blueshiftinc.com, sbest at blueshiftinc.com
Classification: Unclassified
Currently building with
cmake -DBUILD_SHARED_LIBS=ON
on Linux x86-64 results in:
lib/liblldbHost.a(Host.cpp.o): In function
`lldb_private::Host::RunShellCommand(char const*, char const*, int*, int*,
std::
__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>
>*, unsigned int, bool)':
/home/abuild/rpmbuild/BUILD/llvm/stage2/../tools/lldb/source/Host/common/Host.cpp:578:
warning: the use of `mktemp' is dang
erous, better use `mkstemp'
lib/liblldbExpression.a(ClangExpressionParser.cpp.o): In function
`ClangExpressionParser':
/home/abuild/rpmbuild/BUILD/llvm/stage2/../tools/lldb/source/Expression/ClangExpressionParser.cpp:127:
undefined reference
to `llvm::sys::getDefaultTargetTriple()'
lib/liblldbExpression.a(ClangExpressionParser.cpp.o): In function
`lldb_private::ClangExpressionParser::Parse(lldb_private:
:Stream&)':
/home/abuild/rpmbuild/BUILD/llvm/stage2/../tools/lldb/source/Expression/ClangExpressionParser.cpp:315:
undefined reference
to `llvm::sys::fs::createTemporaryFile(llvm::Twine const&, llvm::StringRef,
int&, llvm::SmallVectorImpl<char>&)'
/home/abuild/rpmbuild/BUILD/llvm/stage2/../tools/lldb/source/Expression/ClangExpressionParser.cpp:311:
undefined reference
to `llvm::sys::fs::createUniqueFile(llvm::Twine const&, int&,
llvm::SmallVectorImpl<char>&, unsigned int)'
/home/abuild/rpmbuild/BUILD/llvm/stage2/../tools/lldb/source/Expression/ClangExpressionParser.cpp:339:
undefined reference
to `llvm::MemoryBuffer::getMemBufferCopy(llvm::StringRef, llvm::Twine const&)'
tools/lldb/tools/lldb-gdbserver/CMakeFiles/lldb-gdbserver.dir/__/__/source/lldb.cpp.o:
In function `lldb_private::Initializ
e()':
/home/abuild/rpmbuild/BUILD/llvm/stage2/../tools/lldb/source/lldb.cpp:130:
undefined reference to `llvm::install_fatal_erro
r_handler(void (*)(void*, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool), void*
)'
[lots of similar errors]
Static builds work fine.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20141125/fa644a27/attachment.html>
More information about the lldb-dev
mailing list