<html>
<head>
<base href="https://bugs.llvm.org/">
</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 fails stand-alone build (without clang-tools-extra): -lLLVMTestingSupport not found"
href="https://bugs.llvm.org/show_bug.cgi?id=43281">43281</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang fails stand-alone build (without clang-tools-extra): -lLLVMTestingSupport not found
</td>
</tr>
<tr>
<th>Product</th>
<td>Build scripts
</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>release blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>cmake
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mgorny@gentoo.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Blocks</th>
<td>42474
</td>
</tr></table>
<p>
<div>
<pre>FAILED: unittests/Tooling/ToolingTests
[...]
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lLLVMTestingSupport
collect2: error: ld returned 1 exit status
and more.
I haven't noticed this before because clangd (in clang-tools-extra) already
carries a hack for including LLVMTestingSupport. However, if you build without
clang-tools-extra, the build fails because of missing hack within clang itself.
Fix submitted as <a href="https://reviews.llvm.org/D67452">https://reviews.llvm.org/D67452</a></pre>
</div>
</p>
<div id="referenced">
<hr style="border: 1px dashed #969696">
<b>Referenced Bugs:</b>
<ul>
<li>
[<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [meta] 9.0.0 Release Blockers"
href="https://bugs.llvm.org/show_bug.cgi?id=42474">Bug 42474</a>] [meta] 9.0.0 Release Blockers
</li>
</ul>
</div>
<br>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>