From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 08BE03858409 for ; Mon, 4 Oct 2021 12:31:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 08BE03858409 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-562-XAiPID4QOSCD6aUE8f5sHA-1; Mon, 04 Oct 2021 08:31:49 -0400 X-MC-Unique: XAiPID4QOSCD6aUE8f5sHA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 137418464BA; Mon, 4 Oct 2021 12:31:47 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.193.109]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4C31B60BF4; Mon, 4 Oct 2021 12:31:46 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.16.1/8.16.1) with ESMTPS id 194CVhGf393985 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 4 Oct 2021 14:31:43 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 194CVgmn393983; Mon, 4 Oct 2021 14:31:42 +0200 Date: Mon, 4 Oct 2021 14:31:41 +0200 From: Jakub Jelinek To: Richard Biener , Florian Weimer , GCC Development , Segher Boessenkool , "fortran@gcc.gnu.org" , Tobias Burnus Subject: Re: libgfortran.so SONAME and powerpc64le-linux ABI changes Message-ID: <20211004123141.GO304296@tucnak> Reply-To: Jakub Jelinek References: <20211004100754.GL304296@tucnak> <20211004113656.GM304296@tucnak> MIME-Version: 1.0 In-Reply-To: <20211004113656.GM304296@tucnak> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_MANYTO, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=unavailable 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 12:31:52 -0000 On Mon, Oct 04, 2021 at 01:36:56PM +0200, Jakub Jelinek via Gcc wrote: > On Mon, Oct 04, 2021 at 01:24:05PM +0200, Richard Biener wrote: > > > Your thoughts on this? > > > > How does glibc deal with this? There's a load of long double ABI in there. > > I don't know, CCing Florian; all I can see is that starting with glibc 2.26 > in addition to sin{f,,l} there is also sinf128, but dunno if glibc headers > transparently map sinl to sinf128 or something else for the IEEE quad long > double or what. But I believe glibc is like libstdc++ in that the same > libc.so.6 is ABI compatible with both ABIs (well, also the one where > long double is double, in that case I think glibc headers transparently > remap sinl to sin etc.). Carlos said it is the __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1 stuff in math.h etc., so I expect it is actually sinl -> __sinieee128 redirection (using extern long double sinl (long double) __asm ("__sinieee128"); or so, but through a lot of preprocessor macros). Jakub