Created attachment 634416 [details] build log xz-compressed sci-libs/tensorflow-2.2.0_rc2 fails to link here ERROR: /var/tmp/portage/sci-libs/tensorflow-2.2.0_rc2/work/tensorflow-2.2.0-rc2-python3_8/tensorflow/BUILD:677:1: Linking of rule '//tensorflow:libtensorflow.so.2.2.0' failed (Exit 1) [2,940 / 2,942] checking cached actions bazel-out/k8-opt/bin/tensorflow/core/distributed_runtime/rpc/_objs/grpc_master_service/grpc_master_service.pic.o:grpc_master_service.cc:function tensorflow::GrpcMasterService::Shutdown(): error: undefined reference to 'gpr_now' bazel-out/k8-opt/bin/tensorflow/core/distributed_runtime/rpc/eager/_objs/grpc_eager_service_impl/grpc_eager_service_impl.pic.o:grpc_eager_service_impl.cc:function grpc::internal::RpcServiceMethod::TypeToString(grpc::internal::RpcServiceMethod::ApiType) [clone .isra.0] [clone .part.0]: error: undefined reference to 'gpr_log' bazel-out/k8-opt/bin/tensorflow/core/distributed_runtime/rpc/eager/_objs/grpc_eager_service_impl/grpc_eager_service_impl.pic.o:grpc_eager_service_impl.cc:function grpc::Service::MarkMethodAsync(int): error: undefined reference to 'gpr_log' bazel-out/k8-opt/bin/tensorflow/core/distributed_runtime/rpc/eager/_objs/grpc_eager_service_impl/grpc_eager_service_impl.pic.o:grpc_eager_service_impl.cc:function tensorflow::eager::GrpcEagerServiceImpl::Shutdown(): error: undefined reference to 'gpr_now' bazel-out/k8-opt/bin/tensorflow/core/distributed_runtime/rpc/_objs/grpc_remote_worker/grpc_remote_worker.pic.o:grpc_remote_worker.cc:function tensorflow::RPCState<google::protobuf::Message>::StartCall(): error: undefined reference to 'gpr_time_from_millis' bazel-out/k8-opt/bin/tensorflow/core/distributed_runtime/rpc/_objs/grpc_remote_worker/grpc_remote_worker.pic.o:grpc_remote_worker.cc:function tensorflow::RPCState<tensorflow::TensorResponse>::StartCall(): error: undefined reference to 'gpr_time_from_millis' bazel-out/k8-opt/bin/tensorflow/core/distributed_runtime/rpc/_objs/grpc_worker_service_impl/grpc_worker_service_impl.pic.o:grpc_worker_service_impl.cc:function tensorflow::grpc::WorkerService::AsyncService::AsyncService(): error: undefined reference to 'gpr_log' bazel-out/k8-opt/bin/tensorflow/core/distributed_runtime/rpc/_objs/grpc_worker_service_impl/grpc_worker_service_impl.pic.o:grpc_worker_service_impl.cc:function tensorflow::grpc::WorkerService::AsyncService::AsyncService(): error: undefined reference to 'gpr_log' bazel-out/k8-opt/bin/tensorflow/core/debug/_objs/debug_io_utils/debug_io_utils.pic.o:debug_io_utils.cc:function tensorflow::DebugGrpcChannel::Connect(long long): error: undefined reference to 'gpr_time_from_micros' bazel-out/k8-opt/bin/tensorflow/core/debug/_objs/debug_io_utils/debug_io_utils.pic.o:debug_io_utils.cc:function tensorflow::DebugGrpcChannel::Connect(long long): error: undefined reference to 'gpr_now' bazel-out/k8-opt/bin/tensorflow/core/debug/_objs/debug_io_utils/debug_io_utils.pic.o:debug_io_utils.cc:function tensorflow::DebugGrpcChannel::Connect(long long): error: undefined reference to 'gpr_time_add'
Created attachment 634418 [details] emerge --info output
same here
Hi, I observed the same behavior with grpc-1.28.1. Tensorflow builds fine with grpc-1.26.0. I also found bugreport https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239185
Breaks on AMD64, had to downgrade to grpc-1.26.0 to have it compiled which is now working on NVIDIA GeForce video cards.
Can you try TF-2.3? It builds against grpc-1.28 on all my systems now. please re-open if there are still issues