You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2021/02/16 15:04:00 UTC

[jira] [Commented] (ARROW-11643) [C++] protobuf_ep failure on Xcode 8.3.3 / Apple LLVM 8.1

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

Wes McKinney commented on ARROW-11643:
--------------------------------------

See https://trac.macports.org/ticket/62158 and https://github.com/protocolbuffers/protobuf/issues/8150

> [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)