Closed flavorjones closed 2 years ago
Additional context on this problem and the fix is in this series of blog posts:
And some prior instances of this exact problem (cross-compiling via osxcross):
@larskanis I think this change might warrant a 1.1.1 release, WDYT?
The clang macro
__builtin_available
uses___isOSVersionAtLeast
, which is defined in thecompiler-rt
runtime library. Thecompiler-rt
library is not currently provided in therake-compiler-dock
environment, which means this symbol may end up being unresolved.grpc/grpc#28271 reports that the symbol
___isOSVersionAtLeast
is undefined at runtime. This issue is reproduced with the test at #59:This PR includes that test, along with a proposed fix which is to add
compiler-rt
to the darwin build environments.