[PATCH] D58110: Support fiber API on macOS
Yuri Per via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 14 22:51:03 PST 2019
yuri added a comment.
In D58110#1398292 <https://reviews.llvm.org/D58110#1398292>, @kubamracek wrote:
> @yln Can you please try to build this for watchOS/tvOS?
watchOS/tvOS build is broken right now in trunk:
/Users/yuri/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:179:15: error: call to unavailable function 'sigaltstack': not available on tvOS
CHECK_EQ(0, sigaltstack(nullptr, &oldstack));
^~~~~~~~~~~
/Users/yuri/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:304:45: note: expanded from macro 'CHECK_EQ'
#define CHECK_EQ(a, b) CHECK_IMPL((a), ==, (b))
^
/Users/yuri/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:296:46: note: expanded from macro 'CHECK_IMPL'
__sanitizer::u64 v2 = (__sanitizer::u64)(c2); \
^~
/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator12.1.sdk/usr/include/signal.h:87:5: note: candidate function has been explicitly made unavailable
int sigaltstack(const stack_t * __restrict, stack_t * __restrict) __DARWIN_ALIAS(sigaltstack) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
^
/Users/yuri/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:190:15: error: call to unavailable function 'sigaltstack': not available on tvOS
CHECK_EQ(0, sigaltstack(&altstack, nullptr));
^~~~~~~~~~~
/Users/yuri/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:304:45: note: expanded from macro 'CHECK_EQ'
#define CHECK_EQ(a, b) CHECK_IMPL((a), ==, (b))
^
/Users/yuri/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:296:46: note: expanded from macro 'CHECK_IMPL'
__sanitizer::u64 v2 = (__sanitizer::u64)(c2); \
^~
/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator12.1.sdk/usr/include/signal.h:87:5: note: candidate function has been explicitly made unavailable
int sigaltstack(const stack_t * __restrict, stack_t * __restrict) __DARWIN_ALIAS(sigaltstack) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
^
/Users/yuri/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:198:15: error: call to unavailable function 'sigaltstack': not available on tvOS
CHECK_EQ(0, sigaltstack(&altstack, &oldstack));
^~~~~~~~~~~
/Users/yuri/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:304:45: note: expanded from macro 'CHECK_EQ'
#define CHECK_EQ(a, b) CHECK_IMPL((a), ==, (b))
^
/Users/yuri/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:296:46: note: expanded from macro 'CHECK_IMPL'
__sanitizer::u64 v2 = (__sanitizer::u64)(c2); \
^~
/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator12.1.sdk/usr/include/signal.h:87:5: note: candidate function has been explicitly made unavailable
int sigaltstack(const stack_t * __restrict, stack_t * __restrict) __DARWIN_ALIAS(sigaltstack) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
^
/Users/yuri/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:455:5: error: call to unavailable function 'execv': not available on tvOS
execv(program, const_cast<char **>(&argv[0]));
^~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator12.1.sdk/usr/include/unistd.h:443:6: note: candidate function has been explicitly made unavailable
int execv(const char * __path, char * const * __argv) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
^
4 errors generated.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58110/new/
https://reviews.llvm.org/D58110
More information about the llvm-commits
mailing list