From: MAHESH BODAPATI <bmahi496@linux.ibm.com>
To: Florian Weimer <fweimer@redhat.com>
Cc: MAHESH BODAPATI via Libc-alpha <libc-alpha@sourceware.org>,
rajis@linux.ibm.com, Mahesh Bodapati <mahesh.bodapati@ibm.com>
Subject: Re: [PATCH] powerpc:GCC(<10) doesn't allow -mlong-double-64 after -mabi=ieeelongdouble
Date: Tue, 16 May 2023 13:18:31 +0530 [thread overview]
Message-ID: <49298254-1d5c-2ae8-76cd-6d8ba64a22f0@linux.ibm.com> (raw)
In-Reply-To: <87lehp75x0.fsf@oldenburg.str.redhat.com>
On 16/05/23 12:56 am, Florian Weimer wrote:
> * MAHESH BODAPATI:
>
>> On 15/05/23 6:39 pm, Florian Weimer wrote:
>>> * MAHESH BODAPATI via Libc-alpha:
>>>
>>>> From: Mahesh Bodapati <mahesh.bodapati@ibm.com>
>>>>
>>>> Removed -mabi=ieeelongdouble on failing tests. It resolves the error.
>>>> error: ‘-mabi=ieeelongdouble’ requires ‘-mlong-double-128’
>>> I think this is only need if GCC defaults to -mabi=ieeelongdouble, and
>>> GCC 10 is not ready for that for different reasons?
>> Yes,these tests are under "sysdeps/ieee754/ldbl-opt" and ieee754
>> defaults to -mabi=ieeelongdouble and the
>>
>> CFLAGS were appended with -mlong-double-64 in commit
>> dee2bea048b688b643a9a ,but powerpc gcc (<10)
>>
>> doesn't support mabi=ieeelongdouble with -mlong-double-64.the support
>> has been addedin gcc 12.1 and
>>
>> it has been back-ported till gcc 10 so we are filtering out the
>> -mabi=ieelongdouble to make it work
> I think if you backport this stuff to GCC 10, you should also pick up
> the commit that fixed GCC. I believe its commit cb16bc3b5f34733ef9bb
> ("rs6000: Allow -mlong-double-64 after -mabi={ibm,ieee}longdouble
> [PR104208, P R87496]").
Yes,that's the commit. we planned to switch the flags with respect to
GCC version but I don't see a existing mechanism for switching the
CFLAGS based on the target and GCC version so
we are filtering out the flag "-mabi=ieeelongdouble" to make it work on
all the PowerPC GCC versions.
>
> Thanks,
> Florian
>
next prev parent reply other threads:[~2023-05-16 7:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-12 10:22 MAHESH BODAPATI
2023-05-15 13:09 ` Florian Weimer
2023-05-15 18:03 ` MAHESH BODAPATI
2023-05-15 19:26 ` Florian Weimer
2023-05-16 7:48 ` MAHESH BODAPATI [this message]
2023-05-17 22:08 ` Rajalakshmi Srinivasaraghavan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49298254-1d5c-2ae8-76cd-6d8ba64a22f0@linux.ibm.com \
--to=bmahi496@linux.ibm.com \
--cc=fweimer@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=mahesh.bodapati@ibm.com \
--cc=rajis@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).