Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727690 - sci-libs/tensorflow-2.2.0 ABSL_FALLTHROUGH_INTENDED not declared
Summary: sci-libs/tensorflow-2.2.0 ABSL_FALLTHROUGH_INTENDED not declared
Status: RESOLVED OBSOLETE
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-06-09 16:20 UTC by Helmut Jarausch
Modified: 2022-02-26 17:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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