Bug#671866: gmp: causes gcc ICEs on amd64 and kfreebsd-amd64

Torbjorn Granlund tg at gmplib.org
Wed May 9 10:04:11 CEST 2012

"Steve M. Robbins" <steve at sumost.ca> writes:

  Torbjorn: which emulator caused a problem for GMP in the past?  What
  was the symptom?  How does the run-time detection get confused by it?
  Was the GMP patch applied?
I cannot recall which one it was.  Please search the mailing list
archive for the last few months.

I wouldn't say GMP's run-time detection got confused in that particular
case since it did what it was designed to do.  There, the emulator [as
configured by the user] claimed "I support AMD64", then "I am a Pentium
2".  It was proposed that GMP should distrust the latter claim and trust
the former claim, and make correct! guesses of which AMD64 instructions
it is safe to use.  I remain unconvinced that GMP can safely handle such
situations, and I consider the emulator or its configuration in the
particular case to be buggy.


More information about the gmp-bugs mailing list