[MPFR] bug report (?)

Vincent Lefevre vincent at vinc17.net
Mon Apr 14 23:29:44 UTC 2014

On 2014-04-14 16:21:47 -0600, Matthew Niemerg wrote:
> I am submitting this to both gmp and mpfr, as I am not sure where the
> culprit of this bug really is.  I have downloaded the latest gmp (6.0.0a --
> there wasn't a 6.0.0 option) and have successfully built it.  However, when
> I attempted to compile mpfr with the latest gmp, doing both an internal
> build (--with-gmp-build) and gmp directory flags (--with-gmp-dir), during
> the configure step, I received an error
> "
> configure: error: GMP_NUMB_BITS is incorrect.
> You probably need to change some of the GMP or MPFR compile options.
> "

It could be an ABI related problem due to an incorrect installation.
You should provide the config.log of GMP and MPFR.

> I am using no additional configure flags, apart from using the gcc-4.7.3
> compiler.

If you use CC=gcc-4.7.3 in the configure line, this will disable the
automatic CFLAGS detection by MPFR, with known problems if you are on
a machine with a 32-bit ABI by default. Something like that.

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-bugs mailing list