This is the mail archive of the libc-alpha@sourceware.org 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


From: "Joseph S. Myers" <joseph@codesourcery.com>
Date: Mon, 7 May 2012 19:15:46 +0000 (UTC)

> On Mon, 7 May 2012, David Miller wrote:
> 
>> 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.

So far it looks like the __kernel_standard() call done by lgamma is
going wrong, perhaps the IFUNC of __floor is being misdirected.

This isn't proving easy to diagnose but I'll keep plugging at it.


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