<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 --- - cmake: Install clang resources into /usr/lib/clang (without LLVM_LIBDIR_SUFFIX)" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23792&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=tJBfPQtd4XriK18vAqUYrhEVjO_Yic2uztcW80M708I&s=IDyHblJrFcZAWeXg33xVR4hHv-KwVKcqEMi71dCySbc&e=">23792</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>cmake: Install clang resources into /usr/lib/clang (without LLVM_LIBDIR_SUFFIX)
</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>normal
</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>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>The clang resource dir (/usr/lib*/clang) contains two sets of files:
- headers (that are not arch-specific at all),
- compiler-rt libraries (that are suffixed for multiple arches).
Therefore, it makes no sense to respect LLVM_LIBDIR_SUFFIX and install
resources into /usr/lib64 or the like. In fact, it can cause QA warnings in
stricter environments as 32-bit libraries end up in lib64.
Please consider either dropping LLVM_LIBDIR_SUFFIX from clang resource &
compiler-rt installs, or making it configurable separately.</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>