From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 3CDD8385802E for ; Mon, 24 Jan 2022 17:46:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3CDD8385802E Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 20OFt8UQ003014 for ; Mon, 24 Jan 2022 17:46:58 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 3dsy5xauw6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 24 Jan 2022 17:46:58 +0000 Received: from m0098419.ppops.net (m0098419.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 20OGpaMS029479 for ; Mon, 24 Jan 2022 17:46:58 GMT Received: from ppma03wdc.us.ibm.com (ba.79.3fa9.ip4.static.sl-reverse.com [169.63.121.186]) by mx0b-001b2d01.pphosted.com with ESMTP id 3dsy5xauw0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Jan 2022 17:46:58 +0000 Received: from pps.filterd (ppma03wdc.us.ibm.com [127.0.0.1]) by ppma03wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 20OHhUvd006401; Mon, 24 Jan 2022 17:46:57 GMT Received: from b01cxnp23033.gho.pok.ibm.com (b01cxnp23033.gho.pok.ibm.com [9.57.198.28]) by ppma03wdc.us.ibm.com with ESMTP id 3dr9j9khj0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Jan 2022 17:46:57 +0000 Received: from b01ledav005.gho.pok.ibm.com (b01ledav005.gho.pok.ibm.com [9.57.199.110]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 20OHkuMe34275798 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 24 Jan 2022 17:46:56 GMT Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 405F9AE063; Mon, 24 Jan 2022 17:46:56 +0000 (GMT) Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 25D96AE062; Mon, 24 Jan 2022 17:46:55 +0000 (GMT) Received: from [9.65.78.116] (unknown [9.65.78.116]) by b01ledav005.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 24 Jan 2022 17:46:54 +0000 (GMT) Message-ID: Date: Mon, 24 Jan 2022 11:46:54 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: ppc64le: gcc 12 vs -mabi=ibmlongdouble Content-Language: en-US To: Florian Weimer , DJ Delorie via Libc-alpha Cc: DJ Delorie , Tulio Magno Quites Machado Filho , "Paul E. Murphy" References: <87bl012lfs.fsf@oldenburg.str.redhat.com> From: Paul E Murphy In-Reply-To: <87bl012lfs.fsf@oldenburg.str.redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: t5O7vlrBwnwPsSbWw0geUEfafNTcqS4m X-Proofpoint-GUID: 2BIfzstjWGYQGNhfYfVDmUwuQkgTnCpL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-24_09,2022-01-24_02,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 mlxlogscore=999 spamscore=0 adultscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1011 bulkscore=0 phishscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2201240116 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, 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:47:00 -0000 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? > >> cc1: error: '-mabi=ibmlongdouble' requires '-mlong-double-128' > > I was able to reproduce with a GCC 12 build configured using > --with-long-double-format=ieee. > > I tried the attached patch to remove the unwanted -mabi=ibmlongdouble, > but it does not work: it removes CFLAGS-*.c processing as a side effect. > > Any suggestions how we can fix this properly? > > Thanks, > Florian >