https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969
Bug ID: 108969
Summary: [13 Regression] Initializing iostreams in the library
needs a GLIBCXX_3.4.31 versioned symbol
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Keywords: ABI
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: redi at gcc dot gnu.org
Target Milestone: ---
The fix for PR 44952 is an ABI change because code compiled with GCC 13 relies
on the init happening once in the library. If a binary compiled with GCC 13
uses libstdc++.so.6.0.30 at runtime then it will segfault when trying to use
the streams. Even though this scenario is unsupported, it would be much better
to get an error from ld.so