Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 727690

Summary: sci-libs/tensorflow-2.2.0 ABSL_FALLTHROUGH_INTENDED not declared
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Jason Zaman <perfinion>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Helmut Jarausch 2020-06-09 16:20:21 UTC
First,
tensorflow/stream_executor/kernel.h needs an additional 

#include <cstring>

and replace  std::memcpy  by memcpy.

But then it fails with
tensorflow/core/lib/io/cache.cc: In static member function 'static uint32_t tensorflow::table::{anonymous}::ShardedLRUCache::Hash(const char*, size_t, uint32_t)':
tensorflow/core/lib/io/cache.cc:430:9: error: 'ABSL_FALLTHROUGH_INTENDED' was not declared in this scope


This is with gcc-9.3.0
Comment 1 Jason Zaman gentoo-dev 2022-02-26 17:35:51 UTC
tf-2.2 is gone from the tree