<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 is broken when the LLVM suite is built all-in-one via LLVM, but works when built separately"
href="https://bugs.llvm.org/show_bug.cgi?id=41564">41564</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Clang is broken when the LLVM suite is built all-in-one via LLVM, but works when built separately
</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>kyle.devir@mykolab.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>With <a href="https://aur.archlinux.org/packages/llvm-git">https://aur.archlinux.org/packages/llvm-git</a>, Clang is built by moving the
`clang` directory to `llvm/tools/clang`, as shown by this line:
<a href="https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=llvm-git#n67">https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=llvm-git#n67</a>
Clang is then built via `cmake "$srcdir"/llvm-project/llvm`. This results in a
broken `clang` binary
However, Clang has been noted to work when LLVM and Clang are built separately,
with LLVM being built first, CompilerRT second, and lastly, Clang.
Therefore, there's a weird bug somewhere where the all-in-one Clang build just
breaks.</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>