This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use -frounding-math for math testsuite

On 05/07/2012 09:15 PM, Joseph S. Myers wrote:
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.


is this really my change to build all of libc with -frounding-math? Just remove -frounding-math from Makeconfig (it has +math-flags = -frounding-math) to check...

 Andreas Jaeger aj@{,} Twitter/Identica: jaegerandi
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]