Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719274 - sci-libs/tensorflow-2.2.0_rc2 undefined reference to gpr_now, gpr_log etc
Summary: sci-libs/tensorflow-2.2.0_rc2 undefined reference to gpr_now, gpr_log etc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-24 18:31 UTC by Helmut Jarausch
Modified: 2020-10-09 03:43 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log xz-compressed (tensorflow-2.2.0_rc2.build.xz,75.40 KB, application/x-xz)
2020-04-24 18:31 UTC, Helmut Jarausch
Details
emerge --info output (tensorflow.einfo,22.99 KB, text/plain)
2020-04-24 18:31 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2020-04-24 18:31:14 UTC
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'
Comment 1 Helmut Jarausch 2020-04-24 18:31:54 UTC
Created attachment 634418 [details]
emerge --info output
Comment 2 Harris Landgarten 2020-04-26 03:59:37 UTC
same here
Comment 3 Miroslav Piskor 2020-04-27 19:36:40 UTC
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
Comment 4 Paul Bors 2020-05-14 01:45:41 UTC
Breaks on AMD64, had to downgrade to grpc-1.26.0 to have it compiled which is now working on NVIDIA GeForce video cards.
Comment 5 Jason Zaman gentoo-dev 2020-10-09 03:43:04 UTC
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