[llvm-bugs] [Bug 44682] New: compiler-rt build broken on mac: 'os/lock.h' file not found

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 27 11:01:05 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=44682

            Bug ID: 44682
           Summary: compiler-rt build broken on mac: 'os/lock.h' file not
                    found
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: tsan
          Assignee: unassignedbugs at nondot.org
          Reporter: dmajor at mozilla.com
                CC: julian.lettner at gmail.com, llvm-bugs at lists.llvm.org
            Blocks: 44555

compiler-rt/lib/tsan/rtl/tsan_interceptors_mac.cpp:26:10: fatal error:
'os/lock.h' file not found

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

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?


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=44555
[Bug 44555] [meta] 10.0.0 Release Blockers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200127/f86c422b/attachment.html>


More information about the llvm-bugs mailing list