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++
Changes between GMP version 5.0.4 and 5.0.5
* 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.
* A couple of tests added to the self-check suite.
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/.