From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3E4D8385741A; Thu, 28 Apr 2022 08:27:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3E4D8385741A From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/105417] New: [11/12 Regression] powerpc64le-linux abilist changes based on --with-long-double-format= Date: Thu, 28 Apr 2022 08:27:23 +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: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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 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 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, 28 Apr 2022 08:27:23 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105417 Bug ID: 105417 Summary: [11/12 Regression] powerpc64le-linux abilist changes based on --with-long-double-format=3D Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- If I build on glibc 2.34 powerpc64le-linux gcc with --enable-languages=3Dc,c++ --disable-libsanitizer --disable-multilib --with-long-double-format=3Dibm --with-long-double-128 --disable-bootstrap vs. --enable-languages=3Dc,c++ --disable-libsanitizer --disable-multilib --with-long-double-format=3Dieee --with-long-double-128 --disable-bootstrap I get a different set of exported symbols. In current releases/gcc-11 (i.e. 11.3.1) the difference from the former to = the latter is: +_ZNKSt17__gnu_cxx_ieee1287num_getIcSt19istreambuf_iteratorIcSt11char_trait= sIcEEE14_M_extract_intB5cxx11IjEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIcSt19istreambuf_iteratorIcSt11char_trait= sIcEEE14_M_extract_intB5cxx11IlEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIcSt19istreambuf_iteratorIcSt11char_trait= sIcEEE14_M_extract_intB5cxx11ImEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIcSt19istreambuf_iteratorIcSt11char_trait= sIcEEE14_M_extract_intB5cxx11ItEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIcSt19istreambuf_iteratorIcSt11char_trait= sIcEEE14_M_extract_intB5cxx11IxEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIcSt19istreambuf_iteratorIcSt11char_trait= sIcEEE14_M_extract_intB5cxx11IyEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIwSt19istreambuf_iteratorIwSt11char_trait= sIwEEE14_M_extract_intB5cxx11IjEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIwSt19istreambuf_iteratorIwSt11char_trait= sIwEEE14_M_extract_intB5cxx11IlEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIwSt19istreambuf_iteratorIwSt11char_trait= sIwEEE14_M_extract_intB5cxx11ImEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIwSt19istreambuf_iteratorIwSt11char_trait= sIwEEE14_M_extract_intB5cxx11ItEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIwSt19istreambuf_iteratorIwSt11char_trait= sIwEEE14_M_extract_intB5cxx11IxEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIwSt19istreambuf_iteratorIwSt11char_trait= sIwEEE14_M_extract_intB5cxx11IyEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT -_ZSt8to_charsPcS_u9__ieee128@@GLIBCXX_IEEE128_3.4.29 FUNC GLOBAL DEFAULT -_ZSt8to_charsPcS_u9__ieee128St12chars_format@@GLIBCXX_IEEE128_3.4.29 FUNC GLOBAL DEFAULT -_ZSt8to_charsPcS_u9__ieee128St12chars_formati@@GLIBCXX_IEEE128_3.4.29 FUNC GLOBAL DEFAULT and on latest trunk the difference is just: +_ZNKSt17__gnu_cxx_ieee1287num_getIcSt19istreambuf_iteratorIcSt11char_trait= sIcEEE14_M_extract_intB5cxx11IjEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIcSt19istreambuf_iteratorIcSt11char_trait= sIcEEE14_M_extract_intB5cxx11IlEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIcSt19istreambuf_iteratorIcSt11char_trait= sIcEEE14_M_extract_intB5cxx11ImEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIcSt19istreambuf_iteratorIcSt11char_trait= sIcEEE14_M_extract_intB5cxx11ItEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIcSt19istreambuf_iteratorIcSt11char_trait= sIcEEE14_M_extract_intB5cxx11IxEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIcSt19istreambuf_iteratorIcSt11char_trait= sIcEEE14_M_extract_intB5cxx11IyEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIwSt19istreambuf_iteratorIwSt11char_trait= sIwEEE14_M_extract_intB5cxx11IjEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIwSt19istreambuf_iteratorIwSt11char_trait= sIwEEE14_M_extract_intB5cxx11IlEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIwSt19istreambuf_iteratorIwSt11char_trait= sIwEEE14_M_extract_intB5cxx11ImEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIwSt19istreambuf_iteratorIwSt11char_trait= sIwEEE14_M_extract_intB5cxx11ItEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIwSt19istreambuf_iteratorIwSt11char_trait= sIwEEE14_M_extract_intB5cxx11IxEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT +_ZNKSt17__gnu_cxx_ieee1287num_getIwSt19istreambuf_iteratorIwSt11char_trait= sIwEEE14_M_extract_intB5cxx11IyEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@= @GLIBCXX_IEEE128_3.4.29 FUNC WEAK DEFAULT The removed symbols for the ieee configuration in 11.3 got fixed on the tru= nk, they are exported in both, but the extra symbols are only present in the ie= ee builds. I think we should make sure they are exported also in the ibm builds (of co= urse only if glibc is new enough, for old glibc there are no @@GLIBCXX_IEEE128* = and no @@CXXABI_IEEE128* symbols.=