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 D256E3858409 for ; Mon, 4 Oct 2021 11:37:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D256E3858409 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-186-BxLpCFwHMLubgFkVslVY9g-1; Mon, 04 Oct 2021 07:37:02 -0400 X-MC-Unique: BxLpCFwHMLubgFkVslVY9g-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5A1ED19057A2; Mon, 4 Oct 2021 11:37:01 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.193.109]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A09E160657; Mon, 4 Oct 2021 11:37:00 +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 194Bavvf393439 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 4 Oct 2021 13:36:57 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 194BauSQ393438; Mon, 4 Oct 2021 13:36:56 +0200 Date: Mon, 4 Oct 2021 13:36:56 +0200 From: Jakub Jelinek To: Richard Biener , Florian Weimer Cc: "fortran@gcc.gnu.org" , GCC Development , Tobias Burnus , David Edelsohn , Segher Boessenkool Subject: Re: libgfortran.so SONAME and powerpc64le-linux ABI changes Message-ID: <20211004113656.GM304296@tucnak> Reply-To: Jakub Jelinek References: <20211004100754.GL304296@tucnak> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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=-3.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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 11:37:06 -0000 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.). Jakub