<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Shared libs build is broken after r221570"
href="http://llvm.org/bugs/show_bug.cgi?id=21670">21670</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Shared libs build is broken after r221570
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ismail@donmez.ws
</td>
</tr>
<tr>
<th>CC</th>
<td>achien@blueshiftinc.com, sbest@blueshiftinc.com
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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>
<span class="quote">>*, unsigned int, bool)':</span >
/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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>