<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 - Build ordering / dependency problems"
   href="https://bugs.llvm.org/show_bug.cgi?id=35511">35511</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Build ordering / dependency problems
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>cmake
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>codeman.consulting@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The last few times I've built trunk LLVM (Usually with just standard llvm and
clang + extra utils) I get some kind of makefile or solution ordering problem
for the all target.  This happens on both Ubuntu 16.04 building with GCC and
with Visual Studio 2015 and 2017.  The symptoms are usually that the build will
complete to around 90% then one of libClang or llvm-lto will fail to link. 
Running make again (or the VS solution, take your pick), will get a few more
files to build.  The current linux build from a fresh cmake generated makefile
build system took 5 tries before every project would complete and make install
works.  The visual studio build took 3 runs the last time I built it.  I think
there's an ordering issue somewhere but I haven't been able to pinpoint it.  I
updated to the most recent CMake on Windows and that broke everything entirely,
creating a "NATIVE" directory under the build directory and putting some things
there, some in x64/Release, and some in Release/x64, so naturally it couldn't
find libraries during link and failed.  I haven't sorted that yet, but I may
just need to revert CMake and stop trying to use LTO.  The linux one is
definitely odd though, as it was building fine a few months ago on the same
config.  

Is anyone else seeing this type of ordering issue?  I've done hundreds of
builds of LLVM using CMake and never run into this kind of issue on a supported
OS before.</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>