<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - LLD fails to build with an installed LLVM due to unusable llvm/WindowsManifest/WindowsManifestMerger.h"
   href="https://bugs.llvm.org/show_bug.cgi?id=34608">34608</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LLD fails to build with an installed LLVM due to unusable llvm/WindowsManifest/WindowsManifestMerger.h
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lld
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>COFF
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>orivej@gmx.fr
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre><a href="https://reviews.llvm.org/D36255">https://reviews.llvm.org/D36255</a> has added

     #include "llvm/WindowsManifest/WindowsManifestMerger.h"

to COFF/DriverUtils.cpp.  WindowsManifestMerger.h has

     #include "llvm/Config/config.h"

which is a private llvm header: it is not installed when llvm is installed. 
This causes lld build to fail:

     In file included from ../COFF/DriverUtils.cpp:35:0:
     /usr/include/llvm/WindowsManifest/WindowsManifestMerger.h:29:32: fatal
error: llvm/Config/config.h: No such file or directory

Since WindowsManifestMerger.h is a public header (it is installed with llvm and
may be included by lld), it should not include llvm/Config/config.h. (It may
include llvm/Config/llvm-config.h.)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>