Did you notice this part:
tests are not linked to the newly compiled library
local version is: 6.2.1
linked version is: 6.2.0
That's what's wrong. GMP's tests then exits to avoid generating
spurious test results.
Why it happens? Well, some sort of linking path of your system
override
* The ‘configure’ options you used when building GMP, if any: No options
* The output from ‘configure’, as printed to stdout, with any options
used.
* The name of the compiler and its version. For |gcc|, get the version
with ‘gcc -v’, otherwise perhaps ‘what `which cc`’, or similar.