Description of problem: Macaulay2 sometimes crashes with backtraces that include calls into mpfr. The Macaulay2 developers identified the problem: "Compiling mpfr with thread local variables is incompatible with libgc, because some libgc pointers are cached in the variables gmpfr_cache_const_pi, __gmpfr_cache_const_log2, __gmpfr_cache_const_euler, __gmpfr_cache_const_catalan." They say that Macaulay2 must be linked with an mpfr that has been configured with --disable-thread-safe. We do not have such a library in Fedora. Is it possible that two versions of the mpfr library could be built, the optimized one as now, and also perhaps libmpfr-gc.so.<version>? Note that this will also be a problem for any other application that uses both mpfr and gc. (Not that I know that there are any such applications...) Version-Release number of selected component (if applicable): mpfr-3.1.2-8.fc22.x86_64 How reproducible: Sometimes. Steps to Reproduce: 1. Run the Macaulay2 test suite 2. 3. Actual results: Sometimes the test suite completes normally, sometimes it segfaults with a backtrace that includes mpfr calls. Expected results: Normal completion, always. Additional info:
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Is this still needed? If yes, is there a prior art for this in other distributions?