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

    <tr>
        <th>Summary</th>
        <td>
            [OpenMP] -Wl,--no-undefined-version
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    If lld defaults to `--no-undefined-version` (https://reviews.llvm.org/D135402), in a `LLVM_ENABLE_LLD=on` build, `ninja check-openmp` has link failures about `libomp.so` with version script errors. openmp should fix the version scripts not to have exact patterns which refer to non-existent symbols. It's a latent bug with GNU ld build as well.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtUl1vnDAQ_DXmZQUy5vh64CHpJVUkLq0qtX2MDF4O54yNbHMf_76Gi1q1qoSE7R3PzM66M-LWvAyglACBA1-Ud-ANkILGsTbxosOp1CjiM1onjQ4FIKwavZ8dyR4Iew6fxbPEi0uUOk-JscdwtE-zfEcZYTVhn0Bq4Ctn2_44vD29Pjy2T29tuyfZ_s7YLVKJFRg2Wup3Dv2I_Sk2M-ppXhEjd6CkPsHApVosOuCdWfx6QcnOTHPizIq7SD_Ch1dwvZWzB7TWWJfAnQ3caJbQ7iCv4Ef8B-xAG78mMPIzAl5572Hm3qPVDi6j7EewOKBdIdroGK_SedQe3G3qjAoqL56wMtgDxbdCtxzvrj6_foegu_UKoZ0LKpVE2KRFUVZ5RSmNRJOJOqt55KVX2JD88UvwfPhK8j3EP1VI6P9TiRarmr9ncgySS5f0ZgqbdTAfv3i25h37YPJZOregC4u8CvrR2JR04FXW1WWf7tiQ10VZFBUXpaiLusqyLlK8Q-VWX4QxjRfYKMI6GIxkwyhjaUpLluYZowkOdKiKtO7Erqa9EGRHcQrj-_1OIttslkJELhRViPLPI4q4c_KocYth5eeLH41tDtydvvFbtEk3m_VfRJDoRg">