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

Torbjörn Granlund tg at
Mon Dec 8 17:52:06 UTC 2014

Marc Glisse <marc.glisse at> writes:

  Hmm, we use clz_tab in mpn/sparc64/sparc64.h, but we don't define
  COUNT_LEADING_ZEROS_NEED_CLZ_TAB (and since we provide
  count_leading_zeros it isn't defined automatically), so clz_tab isn't
Tres etrange!

  There is a netbsd sparc64 platform that works (I am not seeing it at today, but I am sure I saw it
  after your post), so there must be something slightly different in
  your configuration, but it does look like we are missing a #define
The system has been busy trying to build clang for the last 2 weeks.

I started new builds an hour ago, but they'll take many hours.

Note that old buildlogs reside in ~gmp/{build,check,tuneup} on

Please encrypt, key id 0xC8601622

More information about the gmp-bugs mailing list