[ 
https://issues.apache.org/jira/browse/ARROW-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16183466#comment-16183466
 ] 

ASF GitHub Bot commented on ARROW-1609:
---------------------------------------

GitHub user pcmoritz opened a pull request:

    https://github.com/apache/arrow/pull/1144

    ARROW-1609: Plasma] Xcode 9 compilation workaround

    see https://github.com/apache/arrow/pull/1139

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/pcmoritz/arrow plasma-xcode-9-workaround

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/arrow/pull/1144.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1144
    
----
commit c5cdddda7c4b456e7760e5f7e12f0a705aa53171
Author: Philipp Moritz <[email protected]>
Date:   2017-09-27T23:21:32Z

    xcode 9 compilation workaround

----


> Plasma: Build fails with Xcode 9.0
> ----------------------------------
>
>                 Key: ARROW-1609
>                 URL: https://issues.apache.org/jira/browse/ARROW-1609
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Plasma (C++)
>    Affects Versions: 0.7.0
>            Reporter: Uwe L. Korn
>              Labels: pull-request-available
>
> Tensorflow has the same issue: 
> https://github.com/tensorflow/tensorflow/issues/13220
> {code}
> [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.
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to