This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Make bits/math-finite.h conditions match other headers (bug 19205) [committed]
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 9 Nov 2015 16:24:53 +0000
- Subject: Re: Make bits/math-finite.h conditions match other headers (bug 19205) [committed]
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1511050049220 dot 18787 at digraph dot polyomino dot org dot uk> <5640BD9A dot 3090000 at redhat dot com>
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