From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8D2573858C50; Thu, 17 Aug 2023 14:40:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D2573858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692283210; bh=0eKPGQiNNW2RNcWHM7pxdl19JUMFz/dE3ca8kQi8j90=; h=From:To:Subject:Date:From; b=BLiG3hunLlzp+uZPwlihVjKBDmwDD8zfECaE/10wsTbSXsRQNfUd45YkcyBGMGfkP xrPgPmC94aAo06GJmbnH+8mqqk2Ek7K+9Zu8Djwj5z3fPXQy3kqdQtT0gAuQP3HwTk Ugz2/UECH4UhX2MxUbO3fagLf+9qVeIpj+yLVgGo= From: "rs2740 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/111050] New: [11/12/13/14 Regression] ABI break in _Hash_node_value_base since GCC 11 Date: Thu, 17 Aug 2023 14:40:10 +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: rs2740 at gmail dot com 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=3D111050 Bug ID: 111050 Summary: [11/12/13/14 Regression] ABI break in _Hash_node_value_base since GCC 11 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ABI Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: rs2740 at gmail dot com Target Milestone: --- https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommit;h=3D1b6f0476837205932613ddb= 2b3429a55c26c409d changed _Hash_node_value_base to no longer derive from _Hash_node_base, whi= ch means that its member functions expect _M_storage to be at a different offs= et. So explosions result if an out-of-line definition is emitted for any of the member functions (say, in a non-optimized build) and the resulting object f= ile is then linked with code built using older version of GCC/libstdc++.=