6.0.0 crash at high precision mul?

Vincent Lefevre vincent at vinc17.net
Thu Jun 5 12:07:39 UTC 2014


On 2014-06-05 12:43:33 +0200, Viktor Kletzhändler wrote:
> Thanks for the reply. There is a known problem with mpfr and
> thread-safety on this platform (my compiler does not support this
> sort of TLS). Sorry I forgot about that.
> 
> However, I rebuilt gmp 6.0.0 with --enable-alloca=malloc-reentrant
> --disable-fft and now it _seems_ to work. The sin() test passes up
> to 5,000,000 bits.

If TLS is not supported, then there is no guarantee that the result
is correct (of course, it depends on the execution). But that's the
MPFR side...

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the gmp-discuss mailing list