Skip to content

compiler-rt build broken on mac: 'os/lock.h' file not found #44027

@llvmbot

Description

@llvmbot
Bugzilla Link 44682
Resolution FIXED
Resolved on Feb 19, 2020 05:17
Version unspecified
OS Windows NT
Blocks #43900
Reporter LLVM Bugzilla Contributor
CC @zmodem

Extended Description

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

This was added in 4a9b747 and reworked in 894abb4#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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions