rok commented on pull request #11889: URL: https://github.com/apache/arrow/pull/11889#issuecomment-1029582807
@lidavidm using [your repro](https://issues.apache.org/jira/browse/ARROW-14708) this change now only complains of flight not having grpc symbols. Any idea how to approach this? ``` /Library/Developer/CommandLineTools/usr/bin/c++ -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/arrow_example.dir/example.cc.o -o arrow_example \ /Users/rok/builds/arrow-arm64/lib/libarrow.a \ /Users/rok/builds/arrow-arm64/lib/libarrow_flight.a \ /opt/homebrew/opt/openssl@3/lib/libssl.a \ /opt/homebrew/opt/openssl@3/lib/libcrypto.a \ /Users/rok/builds/arrow-arm64/lib/libarrow_bundled_dependencies.a ``` ``` Undefined symbols for architecture arm64: "grpc::ServerBuilder::BuildAndStart()", referenced from: arrow::flight::FlightServerBase::Init(arrow::flight::FlightServerOptions const&) in libarrow_flight.a(server.cc.o) "grpc::ServerBuilder::RegisterService(grpc::Service*)", referenced from: arrow::flight::FlightServerBase::Init(arrow::flight::FlightServerOptions const&) in libarrow_flight.a(server.cc.o) "grpc::ServerBuilder::AddListeningPort(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::shared_ptr<grpc::ServerCredentials>, int*)", referenced from: arrow::flight::FlightServerBase::Init(arrow::flight::FlightServerOptions const&) in libarrow_flight.a(server.cc.o) "grpc::ServerBuilder::SetOption(std::__1::unique_ptr<grpc::ServerBuilderOption, std::__1::default_delete<grpc::ServerBuilderOption> >)", referenced from: grpc::ServerBuilder& grpc::ServerBuilder::AddChannelArgument<int>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int const&) in libarrow_flight.a(server.cc.o) "grpc::ServerBuilder::ServerBuilder()", referenced from: arrow::flight::FlightServerBase::Init(arrow::flight::FlightServerOptions const&) in libarrow_flight.a(server.cc.o) "grpc::ServerBuilder::~ServerBuilder()", referenced from: arrow::flight::FlightServerBase::Init(arrow::flight::FlightServerOptions const&) in libarrow_flight.a(server.cc.o) "grpc::CreateAuthContext(grpc_call*)", referenced from: grpc::ServerContextBase::auth_context() const in libarrow_flight.a(server.cc.o) "grpc::ServerContextBase::AddInitialMetadata(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from: arrow::flight::(anonymous namespace)::GrpcAddCallHeaders::AddHeader(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libarrow_flight.a(server.cc.o) "grpc::ServerContextBase::AddTrailingMetadata(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from: arrow::flight::internal::ToGrpcStatus(arrow::Status const&, grpc::ServerContext*) in libarrow_flight.a(internal.cc.o) "grpc::SslServerCredentials(grpc::SslServerCredentialsOptions const&)", referenced from: arrow::flight::FlightServerBase::Init(arrow::flight::FlightServerOptions const&) in libarrow_flight.a(server.cc.o) "grpc::g_core_codegen_interface", referenced from: grpc::ServerInterface::Shutdown() in libarrow_flight.a(server.cc.o) grpc::CompletionQueue::Pluck(grpc::internal::CompletionQueueTag*) in libarrow_flight.a(server.cc.o) grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<arrow::flight::protocol::HandshakeRequest>, grpc::internal::CallNoOp<2>, grpc::internal::CallNoOp<3>, grpc::internal::CallNoOp<4>, grpc::internal::CallNoOp<5>, grpc::internal::CallNoOp<6> >::FinalizeResult(void**, bool*) in libarrow_flight.a(server.cc.o) grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<arrow::flight::protocol::HandshakeRequest>, grpc::internal::CallNoOp<2>, grpc::internal::CallNoOp<3>, grpc::internal::CallNoOp<4>, grpc::internal::CallNoOp<5>, grpc::internal::CallNoOp<6> >::FillOps(grpc::internal::Call*) in libarrow_flight.a(server.cc.o) grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<arrow::flight::protocol::HandshakeRequest>, grpc::internal::CallNoOp<2>, grpc::internal::CallNoOp<3>, grpc::internal::CallNoOp<4>, grpc::internal::CallNoOp<5>, grpc::internal::CallNoOp<6> >::ContinueFillOpsAfterInterception() in libarrow_flight.a(server.cc.o) grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<arrow::flight::protocol::HandshakeRequest>, grpc::internal::CallNoOp<2>, grpc::internal::CallNoOp<3>, grpc::internal::CallNoOp<4>, grpc::internal::CallNoOp<5>, grpc::internal::CallNoOp<6> >::ContinueFinalizeResultAfterInterception() in libarrow_flight.a(server.cc.o) grpc::internal::InterceptorBatchMethodsImpl::Proceed() in libarrow_flight.a(server.cc.o) ... "grpc::InsecureServerCredentials()", referenced from: arrow::flight::FlightServerBase::Init(arrow::flight::FlightServerOptions const&) in libarrow_flight.a(server.cc.o) "grpc::MakeChannelArgumentOption(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int)", referenced from: grpc::ServerBuilder& grpc::ServerBuilder::AddChannelArgument<int>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int const&) in libarrow_flight.a(server.cc.o) "grpc::Status::OK", referenced from: arrow::flight::(anonymous namespace)::FlightServiceImpl::ListFlights(grpc::ServerContext*, arrow::flight::protocol::Criteria const*, grpc::ServerWriter<arrow::flight::protocol::FlightInfo>*) in libarrow_flight.a(server.cc.o) arrow::flight::(anonymous namespace)::FlightServiceImpl::GetFlightInfo(grpc::ServerContext*, arrow::flight::protocol::FlightDescriptor const*, arrow::flight::protocol::FlightInfo*) in libarrow_flight.a(server.cc.o) arrow::flight::(anonymous namespace)::FlightServiceImpl::GetSchema(grpc::ServerContext*, arrow::flight::protocol::FlightDescriptor const*, arrow::flight::protocol::SchemaResult*) in libarrow_flight.a(server.cc.o) arrow::flight::(anonymous namespace)::FlightServiceImpl::DoGet(grpc::ServerContext*, arrow::flight::protocol::Ticket const*, grpc::ServerWriter<arrow::flight::protocol::FlightData>*) in libarrow_flight.a(server.cc.o) arrow::flight::(anonymous namespace)::FlightServiceImpl::DoAction(grpc::ServerContext*, arrow::flight::protocol::Action const*, grpc::ServerWriter<arrow::flight::protocol::Result>*) in libarrow_flight.a(server.cc.o) arrow::flight::(anonymous namespace)::FlightServiceImpl::MakeCallContext(arrow::flight::FlightMethod const&, grpc::ServerContext*, arrow::flight::(anonymous namespace)::GrpcServerCallContext&) in libarrow_flight.a(server.cc.o) grpc::Status arrow::flight::(anonymous namespace)::FlightServiceImpl::WriteStream<arrow::flight::FlightInfo, arrow::flight::FlightListing, arrow::flight::protocol::FlightInfo>(arrow::flight::FlightListing*, grpc::ServerWriter<arrow::flight::protocol::FlightInfo>*) in libarrow_flight.a(server.cc.o) ... "grpc::Status::CANCELLED", referenced from: arrow::flight::(anonymous namespace)::FlightServiceImpl::DoAction(grpc::ServerContext*, arrow::flight::protocol::Action const*, grpc::ServerWriter<arrow::flight::protocol::Result>*) in libarrow_flight.a(server.cc.o) "grpc::g_glip", referenced from: grpc::GrpcLibraryCodegen::GrpcLibraryCodegen(bool) in libarrow_flight.a(protocol_internal.cc.o) grpc::GrpcLibraryCodegen::~GrpcLibraryCodegen() in libarrow_flight.a(protocol_internal.cc.o) "grpc::ServerContextBase::IsCancelled() const", referenced from: arrow::flight::(anonymous namespace)::GrpcServerCallContext::is_cancelled() const in libarrow_flight.a(server.cc.o) "grpc::ServerContextBase::peer() const", referenced from: arrow::flight::(anonymous namespace)::GrpcServerCallContext::GrpcServerCallContext(grpc::ServerContext*) in libarrow_flight.a(server.cc.o) "_grpc_byte_buffer_reader_destroy", referenced from: arrow::flight::internal::GrpcBuffer::Wrap(grpc::ByteBuffer*, std::__1::shared_ptr<arrow::Buffer>*) in libarrow_flight.a(serialization_internal.cc.o) "_grpc_byte_buffer_reader_init", referenced from: arrow::flight::internal::GrpcBuffer::Wrap(grpc::ByteBuffer*, std::__1::shared_ptr<arrow::Buffer>*) in libarrow_flight.a(serialization_internal.cc.o) "_grpc_byte_buffer_reader_readall", referenced from: arrow::flight::internal::GrpcBuffer::Wrap(grpc::ByteBuffer*, std::__1::shared_ptr<arrow::Buffer>*) in libarrow_flight.a(serialization_internal.cc.o) "_grpc_slice_ref", referenced from: arrow::flight::internal::GrpcBuffer::GrpcBuffer(grpc_slice, bool) in libarrow_flight.a(serialization_internal.cc.o) "_grpc_slice_unref", referenced from: arrow::flight::internal::GrpcBuffer::~GrpcBuffer() in libarrow_flight.a(serialization_internal.cc.o) ld: symbol(s) not found for architecture arm64 ``` -- 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]
