<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 - compiler-rt build broken on mac: 'os/lock.h' file not found"
   href="https://bugs.llvm.org/show_bug.cgi?id=44682">44682</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>compiler-rt build broken on mac: 'os/lock.h' file not found
          </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>Windows NT
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>tsan
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>dmajor@mozilla.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>julian.lettner@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>44555
          </td>
        </tr></table>
      <p>
        <div>
        <pre>compiler-rt/lib/tsan/rtl/tsan_interceptors_mac.cpp:26:10: fatal error:
'os/lock.h' file not found

This was added in
<a href="https://github.com/llvm/llvm-project/commit/4a9b747bfb5579f69514a13b643684714343d4e7">https://github.com/llvm/llvm-project/commit/4a9b747bfb5579f69514a13b643684714343d4e7</a>
and reworked in
<a href="https://github.com/llvm/llvm-project/commit/894abb46f891cba2e0ef581650f27f512a7824b4#diff-4427dded557d38884822428fb1cb5296">https://github.com/llvm/llvm-project/commit/894abb46f891cba2e0ef581650f27f512a7824b4#diff-4427dded557d38884822428fb1cb5296</a>.

I don't have a mac to inspect myself, but according to our automation's build
logs, we used the 10.11 SDK in the build that this failure occurred in.

Is this code expected to build successfully with that SDK? Should there be a
__has_include` like some nearby code uses?</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - [meta] 10.0.0 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=44555">Bug 44555</a>] [meta] 10.0.0 Release Blockers
              </li>
          </ul>
        </div>
        <br>

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

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