<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 --- - clang binary loads the wrong libz.so.1"
href="http://llvm.org/bugs/show_bug.cgi?id=18321">18321</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang binary loads the wrong libz.so.1
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>earthdok@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>When I execute the trunk (r197984) clang binary, it loads shared libraries from
the current directory. This causes issues e.g. when building instrumented
versions of these libraries. In particular, when building an MSan-instrumented
libz, once libz.so.1 is built, all subsequent invocations of clang will try to
use it. This fails because the library is instrumented and clang itself is not:
$ ls
libz.so.1
$ clang
clang: symbol lookup error: libz.so.1: undefined symbol: __msan_init
This seems to have changed somewhere between r193323 and r197984.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>