[
https://issues.apache.org/jira/browse/ARROW-11643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wes McKinney closed ARROW-11643.
--------------------------------
Resolution: Workaround
It seems that the MacPorts solution to this was to stop supporting protobuf on
XCode < 9. So the solution if someone needs Flight on this platform is to build
an older version of protobuf
> [C++] protobuf_ep failure on Xcode 8.3.3 / Apple LLVM 8.1
> ---------------------------------------------------------
>
> Key: ARROW-11643
> URL: https://issues.apache.org/jira/browse/ARROW-11643
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Wes McKinney
> Priority: Major
>
> I randomly decided to see if we can still build and run on a pre-SSE4.2
> machine (2009-era MacBook), but protobuf_ep fails with
> {code}
> FAILED:
> CMakeFiles/libprotobuf.dir/Users/wesm/code/arrow/cpp/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/dynamic_message.cc.o
>
> /Applications/Xcode8.3.3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
> -DGOOGLE_PROTOBUF_CMAKE_BUILD -DHAVE_PTHREAD -DHAVE_ZLIB -I.
> -I/Users/wesm/code/arrow/cpp/build/protobuf_ep-prefix/src/protobuf_ep/src
> -Qunused-arguments -fcolor-diagnostics -O3 -DNDEBUG -O3 -DNDEBUG -fPIC
> -Qunused-arguments -fcolor-diagnostics -O3 -DNDEBUG -O3 -DNDEBUG -fPIC
> -std=c++11 -MD -MT
> CMakeFiles/libprotobuf.dir/Users/wesm/code/arrow/cpp/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/dynamic_message.cc.o
> -MF
> CMakeFiles/libprotobuf.dir/Users/wesm/code/arrow/cpp/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/dynamic_message.cc.o.d
> -o
> CMakeFiles/libprotobuf.dir/Users/wesm/code/arrow/cpp/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/dynamic_message.cc.o
> -c
> /Users/wesm/code/arrow/cpp/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/dynamic_message.cc
> In file included from
> /Users/wesm/code/arrow/cpp/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/dynamic_message.cc:80:
> /Users/wesm/code/arrow/cpp/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/map_field.h:332:37:
> error: constexpr constructor never produces a constant expression
> [-Winvalid-constexpr]
> explicit PROTOBUF_MAYBE_CONSTEXPR MapFieldBase(ConstantInitialized)
> ^
> /Users/wesm/code/arrow/cpp/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/map_field.h:335:9:
> note: non-literal type 'internal::WrappedMutex' cannot be used in a constant
> expression
> mutex_(GOOGLE_PROTOBUF_LINKER_INITIALIZED),
> ^
> 1 error generated.
> {code}
> Since this appears to be a warning, perhaps it can be suppressed
--
This message was sent by Atlassian Jira
(v8.3.4#803005)