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

    <tr>
        <th>Summary</th>
        <td>
            Require binutils on linux builds and build llvmgold.so by default
        </td>
    </tr>

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

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

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

<pre>
    Currently LTO doesn't work out of the box with llvm, you have to explicetely pass an include dir for binutils. So that it would build llvm-gold.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxMkMGOnDoQRb_GbEqDoMADLLx4byJWkSIl-QGDC3CmGnfscnfz91EzUZJVLUq6955jU_LrTmSU_l_pT4XNsoVoLvNs370UU3CHecsx0i58wOfvX8AFSrvCTuAe4juELBAWkI1gCg-4e9mA-XZR-AZHyLDZG4EEoMeV_UxCfMDVpgR2B7_PnB2B8xGWEGHyexbPqYRvAWSzAv7ZktnBlD27M_hlDezKwpnGDc1gCzJ1p1H3TVPVxWYWh-i0m6euocXp10oP7TDUSNS3_aCHwhusUFddrWts67Yum4Zwsbp_7eYGtZtVW9HFei6fbWWIa-FTymTqtu9bLNhOxOn0hbjTHc6vQnzqi-acOOU1qbZinyT9jREvTOYr_cw-0h9YCDuw3_Pjg_Ep5l_ckzYFmA5wtNjMUuTIZhO5JtX8p3BUOK5etjyVc7goHD_sn-flGsMPmkXheK5MCsffGDeDvwIAAP__i3GpSQ">