illegal instruction error with "get_d"

Torbjorn Granlund tg at
Thu Apr 3 00:17:25 UTC 2014

leif <not.really at> writes:

  On 03.04.2014 00:31, Torbjorn Granlund wrote:
  > edA-qa mort-ora-y <eda-qa at> writes:
  >    Is there anything I can do now to bypass/workaround the issue?
  > The problem code is generated by gcc, directed by command line options
  > passed by GMP.
  > The problem switch is almost surely -march=bdver1 which presumably is
  > part of CFLAGS (and CXXFLAGS if you did --enable-cxx).  Check the used
  > values, around 50 lines down in the output of configure, then restart
  > configure passing CFLAGS="...", using the flags minus -march=bdver1.
  ... or using the flags with '-march=bdver1' substituted by
  -march=bdver1 -mno-avx'.
Thanks, I wasn't aware of that GCC option.

I suppose we just need to make sure -mno-avx is available for every gcc
version where -march=bdver1 exist.

Please encrypt, key id 0xC8601622

More information about the gmp-bugs mailing list