kou opened a new issue, #35987:
URL: https://github.com/apache/arrow/issues/35987

   ### Describe the enhancement requested
   
   We can't resolve 
`google::protobuf::internal::ThreadSafeArena::thread_cache_` with Protobuf 
23.2.0 on non-Windows:
   
   ```text
    
/Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: ../../release/libarrow.a(util_avx2.cc.o) has no symbols
   ld: illegal thread local variable reference to regular symbol 
__ZN6google8protobuf8internal15ThreadSafeArena13thread_cache_E for architecture 
x86_64
   clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
   ```
   
   I think that https://github.com/protocolbuffers/protobuf/pull/12983 solves 
this but it's not released yet.
   
   Workarounds:
   1. Specify `PROTOBUF_USE_DLLS` explicitly on non-Windows too.
   2. Use bundled (old) Protobuf
   
   ### Component(s)
   
   C++


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to