<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/80189>80189</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            libunwind.so build uses -nostdlib but it depends on C library features
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            libunwind
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          androm3da
      </td>
    </tr>
</table>

<pre>
    Some discussion was generated after ab41ea4be364dcac32d0c4ec990735c8adb279c8 landed.  This had the effect of removing `-lc` when the C++ compiler supports `-nostdlib++`.  But perhaps the fix should be for libunwind not to build with `-nostdlib`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUkUuO3DAMRE8jb4gx9PF34UV6gr5AcgF9aFuBLBmiNJ25fdBO0kFW3FQV-ViayG8RcWH9jfVfG13LnvKio8vpUE43JrnP5Vs6EJwnW4l8ivDQBBtGzLqgA70WzKBNJ1B3BtXQOautko7bDu0881H1dtLOyHG2EwQdHboW4PvuCXbtoOwIuK5oC6QVMh7pw8cN2MDfgmUDh8eO8VK9M3lj8gY2HacPmIHqeaZc6BLHRMUFb36L2MBbgFstcGLe9UlXwup_Au2pBgcGYU0Zgjc1Pnx0EFOBksBUHxw8fNn_Tx1427hFuVnNusFFjHwYlZgG2eyLmdQ4j6NToleGT4MeRzmg6IfVWitE1_hFctlxoYTkgvdTO3dzPygh0Ky95VKwjuOhfWhD-DjalLfGE1VcJi6muQnaYKCrJSlfFzMpn6Xl5el5M3Uj1vHgqdC_lOJLwOVlaekvYCUkeNGBqQV8AYcnRkeQIrw_X5N1_oQVdakZqak5LHspJzH1hck7k_fNl72a1qaDyftz6Z_xdub0A21h8n5xEJP3C-VXAAAA__8NacxF">