New GMP release

Torbjorn Granlund tg at gmplib.org
Sun May 6 14:19:04 CEST 2012


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

The new release can be downloaded from the main GNU ftp site:
  xz format:    ftp://ftp.gnu.org/gnu/gmp/gmp-5.0.5.tar.xz
  bzip2 format: ftp://ftp.gnu.org/gnu/gmp/gmp-5.0.5.tar.bz2

These files can also be found from the main GMP domain, e.g.
ftp://ftp.gmplib.org/pub/gmp/gmp-5.0.5.tar.xz.

The changes between this release and the previous release are limited
to various safe bug fixes and portability improvements.

GMP 5.0 is the currently maintained stable release series; we
recommend everyone to switch from earlier GMP releases to GMP 5.0.5.

While GMP bugs do happen, the absolutely most common cause for
incorrect computations with GMP is bugs in the compiler used for
building he library.  It cannot be said enough times: Please run "make
check" after you've built GMP.  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 library 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
http://gmplib.org/.  GCC version 4.3.2 is known to miscompile this GMP
release on all 64-bit platforms; this manifests itself at a check
failure in tests/mpz/t-root.c.


The GMP 5.0 release series would not have been possible without the
very devoted work of Niels Möller and Marco Bodrato.  Torbjörn
Granlund coordinated the development and release, and did a fair
amount of development work himself.  Marc Glisse helped with the C++
wrapper.


Changes between GMP version 5.0.4 and 5.0.5

  BUGS FIXED
  * A bug causing AMD 11h processors to be treated like AMD 10h has been fixed.
    The 11h processors do not correctly handle all 10h (aka K10) instructions,
    and GMP's use of these instructions results in major miscomputations (not
    as one would have hoped CPU traps of some 'illegal instruction' sort).

  * A bug affecting recent Intel Sandy Bridge CPUs resulting in configuration
    failures has been fixed.

  SPEEDUPS
  * None.

  FEATURES
  * A couple of tests added to the self-check suite.

  MISC
  * None.


There is a public repository for GMP, please see the GMP web site at
http://gmplib.org/ for more information.

Torbjörn's work on GMP is sponsored by "Stiftelsen för Strategisk
Forskning", through CIAM at KTH, http://www.ciam.kth.se/.

-- 
Torbjörn


More information about the gmp-announce mailing list