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 ESMTPS id 80EC53858C60 for ; Mon, 24 Jan 2022 17:56:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 80EC53858C60 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-126-4M21XLPXNBSLRK5ksgNYCw-1; Mon, 24 Jan 2022 12:56:30 -0500 X-MC-Unique: 4M21XLPXNBSLRK5ksgNYCw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C7A3546861; Mon, 24 Jan 2022 17:56:29 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.8]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0E22F84FFC; Mon, 24 Jan 2022 17:56:23 +0000 (UTC) From: Florian Weimer To: Paul E Murphy Cc: DJ Delorie via Libc-alpha , DJ Delorie , Tulio Magno Quites Machado Filho , "Paul E. Murphy" Subject: Re: ppc64le: gcc 12 vs -mabi=ibmlongdouble References: <87bl012lfs.fsf@oldenburg.str.redhat.com> Date: Mon, 24 Jan 2022 18:56:22 +0100 In-Reply-To: (Paul E. Murphy's message of "Mon, 24 Jan 2022 11:46:54 -0600") Message-ID: <8735ld2f21.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-6.2 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_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2022 17:56:40 -0000 * Paul E. Murphy: > On 1/24/22 9:38 AM, Florian Weimer wrote: >> * DJ Delorie via Libc-alpha: >> >>> I've been working on updating glibc for Fedora Rawhide, and have >>> stumbled upon this issue (after working around the -Wuse-after-free >>> issues with a cflags hack)... A few of the math tests explicitly add >>> -mlong-double-64 but configure adds -mabi=ibmlongdouble >>> >>> I would guess that we need a "CFLAGS -= -mabi=ibmlongdouble" in all >>> the places we add -mlong-double-64 but I don't see an easy way of >>> doing that, nor am I sure that's a valid solution. Alternately, gcc >>> could be changed to accept the conflicting flags in a meaningful way, >>> if there is one. Is there an -mabi= that undoes the >>> -mabi=ibmlongdouble that we can just add to the -mlong-double-64 flag >>> lines? > > For the sake of my clarification, does this affect more than the 6 > test cases/files in ldbl-opt Makefile? If not, could the removal be > handled case-by-case in sysdeps/powerpc/powerpc64/le/Makefile? That's what I tried in my patch, but it seems to interact negatively with other make constructs, so any CFLAGS-*.c settings stop working for these targets. Thanks, Florian