From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9DD753858C83; Wed, 19 Apr 2023 14:25:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9DD753858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681914333; bh=VPCTq7vvMAG/xU02u4qw8yaeklkD1fZhRjOyWSfqQYk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yg3TcPedaRaKtmjSRA8bVVLu/jerfCM7bkvcrS1ot2jYyb/7Fn/hK2FvvAIMuuY+4 /lIvvghYmseLDKduKbV4oq7+LU14JbvyN/iQK8dN7HeYIW8iX7Ls53ixytqV1JQ68w +ZPjNbAwai3w24ySCT5bsgMZGTl/Cs4Ry16EtK2g= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/108969] [13/14 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol Date: Wed, 19 Apr 2023 14:25:33 +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: 13.0 X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108969 --- Comment #22 from Jakub Jelinek --- extern int cinalias __attribute__((__symver__ ("_ZSt4cin@GLIBCXX_3.4"))); void foo () { cinalias++; } doesn't work to refer to older symver, but extern int cinalias; asm (".symver cinalias, _ZSt4cin@GLIBCXX_3.4"); void foo () { cinalias++; } does. Of course, needs testing with old binutils and the like.=