<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/120019>120019</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
lld reports undefined symbols
</td>
</tr>
<tr>
<th>Labels</th>
<td>
lld
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
stsp
</td>
</tr>
</table>
<pre>
[lld.tar.gz](https://github.com/user-attachments/files/18142004/lld.tar.gz)
Attached is a test-case.
It has many objects and 2 scripts:
test_bfd.sh and test_lld.sh.
They are identical except for calling
different linkers.
test_bfd.sh doesn't print any errors
or warnings. It links `kernel.elf`
which actually works.
test_lld.sh throws many unclear errors.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8ksFupDoQRb_GbEqNTAFpWLDgKWop-7cfGbsAT9w2chXp6fn6ESTSZDWrEth17rF0DbNfItGg2v9U-1qYXdaUBxbeiim55_E_BFeKyeXyW7WvCrtVZGNVjwpvCm-Ll3WfSpvuCm87U74YEWPXO0VhhbfZBzpm1VUNat0ovH0DYq_0qPQ4njvkwDMYEGK5WMNUKj2-CayG4W7iE9L0k6wwmOgAgW32m5wqejx2fkyzK3k9j8_vI4nXg_L_Sk8wmcA7iuKtCUC_LG0Cc8pgTQg-LkqPzs8zZYoCwcd3ylx-Cn7Hu0QcFV4FtuyjwGFGOafMSo8pw8Pk6OPCJbx9YhjUi36nHCmUFGb1opUeH6u3KxgruwnhCY-U38-wb-Iga06Pr7fv0QYy-SupLNxQu77uTUFDda0b7NumxmIdeiLndHed69rZvtOG6gbr2um5s4j6pfADamwqrFrUTd1i2bm5rrRpp2vlOnetVaPpbnwoQ_i4lykvhWfeaahQ66ovgpko8NkYxBCcQjyqk4fj-mXaF1aNDp6F_wLES6AhBAeZtpSFYY-OZh_JAT_vUwpc7DkM_-jWwfoaly2nowgKb6fZ2a9PuY8B_wQAAP__YlvuoA">