From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 967E93858D39; Tue, 28 Feb 2023 13:08:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 967E93858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677589709; bh=uXDwwuFoU0SwSl7mQd+bcyumyj03CwEhKgNEv0/cS/I=; h=From:To:Subject:Date:From; b=lYhCISD6bLLNIIRtXpYnERhalUm8Ejv+5fX49EbVMCj50ErBog14ztvq5ommsXikM f5pxPD0FYz5FNh6MHya3ZqV5+tfkVwHkfuPCzB01+behZmXPteID5lXdhXMClTkvrx NX1Tb8jp2zKPYmHOue+thTKKvDh0L9EpLdpS6R9U= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/108969] New: [13 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol Date: Tue, 28 Feb 2023 13:08:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108969 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 rel= ies 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 bet= ter to get an error from ld.so=