jenrryyou commented on PR #2754: URL: https://github.com/apache/brpc/pull/2754#issuecomment-2326397806
看了下macos protobuf22的报错  ,是因为链接的库libprotobuf.dylib没有 google::protobuf::internal::ThreadSafeArena::thread_cache_定义,但是include 的thread_safe_arena.h文件有这个符号。说明brew编译的libprotobuf.dylib macos版本是开启了PROTOBUF_NO_THREADLOCAL宏(所以有google::protobuf::internal::ThreadSafeArena::thread_cache()定义,但是没有google::protobuf::internal::ThreadSafeArena::thread_cache_定义),brpc编译时候是没有PROTOBUF_NO_THREADLOCAL宏,所以链接时候报错。 附图: -- 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: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org