Got a huge number of linker failures when trying to merge 2.7.0-r1: /usr/bin/ld: bazel-out/k8-opt/bin/tensorflow/core/kernels/libunique_op_gpu.pic.lo(unique_op_gpu_0.cu.pic.o): in function `tensorflow::kernel_factory::OpKernelRegistrar::OpKernelRegistrar(tensorflow::KernelDef const*, absl::lts_20210324::string_ view, tensorflow::OpKernel* (*)(tensorflow::OpKernelConstruction*))': tmpxft_0000b816_00000000-6_unique_op_gpu_0.cu.cudafe1.cpp:(.text._ZN10tensorflow14kernel_factory17OpKernelRegistrarC2EPKNS_9KernelDefEN4absl12lts_2021032411string_viewEPFPNS_8OpKernelEPNS_20OpKernelConstructionEE[_ZN10tensorflow14kernel_factory17OpKernelRegistrarC5EPKNS_9KernelDefEN4absl12lts_2021032411string_viewEPFPNS_8OpKernelEPNS_20OpKernelConstructionEE]+0x5b): undefined reference to `tensorflow::kernel_factory::OpKernelRegistrar::InitInternal(tensorflow::KernelDef const*, absl::lts_20210324::string_view, std::unique_ptr<tensorflow::kernel_factory::OpKernelFactory, std::default_delete<tensorflow::kernel_factory::OpKernelFactory> >)' /usr/bin/ld: bazel-out/k8-opt/bin/tensorflow/core/kernels/libunique_op_gpu.pic.lo(unique_op_gpu_0.cu.pic.o): in function `tensorflow::Status tensorflow::errors::Internal<char const*, char const*>(char const*, char const*)': tmpxft_0000b816_00000000-6_unique_op_gpu_0.cu.cudafe1.cpp:(.text._ZN10tensorflow6errors8InternalIJPKcS3_EEENS_6StatusEDpT_[_ZN10tensorflow6errors8InternalIJPKcS3_EEENS_6StatusEDpT_]+0xd9): undefined reference to `tensorflow::Status::Status(tensorflow::error::Code, absl::lts_20210324::string_view, std::vector<tensorflow::StackFrame, std::allocator<tensorflow::StackFrame> >&&)' Full build log to be attached. Reproducible: Always
Created attachment 758835 [details] build.log (gzipped)
Thank you for the report. We need to have all information at hand before ticket assignment. Please provide * the paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Created attachment 758841 [details] emerge info
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60200340ba1bbfe5572c7687ba6b5fa632d4216f commit 60200340ba1bbfe5572c7687ba6b5fa632d4216f Author: Jason Zaman <perfinion@gentoo.org> AuthorDate: 2021-12-24 23:17:07 +0000 Commit: Jason Zaman <perfinion@gentoo.org> CommitDate: 2021-12-24 23:17:07 +0000 sci-libs/tensorflow: Remove broken 2.7.0-r1 2.7.0-r1 moved to C++17 but has several issues. Remove for now until it can be fixed. Bug: https://bugs.gentoo.org/829114 Bug: https://bugs.gentoo.org/829588 Bug: https://bugs.gentoo.org/829716 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Jason Zaman <perfinion@gentoo.org> sci-libs/tensorflow/Manifest | 1 - sci-libs/tensorflow/tensorflow-2.7.0-r1.ebuild | 412 ------------------------- 2 files changed, 413 deletions(-)
tf-2.8 should work now with C++17