From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id AA8D53857017; Mon, 4 Oct 2021 16:47:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AA8D53857017 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: 5L6IiQEhdlK6e+vIAJsAQe/nroYN1v7x7Jpr5JJQqvEw10isnugPfGOjDXj+x4iF9ANPST0rvj X2mQ492kYeNr3N/qWsYAsgZ07rI/ASPrg8AC5/yr9KZ1GNs3ZjDgbekINLbTkKzPOtcjQ5v2gl eVw7t27LSdS/GXsibgSztJouVFsEDtRtUoF3jlIpXtdotuoCwgDjTTPSvoWS/llCkx6RsFD+KM /FGkAm2YCBkjYSG/K4r1gJhDjwB9wEXijutR5cnamQ5h40JveojLh3AOVP8tCaQ4XLDFyrE1Ln pdJkJMbCvIxVsZBYXk56FluT X-IronPort-AV: E=Sophos;i="5.85,346,1624348800"; d="scan'208";a="66628537" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 04 Oct 2021 08:47:28 -0800 IronPort-SDR: p1K6Y9KW92avcnBQbhparieNf9I9UvS23kqV8DkBHfGO/icsBeCqf9X8Zr4cqMIHd3ZOaR1xrj G8N6bZxYe7qlRXpNhG0LfIclzTe4Kg+7RrevxftG/7uwvaBRiCJHnSttJjEULcdGhZrRG8bqsX kxy+/KX8YgWMe4FRBwbuYg9WUHxPB7TOU3T+cPFGNgbUcSaIBjBaT+0SvKCu+zN4wqkS7aNj9e xme/8e6gU5iYzoexVWY9gqcSL9kdidw8sXO+woDvB+enhaX0M4dUIuj2yOuS+CPJZ1bAFvyUo7 QBg= Date: Mon, 4 Oct 2021 16:47:22 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Jakub Jelinek CC: , , Tobias Burnus , Segher Boessenkool , Michael Meissner , Jonathan Wakely Subject: Re: libgfortran.so SONAME and powerpc64le-linux ABI changes In-Reply-To: <20211004141410.GP304296@tucnak> Message-ID: References: <20211004100754.GL304296@tucnak> <20211004141410.GP304296@tucnak> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-06.mgc.mentorg.com (139.181.222.6) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3117.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2021 16:47:31 -0000 On Mon, 4 Oct 2021, Jakub Jelinek via Gcc wrote: > One problem with that is that I think IEEE quad long double support relies > on glibc 2.32 or later, so not sure what exactly would be done if gcc is > built against older glibc when it needs to call libm routines. Perhaps > convert to __ibm128, call the __ibm128 sinl etc. and convert back (big loss > of precision and range, but at least something). Using libquadmath functions would be better in that case - arranging for libquadmath to be built in this case if it isn't already - than converting to __ibm128. (On the other hand, when _Float128 functions are available in libm, I think it would be better for Fortran to call those rather than libquadmath functions - *f128 (or the __*ieee128 aliases available on powerpc64le for namespace reasons, not sure if those namespace reasons have any relevance to Fortran) instead of *q. See my comments on that in .) -- Joseph S. Myers joseph@codesourcery.com