Philipp Moritz created ARROW-1622: ------------------------------------- Summary: [Plasma] Plasma doesn't compile with XCode 9 Key: ARROW-1622 URL: https://issues.apache.org/jira/browse/ARROW-1622 Project: Apache Arrow Issue Type: Bug Components: Plasma (C++) Reporter: Philipp Moritz
Compiling the latest arrow with the following flags: ``` cmake -DARROW_PLASMA=on .. make ``` we get this error: ``` [ 61%] Building CXX object src/plasma/CMakeFiles/plasma_objlib.dir/client.cc.o In file included from /Users/rliaw/Research/riselab/ray/src/thirdparty/arrow/cpp/src/plasma/client.cc:20: In file included from /Users/rliaw/Research/riselab/ray/src/thirdparty/arrow/cpp/src/plasma/client.h:31: In file included from /Users/rliaw/Research/riselab/ray/src/thirdparty/arrow/cpp/src/plasma/common.h:30: In file included from /Users/rliaw/Research/riselab/ray/src/thirdparty/arrow/cpp/src/arrow/util/logging.h:22: In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/iostream:38: In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/ios:216: In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/__locale:18: In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/mutex:189: In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/__mutex_base:17: /Library/Developer/CommandLineTools/usr/include/c++/v1/__threading_support:156:1: error: unknown type name 'mach_port_t' mach_port_t __libcpp_thread_get_port(); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/__threading_support:300:1: error: unknown type name 'mach_port_t' mach_port_t __libcpp_thread_get_port() { ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/__threading_support:301:12: error: use of undeclared identifier 'pthread_mach_thread_np' return pthread_mach_thread_np(pthread_self()); ^ 3 errors generated. make[2]: *** [src/plasma/CMakeFiles/plasma_objlib.dir/client.cc.o] Error 1 make[1]: *** [src/plasma/CMakeFiles/plasma_objlib.dir/all] Error 2 make: *** [all] Error 2 ``` The problem was discovered and diagnosed in https://github.com/apache/arrow/pull/1139 -- This message was sent by Atlassian JIRA (v6.4.14#64029)