This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Use -frounding-math for math testsuite
On Mon, 7 May 2012, David Miller wrote:
> Unfortunately, this change causes all kinds of math test failures on sparc.
> For example, see math/test-double.out below.
The change to build some tests with -frounding-math, or the change to
build all of glibc with it?
> I think we should revert this until we can sort it out, especially since
> I anticipate that it will take quite some time to do so.
If it's the change to build all of libc with -frounding-math, maybe adding
something to a SPARC makefile to build just one lgamma source file with
-fno-rounding-math would work around the problem until you can work out
where the problem really lies (likely a compiler bug)? All these tests
relate to lgamma (gamma is a alias of lgamma) or tgamma (which works by
exp (lgamma)) so it looks rather like only one source file is involved.
--
Joseph S. Myers
joseph@codesourcery.com