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

    <tr>
        <th>Summary</th>
        <td>
            The llvm-18 Ubuntu Jammy (22.04) LTS binary packages don't include LLVMgold.so
        </td>
    </tr>

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

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

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

<pre>
    The llvm-18 release binary packages for Ubuntu Jammy (22.04) published on the [LLVM Debian/Ubuntu nightly packages](https://apt.llvm.org/) don't seem to include the LLVMgold.so plugin required for LTO support.

In prior versions, this was included in the linker-tools package, but this file is not presently included in the llvm-18-linker-tools package.

Using the current package set for llvm-18 when using LTO, the linker complains:
`/usr/bin/ld: /usr/lib/llvm-18/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib/llvm-18/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory`
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykU01zmzAQ_TXishNGCLDNgUNSj2facZtDnd4lWIMSIVGtlIz_fQcITjJpT71wkHaf3gdPEunOItasvGPlPpEx9M7Xj476KLHXxiTKtZf61CMY8zzcZDvwaFASgtJW-guMsnmSHRKcnYcHFW2I8E0OwwWY2AmR8oKJCsaojKYeW3AWQo_Ayrvj8dd32KPS0jJxeF21uuuDeYNl5Z6JXR_CSCy_ZeLAxEGOIZ3YpM5380kFrbNMbAMQ4gDBgbaNiS3OT03vdM60KTkYTey0BY-_o_bYzqSPp3ugOI7Oh5TxPeO3y_erhdFr5-EZPWlniYkvEHpN8CJpfaEFvQgy2j6hvwnOGVrZTwsqhmXprA2CJrAuwOiR0E46P8EsLt_8De4DuwfStptXmug92rBOAWGYda2BvfRoIc7jx9P9ImLlC40bRiO1nd1d4DeciUMkz8RB6Ska07L8Fq6HRqvpu6Bfh9L0evXO8GkRvZ_YONlOFJYE_guwkXYy0Y1ogXo55ejUIzZh9nia-OGAYtMvnjsPrfbYBOcvbMOTts7bKq9kgnW2zUS23RRllvQ1Kmx4qco8F1V1zs-82uaV2PKWbzHD_JzoWnBR8ILngudFlqUKSyk3VYE7UW54VrGC4yC1uf6diSaKWO-2ZZknRio0NFdNCIsvMF8yIabm-XrWr2JHrOBGU6A3lKCDwQ8l_GfRjqefn5q5lmMtxTs7k-hN_bFdnQ59VGnjhtdQ1mxG7yaTmTjMxImJwyzsTwAAAP__RS1k0A">