Skip to content

Plasma: Build fails with Xcode 9.0 #17621

@asfimport

Description

@asfimport

Tensorflow has the same issue: tensorflow/tensorflow#13220

[4/102] Building CXX object src/plasma/CMakeFiles/plasma_store.dir/store.cc.o
FAILED: src/plasma/CMakeFiles/plasma_store.dir/store.cc.o
/usr/local/bin/ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++   -isystem /Users/ukorn/miniconda3/envs/pyarrow-dev/include -isystem googletest_ep-prefix/src/googletest_ep/include -isystem gbenchmark_ep/src/gbenchmark_ep-install/include -isystem ../thirdparty/hadoop/include -I../src -isystem /Users/ukorn/miniconda3/envs/pyarrow-dev/include/python3.6m -I../src/plasma -I../src/plasma/thirdparty -I../src/plasma/.. -O3 -DNDEBUG -Wall -std=c++11 -msse3 -stdlib=libc++  -Qunused-arguments  -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -fPIC -O3 -DNDEBUG   -std=gnu++11 -MD -MT src/plasma/CMakeFiles/plasma_store.dir/store.cc.o -MF src/plasma/CMakeFiles/plasma_store.dir/store.cc.o.d -o src/plasma/CMakeFiles/plasma_store.dir/store.cc.o -c ../src/plasma/store.cc
In file included from ../src/plasma/store.cc:29:
In file included from ../src/plasma/store.h:25:
In file included from ../src/plasma/common.h:30:
In file included from ../src/arrow/util/logging.h:22:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iostream:38:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__locale:18:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/mutex:189:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__mutex_base:17:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__threading_support:156:1: error: unknown type name 'mach_port_t'
mach_port_t __libcpp_thread_get_port();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__threading_support:300:1: error: unknown type name 'mach_port_t'
mach_port_t __libcpp_thread_get_port() {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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.
ninja: build stopped: subcommand failed.

Reporter: Uwe Korn / @xhochy
Assignee: Philipp Moritz / @pcmoritz

PRs and other links:

Note: This issue was originally created as ARROW-1609. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions