<html>
<head>
<base href="https://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 --- - Cannot build compiler_rt because of clang_rt.asan-dynamic-x86_64.vers:3: syntax error in VERSION script"
href="https://llvm.org/bugs/show_bug.cgi?id=24985">24985</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cannot build compiler_rt because of clang_rt.asan-dynamic-x86_64.vers:3: syntax error in VERSION script
</td>
</tr>
<tr>
<th>Product</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Version</th>
<td>3.7
</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>luca.stoppa@bbh.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Hello,
I'm trying to build on Redhat Linux (gcc 4.9.1) clang 3.7 from trunk.
The build stops at 61% with tye following error:
[ 61%] Built target RTAsan.x86_64
[ 61%] Built target RTAsan_preinit.x86_64
[ 61%] Built target clang_rt.asan-x86_64
[ 61%] Built target RTAsan_dynamic_version_script_dummy.x86_64
Linking CXX shared library
../../../../lib/clang/3.7.0/lib/linux/libclang_rt.asan-x86_64.so
/opt/rh/devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.1/ld:/nfs/home/a042032/llvm/3.7/build/projects/compiler-rt/lib/asan/clang_rt.asan-dynamic-x86_64.vers:3:
syntax error in VERSION script
collect2: error: ld returned 1 exit status
make[2]: *** [lib/clang/3.7.0/lib/linux/libclang_rt.asan-x86_64.so] Error 1
make[1]: ***
[projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-x86_64.dir/all]
Error 2
make: *** [all] Error 2
I have followed the instruction on <a href="http://clang.llvm.org/get_started.html">http://clang.llvm.org/get_started.html</a> but
it seems probably I did something wrong.</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>