<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/61501>61501</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Regression(203b6f31bb71c): libunwind can no longer be built by a bootstrap compiler
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
nico
</td>
</tr>
</table>
<pre>
See [repro.tar.gz](https://github.com/llvm/llvm-project/files/11009595/repro.tar.gz)
At 203b6f31bb71c or later:
```
% ~/src/llvm-project/out/gn/bin/ld64.lld @response.txt
ld64.lld: error: undefined symbol: __gxx_personality_v0
>>> referenced by Users/thakis/src/llvm-project/out/gn/stage2_unix/obj/libunwind/src/unwind_shared.libunwind.o:(__compact_unwind+0x590)
```
(Also happens with ld64.)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUk8uO3CwQhZ8Gb9Bv4aJ9YeFFj-b3AyTK2gJTtpnQYAGe6c4izx7hnktG2SQSKgsfKI4_jmWMZnGIPakfSP1YyD2tPvTOTL5QXt_6r4iU1A8Bt-DLJEO5_CD1I4FuTWmLhJ8JDASGxaR1V-XkLwQGa5_fHv9twT_hlAgMs7EYCQxVxZioRU1g-NQVBGGPhJ3v9ZwoMK6amVdKtdVEfaBWJgz5yN_WkYa9jmNKCdT0J4EhhulPC37PdXEEBmVytbo5ldZqSk4sYNy8i1ima7o3e1MJP1MMweez6e40zsahpvF2Ud7md-O4XK_jhiF6J61Jt_H51Q_h_98HDThjQDehpupGv0UMGUZa5XcT_8JvTHJBGHdnrllQT3m1Ubt7MU6_779Px7jKgLp810t_XFQ3jpO_bHJK49u-B3atBftg_5nma4XubKOnq9w2dJG-mLTSgw0BUeiea8GFLLCvmlZULa8FFGsvtDq1mkumkNdyFqzDqWrnRrcVn7HpCtMDA8541UHFGg6l6FohJnkSsuEgZEdODC_S2DJTKX1YChPjjn1T1awqrFRo45FbAIcv9BAJQI5x6A-Sal8iOTFrYoofXZJJFvsvuASM0XhHoPsUtUyDn-k7PTpJR52n1rsFA1VI1W5sytcoqfI-xRTkRjNaYzEUe7D9P_8dh_schOPrfgUAAP__GmQf0A">