Several independent build and test failures

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


tg at gmplib.org (Torbjörn Granlund) writes:

  3. silvermont-unknown-freebsd11.0  nshell.gmplib.org-stat-cc-c++   64
     silvermont-unknown-freebsd11.0  nshell.gmplib.org-stat-gcc-g++  64
     silvermont-unknown-freebsd11.0  nshell.gmplib.org-dyn-cc-c++    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 configure.ac'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.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-devel mailing list