<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 --- - compiler-rt doesn't work on Linux/x86"
href="http://llvm.org/bugs/show_bug.cgi?id=22666">22666</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>compiler-rt doesn't work on Linux/x86
</td>
</tr>
<tr>
<th>Product</th>
<td>compiler-rt
</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>compiler-rt
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>hjl.tools@gmail.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>On Linux/x86, I got
[hjl@gnu-29 bin]$ ./clang /tmp/x.c -fsanitize=address
/usr/local/bin/ld: error: cannot open
/export/build/gnu/llvm-clang-x86-bootstrap-cmake/debug/build-i386-linux/bin/../lib/clang/3.7.0/lib/linux/libclang_rt.asan-i686.a:
No such file or directory
/tmp/x-ba3def.o:/tmp/x.c:function asan.module_ctor: error: undefined reference
to '__asan_init_v5'
clang-3.7: error: linker command failed with exit code 1 (use -v to see
invocation)
[hjl@gnu-29 bin]$ ls ../lib/clang/3.7.0/lib/linux
libclang_rt.asan_cxx-i386.a libclang_rt.profile-i386.a
libclang_rt.asan-i386.a libclang_rt.san-i386.a
libclang_rt.asan-i386.so libclang_rt.ubsan_cxx-i386.a
libclang_rt.asan-preinit-i386.a libclang_rt.ubsan-i386.a
libclang_rt.builtins-i386.a
[hjl@gnu-29 bin]$</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>