Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912280 - dev-cpp/abseil-cpp: incorrectly packaged absl/base/options.h creates ABI confusion for updates
Summary: dev-cpp/abseil-cpp: incorrectly packaged absl/base/options.h creates ABI conf...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 912819
  Show dependency tree
 
Reported: 2023-08-14 16:15 UTC by Holger Hoffstätte
Modified: 2023-08-22 10:26 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 Holger Hoffstätte 2023-08-14 16:15:18 UTC
This is a meta-issue to track the revelations in the attached PR, but the gist
is that our abseil-cpp installation has installed absl/base/options.h with default settings for various types, which means that any use of abseil has randomly selected ABI depending on the context of compilatoin/use.
With 2023xxyy this has changed and therefore now creates ABI breakage, primarily for users of re2, which has started to pull in abseil.

Reproducible: Always

Steps to Reproduce:
- install abseil-cpp-20220601
- grep "^#define.*STD_" /usr/include/absl/base/options.h
- 2 means compile-time delegation of various classes


Expected Results:  
All consumers of abseil should be forced to C++17 and delegate to the C++17 std:: classes, as that is the default since abseil-2023xxyy.