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

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

pcmoritz commented on issue #1144: ARROW-1609: [Plasma] Xcode 9 compilation 
workaround
URL: https://github.com/apache/arrow/pull/1144#issuecomment-340094718
 
 
   I was still using XCode 8 but installing version 9 now and looking into this.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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
>            Assignee: Philipp Moritz
>              Labels: pull-request-available
>             Fix For: 0.8.0
>
>
> 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