From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8C2E5385C403; Wed, 23 Feb 2022 15:57:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C2E5385C403 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/103407] [12 regression] abi_check FAILs on Solaris Date: Wed, 23 Feb 2022 15:57:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: ABI, testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2022 15:57:25 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103407 --- Comment #4 from Jonathan Wakely --- Rainer, is an executable linked against libstdc++.so.6.0.29 on Solaris 11.3 expected to work on an 11.4 machine with libstdc++.so.6.0.30? With a #ifdef kluge in config/abi/pre/gnu.ver we can make the new from_chars symbols get version GLIBCXX_3.4.30 on 11.3 and keep them at version 3.4.29 = for 11.4. But that would mean a program linked on 11.3 and looking for _ZSt10from_charsPKcS0_RdSt12chars_format@GLIBCXX_3.4.30 would not find it on 11.4. We can fix that with some symbol aliases for Solaris 11.4 to make it available for both symbol versions if needed.=