<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - Race condition in compiler-rt cmake build"
   href="https://llvm.org/bugs/show_bug.cgi?id=26054">26054</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Race condition in compiler-rt cmake build
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>compiler-rt
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>hjl.tools@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>On machine with 24 cores,

cmake --build build-x86_64-linux-gnux32 -- -j 12

may lead to

/usr/local/bin/ld:/export/build/gnu/llvm-clang-x32-bootstrap-cmake/stage2/build-x86_64-linux-gnux32/projects/compiler-rt/lib/asan/clang_rt.asan-dynamic-x32.vers:1:
syntax error in VERSION script
clang-3.8: error: linker command failed with exit code 1 (use -v to see
invocation)
projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-x32.dir/build.make:224:
recipe for target 'lib/clang/3.8.0/lib/linux/libclang_rt.asan-x32.so' failed
gmake[5]: *** [lib/clang/3.8.0/lib/linux/libclang_rt.asan-x32.so] Error 1

libclang_rt.asan-x32.so was built while clang_rt.asan-dynamic-x32.vers
was being generated.  As the result, linker read the partially
written clang_rt.asan-dynamic-x32.vers.</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>