<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 - [ARM] lld doesn't support '--pic-veneer'"
href="https://bugs.llvm.org/show_bug.cgi?id=39886">39886</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[ARM] lld doesn't support '--pic-veneer'
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>ELF
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>natechancellor@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, peter.smith@linaro.org
</td>
</tr></table>
<p>
<div>
<pre>The main arm32 Makefile in the Linux kernel (arch/arm/Makefile) adds
'--pic-veneer' to LDFLAGS for vmlinux, which lld does not support and leads to
a linking error:
ld.lld: error: unknown argument: --pic-veneer
The GNU ld help text describes this flag as the following:
--pic-veneer
Always generate PIC interworking veneers
See the following commit for why this flag was added:
<a href="https://git.kernel.org/torvalds/c/02e541db0540a2830f4af749c6f2b650abbbb77c">https://git.kernel.org/torvalds/c/02e541db0540a2830f4af749c6f2b650abbbb77c</a>
I have no idea if the issue documented in this commit or the flag itself is
relevant to lld or not, any insight given would be appreciated.</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>