#2578: MPFR 2.4.2 fails to build with GMP 5.0.0 (And some other important MPFR
patches)
---------------------+------------------------------------------------------
Reporter: willimm | Owner: lfs-b...@…
Type: defect | Status: new
Priority: highest | Milestone: 6.6
Component: Book | Version: SVN
Severity: blocker | Keywords:
---------------------+------------------------------------------------------
When I was looking at the patches for MPFR on their website, I found a
issue with GMP5 and MPFR 2.4.2: configure fails due to the fact that both
BITS_PER_MP_LIMB and mpn_sqr_n were removed from GMP in version 5.0.0, and
configure checks for these.
More info here:
http://websympa.loria.fr/wwsympa/arc/mpfr/2010-01/msg00008.html
The patch is here:
http://www.mpfr.org/mpfr-current/patch03
Also, there are some other patches for MPFR 2.4.2:
patch01 fixes, according to the site: "If the mpfr_sin_cos function is
called on the minimum positive number or its opposite allowed by the
current MPFR implementation (in the largest exponent range) and the
rounding mode is toward zero or equivalent, then an underflow occurs but
the underflow flag is not set. This bug in fixed by the sin_cos_underflow
patch (which also provides additional tests of mpfr_sin_cos to trigger
this bug)." This patch is located here:
http://www.mpfr.org/mpfr-current/patch01
patch02 allows MPFR to build with GCC 4.4.* under MIPS, which dosen't
affect us, but would probaly affect CLFS, but may as well apply the patch
to avoid offset and/or fuzz:
http://www.mpfr.org/mpfr-current/patch02
I think it would probaly be a good idea to consiladte these patches into
one, like we did with vim, bash, and readline.
Marking as a blocker due to one of the patches fixing a severe issue with
GMP 5.0.0 that keeps it from compiling.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2578>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page