Make bits/math-finite.h conditions match other headers (bug 19205) [committed]
Joseph Myers
joseph@codesourcery.com
Mon Nov 9 16:25:00 GMT 2015
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 (and would seem reasonable as a fix until we either
(a) untangle issues with _LIBC and other defines relevant when building
glibc also being used for building tests, or (b) sort out issues with
declarations of floating-point functions that alias functions with other
types so that tests can cleanly test the aliases, which would be necessary
for any sort of TS 18661-3 support).
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list