Compiling GMP 6.0.0a failed (Solaris 11/SPARC): '__gmpn_clz_tab' undeclared

Torbjörn Granlund tg at
Mon Dec 8 17:26:25 UTC 2014

Marc Glisse <marc.glisse at> writes:

  > Also, in config.guess, we can recognize ultrasparct4 on linux (via
  > /proc/cpuinfo) but not on solaris (the lists for prtconf and sysctl
  > stop at UltraSPARC-T3).
  And we don't recognize the T5 anywhere.
  Torbjörn, should I add T5 support by extrapolating from T4? It is
  supposed to be very similar to the T4 so it should be fine, but I have
  no way to test.

Please do.  And please make GNU/Linux, Solaris, *BSD all know the same
set of CPUs.  I.e., add t4 and t5 in several cases.

Don't forget to fix config.sub and

For, we should assume t4 = t5.

Please encrypt, key id 0xC8601622

More information about the gmp-bugs mailing list