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

    <tr>
        <th>Summary</th>
        <td>
            LLVM 17: link error on Ubuntu 16
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          ns-osmolsky
      </td>
    </tr>
</table>

<pre>
    Trying LLVM 17-rc3 and my application fails to link in the MSan mode with this error:

> /usr/bin/ld: /opt/llvm/lib/clang/17/lib/x86_64-unknown-linux-gnu/libclang_rt.msan.a(msan.cpp.o): unable to initialize decompress status for section .debug_info

I think there are two issues here:
 1. It appears that `ld` on Ubuntu 16 does not handle `libclang_rt.msan.a` 
 2. I have `LD` configured in my Autotools build system and that works well for GCC builds Yet, apparently, `clang++` falls back to the system's `ld`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkU09vvDYQ_TTmMlpk7F1YDhzyS0oVKTn1j9RTZPAA7hobeexstp--MpumqSohwOPnmXnznhWRmR1ix04_2OmpUCkuPnSODp5Wb-lyKwavb92v4WbcDC8vv79C1RzCKEE5DesN1LZZM6povINJGUsQPVjjLmAcxAXh9RflYPUa4WriAnExBBiCD0w-MP7E-D9v-RMw0ScKTPSDcUz0VjP5kIN-i3lp39f8MQMT_WiVm5noq-Yr9HGu3-rjIbmL81d3sMalj8Ps0h2wH3gLsVxJuVIxcd5_xm0rPRNtrpScGixmAsaZaJQ1fyFoHP26BSQCiiomgskHIBx3yqXGIc1vxk3-O5nnzNNd8gACggoI8erBECUkyLEv8lCV8BzzGFEFgrioCKzmVrOag3fw25BcTFDVoD0SOB9hUU5b3FH_p1Vz-EwsSniGRb3vyJenvDN6N5k5BdRZnfUGDyn66L0lGJKxGuhGEddd272Tqw8Xgitau7P--fHxDiT4AyMTj7lvFdBFe8srVvNPXX7kp-YwKZuTq_GSx5r9cC_BRENfPMtCd1K3slUFdlXdSilkdRbF0g18qo-VlA3XXDaSDwp1faxGeW701LaiMJ3gQvKzaKuTlLwqhRxOvGpblKKeGl2xI8dVGVtm95Q-zMWuQlefeHMqrBrQ0u5-IRxe7xIxIfJlCF0-cxjSTOzIraFI_2aJJlrsPi9ENs_u-d3Y_5GtSMF2S4wbZclFz0Q_m7ikoRz9-s3UudIW_J84ZqvfncJEv7f5dwAAAP__I88sGw">