[PATCH] Work around conflicting declarations of math functions

Florian Weimer fweimer@redhat.com
Mon Nov 9 19:41:00 GMT 2015


On 11/09/2015 05:24 PM, Joseph Myers wrote:
> On Mon, 9 Nov 2015, Florian Weimer wrote:
> 
>> On 11/05/2015 01:49 AM, Joseph Myers wrote:
>>> bits/math-finite.h declares -ffinite-math-only variants of various
>>> functions under conditions not matching those under which the normal
>>> versions are declared.
>>
>> Joseph,
>>
>> I may be seeing build failures related to this change, on armhfp (which
>> is, I think, ARMv7 with hardware floating point).  Specifically, this:
> 
> I think this comes from -D_Mlong_double_=double in math-CPPFLAGS, in which 
> case undefining _Mlong_double_ in test-signgam-finite-c99.c ought to allow 
> the test to build OK

I can confirm that the attached patch fixes the build issue on armhfp I
was seeing.  Thanks!

I need some help with the commit message, though.

Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Work-around-conflicting-declarations-of-math-functio.patch
Type: text/x-patch
Size: 596 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20151109/5719ef21/attachment.bin>


More information about the Libc-alpha mailing list