What | Removed | Added |
---|---|---|
CC | cgoll@suse.com, guillaume.gardet@arm.com | |
Flags | needinfo?(cgoll@suse.com) |
I tried to apply this upstream patch: https://github.com/tensorflow/tensorflow/commit/f1a3ea4d5441f116dfa4083f7a60507bef4dfcfc But it fails on the link with: ****************************** [17882s] ERROR: /home/abuild/rpmbuild/BUILD/tensorflow2-2.1.2/tensorflow/BUILD:636:1: Linking of rule '//tensorflow:libtensorflow.so.2.1.2' failed (Exit 1) [17882s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: bazel-out/k8-opt/bin/tensorflow/core/distributed_runtime/rpc/libgrpc_master_service.pic.lo(grpc_master_service.pic.o): in function `tensorflow::GrpcMasterService::Shutdown()': [17882s] grpc_master_service.cc:(.text._ZN10tensorflow17GrpcMasterService8ShutdownEv[_ZN10tensorflow17GrpcMasterService8ShutdownEv]+0xb4): undefined reference to `gpr_now' [17882s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: bazel-out/k8-opt/bin/tensorflow/core/distributed_runtime/rpc/eager/libgrpc_eager_service_impl.pic.a(grpc_eager_service_impl.pic.o): in function `grpc::Service::MarkMethodAsync(int)': [17882s] grpc_eager_service_impl.cc:(.text._ZN4grpc7Service15MarkMethodAsyncEi[_ZN4grpc7Service15MarkMethodAsyncEi]+0x9e): undefined reference to `gpr_log' [17882s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: grpc_eager_service_impl.cc:(.text._ZN4grpc7Service15MarkMethodAsyncEi[_ZN4grpc7Service15MarkMethodAsyncEi]+0x13e): undefined reference to `gpr_log' [17882s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: bazel-out/k8-opt/bin/tensorflow/core/distributed_runtime/rpc/eager/libgrpc_eager_service_impl.pic.a(grpc_eager_service_impl.pic.o): in function `tensorflow::eager::GrpcEagerServiceImpl::Shutdown()': [17882s] grpc_eager_service_impl.cc:(.text._ZN10tensorflow5eager20GrpcEagerServiceImpl8ShutdownEv+0x17): undefined reference to `gpr_now' [17882s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: bazel-out/k8-opt/bin/tensorflow/core/distributed_runtime/rpc/libgrpc_remote_worker.pic.a(grpc_remote_worker.pic.o): in function `tensorflow::RPCState<google::protobuf::Message>::StartCall()': [17882s] grpc_remote_worker.cc:(.text._ZN10tensorflow8RPCStateIN6google8protobuf7MessageEE9StartCallEv[_ZN10tensorflow8RPCStateIN6google8protobuf7MessageEE9StartCallEv]+0x88): undefined reference to `gpr_time_from_millis' [17882s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: bazel-out/k8-opt/bin/tensorflow/core/distributed_runtime/rpc/libgrpc_remote_worker.pic.a(grpc_remote_worker.pic.o): in function `tensorflow::RPCState<tensorflow::TensorResponse>::StartCall()': [17882s] grpc_remote_worker.cc:(.text._ZN10tensorflow8RPCStateINS_14TensorResponseEE9StartCallEv[_ZN10tensorflow8RPCStateINS_14TensorResponseEE9StartCallEv]+0x88): undefined reference to `gpr_time_from_millis' [17882s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: bazel-out/k8-opt/bin/tensorflow/core/distributed_runtime/rpc/libgrpc_worker_service_impl.pic.a(grpc_worker_service_impl.pic.o): in function `tensorflow::grpc::WorkerService::AsyncService::AsyncService()': [17882s] grpc_worker_service_impl.cc:(.text._ZN10tensorflow4grpc13WorkerService12AsyncServiceC2Ev+0x13d): undefined reference to `gpr_log' [17882s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: grpc_worker_service_impl.cc:(.text._ZN10tensorflow4grpc13WorkerService12AsyncServiceC2Ev+0x20a): undefined reference to `gpr_log' [17882s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: bazel-out/k8-opt/bin/tensorflow/core/debug/libdebug_io_utils.pic.lo(debug_io_utils.pic.o): in function `tensorflow::DebugGrpcChannel::Connect(long long)': [17882s] debug_io_utils.cc:(.text._ZN10tensorflow16DebugGrpcChannel7ConnectEx+0x16b): undefined reference to `gpr_time_from_micros' [17882s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: debug_io_utils.cc:(.text._ZN10tensorflow16DebugGrpcChannel7ConnectEx+0x17b): undefined reference to `gpr_now' [17882s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: debug_io_utils.cc:(.text._ZN10tensorflow16DebugGrpcChannel7ConnectEx+0x18c): undefined reference to `gpr_time_add' [17882s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: bazel-out/k8-opt/bin/tensorflow/core/distributed_runtime/rpc/libgrpc_master_service_impl.pic.a(grpc_master_service_impl.pic.o): in function `tensorflow::grpc::MasterService::AsyncService::AsyncService()': [17882s] grpc_master_service_impl.cc:(.text._ZN10tensorflow4grpc13MasterService12AsyncServiceC2Ev+0x143): undefined reference to `gpr_log' [17882s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: grpc_master_service_impl.cc:(.text._ZN10tensorflow4grpc13MasterService12AsyncServiceC2Ev+0x207): undefined reference to `gpr_log' [17882s] collect2: error: ld returned 1 exit status [17882s] Target //tensorflow:libtensorflow.so failed to build ****************************** We should probably update Tensorflow2 to 2.3 or 2.4(-rcX). @Christian, any ETA for an update?