GMP 6.1.2 released

Torbjörn Granlund tg at
Mon Dec 19 13:31:15 UTC 2016

A new minor release of the GNU Multiple Precision Arithmetic Library
(GMP) is now available.  The new release is identified as 6.1.2.

The release can be downloaded from here:     (smallest)    (largest)

These files can also be found at the GNU main site as well as its
many mirrors.

Signature files are also available:

GMP 6.1.2 is a bug fix release.

As usually, we repeat and underline: please run "make check" after
you've built your library.  And if "make check" stops with an error,
do not use the compiled library.  When this happens, you've almost
surely run into a compiler bug, not a GMP bug, since we've of course
made sure the library passes its own test suite.  The first thing to
try at this point is using a different compiler.  See also

We have further expanded the testing configurations to over 2000, and
now include Mini-GMP in almost all of these configurations.  Thanks to
both the broad testing and careful development, we expect this to be a
very stable release.

GMP releases would not be possible without the hard work of Niels Möller
and Marco Bodrato, or Marc Glisse's work on the C++ interface.  As
usual, Torbjörn Granlund coordinated the development and release, and
did a fair amount of development work himself.

Important changes between GMP version 6.1.1 and 6.1.2

  * Mini-GMP: Fixed a division bug, which on a machine with 64-bit
    unsigned long affects approximately 1 out of 2^32 divisors.

  * Mini-GMP: Fix mpz_set_str crash on inputs with a large number of
    leading zeros. Also stricter input validation, rejecting inputs
    with no digits.

  * Handle more systems which require PIC code in static libraries (e.g.,
    "hardened" Gentoo and Debian 9).

  * Configuration for arm (-32 and -64) has been rewritten, fixing poor
    code selection for many CPUs.

  * Mini-GMP: Updated to the latest development version, including
    new functions mpn_com and mpn_neg.

  * None, except for arm CPUs affected by the configuration rewrite.

Please encrypt, key id 0xC8601622

More information about the gmp-announce mailing list