<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64102>64102</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
LLD fails to link objects from binutils upcoming 2.41 on RISCV
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
kraj
</td>
</tr>
</table>
<pre>
I have seeing the below error with lld on riscv in combination with binutils 2.41 ( upcoming ) release
```
riscv64-yoe-linux-ld.lld: error: TOPDIR/build/tmp/work/riscv64-yoe-linux/libcap-ng/0.8.3-r0/recipe-sysroot/usr/lib/libc_nonshared.a(pthread_atfork.oS):(.debug_loclists+0xd): unknown relocation (60) against symbol .LVL0
riscv64-yoe-linux-ld.lld: error: TOPDIR/build/tmp/work/riscv64-yoe-linux/libcap-ng/0.8.3-r0/recipe-sysroot/usr/lib/libc_nonshared.a(pthread_atfork.oS):(.debug_loclists+0xd): unknown relocation (61) against symbol .Ltext0
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzkk29rpDAQxj9NfBOUOLquvvBFe4tQWLijPfq25J-absxIEne73_7Q3bseXL_BgZiEmXmYeZIfD8EMTuuW7B7J7pDwJY7o25Pn74lAdW2f6MjPmgatjRtoHDUV2uKFau_R04uJI7VWUXTUmyDP1DgqcRLG8WjQ3RKEcUs0NlDIypwSqOkyS5xWQQIN9dpqHjRhB8Ie7v-K3b_tuElXZXpFnVrjlo_UqsxaRYqHWyPr5uf3H4enZwKdWIxVBLo4zQS6C_oTge4fCQKdNULyOXUDgY5ldVaknq2pWppZp-EaPGIk0C3B37LvNW8OXRi51yrjBOo5jl5z9cZjj_6U4QuBhhQPBOpMabEMbxalNSEGAo_sQ92idHEnhxe3To_yZhaBumKrI3zgxoVIw3USaGl2fD2yv-35j_zIv_Qj6o_IvnwwiWoL1RQNT3SbVw0rWMnyJhnbnZCszqtGFX2_l0VV7pq6YmJfFqos-x4S0wKDgu1hl1e7omiyphYNU6xUIJta7hUpmZ64sZm15ylDPyQmhEW3VZkzSCwX2oaNIwCnL3QLEoAVK9-uNalYhkBKtg3_qRJNtLo9Hg-05yslEak17kRRvGsZA-09Tp8M_UFngwkdfX56-faaLN62Y4xz2JzuCHSDieMiMonTek32_HtJZ4-rMIFuazEQ6LYRfgUAAP__SMtMQg">