﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
2578	MPFR 2.4.2 fails to build with GMP 5.0.0 (And some other important MPFR patches)	willimm	lfs-book@…	"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."	defect	closed	normal	6.6	Book	SVN	normal	worksforme		
