Several independent build and test failures

Torbjörn Granlund tg at
Sat Feb 25 03:01:31 UTC 2017

tg at (Torbjörn Granlund) writes:

  3. silvermont-unknown-freebsd11.0   64
     silvermont-unknown-freebsd11.0  64
     silvermont-unknown-freebsd11.0    64
  For some strange reason BMOD_1_TO_MOD_1_THRESHOLD is not put in
  config.m4 in a few cases, causing linker errors.  I have no idea why
  this happens.  There have been no source changes in this area as far as
  I know.

This is caused by that the (new) silvermont gmp-mparam correctly
suggests that mod_1_* never outperforms bmod.  Then
BMOD_1_TO_MOD_1_THRESHOLD becomes infinity approximated by
MP_SIZE_T_MAX.  This in turns is not matches by's sed
regexp, meaning that BMOD_1_TO_MOD_1_THRESHOLD is not put in config.m4.

The fix?  Presumably to allow MP_SIZE_T_MAX as a value here, and have
the shared asm file handle it by excluding the pessimal code.

Please encrypt, key id 0xC8601622

More information about the gmp-devel mailing list