From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 852853857C58; Thu, 21 Oct 2021 03:47:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 852853857C58 From: "qiu.chaofan at outlook dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/100912] powerpc64le: ieee128 long double incorrectly printed when using shared libstdc++ Date: Thu, 21 Oct 2021 03:47:58 +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: 11.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: qiu.chaofan at outlook dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: Thu, 21 Oct 2021 03:47:58 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100912 --- Comment #8 from Qiu Chaofan --- > Looks like we need two different versions of that symbol, with different = mangled names. Yes, I did a little hack: adding another symbol `__convert_from_v_ieee128` (guarded under macro __LONG_DOUBLE_IEEE128__), and use the macro to determi= ne call `__convert_from_v_ieee128` or `__convert_from_v` in callers, which sho= ws expected result.=