GMP 6.0.0a on AMD A8-6600K

Niels Möller nisse at
Thu Apr 9 08:58:36 UTC 2015

Kevin Buckley <kevin.m.buckley at> writes:

> Suffice to say that I ran the make check with a -k and saw a
> swathe of
> Illegal Instruction

It might be of some help to find out precisely which instruction that is
(it might be an instruction generated by the compiler, or in one of
gmp's assembly files). Ensure that you get proper corefiles, then run
gdb on the failing test program and core file, and do something like

  p $pc

Most likely, gmp was configured to use instructions which aren't
implemented in the (virtual) cpu where you build and test it. This could
be a bug in gmp's configuration machinery, or a bug in the
virtualization environment, or some user error.

It's primarily the (virtual) machine where the tests fail which is


Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.

More information about the gmp-bugs mailing list