GMP bugs

Torbjorn Granlund tg at
Tue Apr 28 13:50:43 CEST 2009

Danny Goodman <goodman.danny at> writes:

  Hi,I just got the following error on &#39;make test&#39; of the latest GMP version on my Mac OS 10.4.11.  Please let me know if any other info would help debug regards,dannymake  check-TESTS
  PASS: t-addsubPASS: t-cmpPASS: t-mulPASS: t-mul_iPASS: t-tdivPASS: t-tdiv_uiPASS: t-fdivPASS: t-fdiv_uiPASS: t-cdiv_uiPASS: t-gcdPASS: t-gcd_uiPASS: t-lcmPASS: divePASS: dive_ui
  PASS: t-sqrtremPASS: convertPASS: ioPASS: t-inp_strPASS: logicPASS: bitPASS: t-powmPASS: t-powm_uiPASS: t-powPASS: t-div_2expPASS: reusePASS: t-rootPASS: t-perfsqrPASS: t-perfpow
  PASS: t-jacPASS: t-binPASS: t-get_dPASS: t-get_d_2expPASS: t-get_siPASS: t-set_dPASS: t-set_siPASS: t-fac_uiPASS: t-fib_uiPASS: t-lucnum_uiPASS: t-scanPASS: t-fitsPASS: t-divis
  PASS: t-divis_2expPASS: t-congPASS: t-cong_2expPASS: t-sizeinbasePASS: t-set_strPASS: t-aorsmulPASS: t-cmp_dPASS: t-cmp_simpz_hamdist wrong on 2 bits pos/pos  i    0  j    32  got  253
    want 2  x   =0x1  y   =0x100000000FAIL: t-hamdistPASS: t-oddevenmpz_popcount wrong on single bit at 0   got 320, want 1FAIL: t-popcountPASS: t-set_fPASS: t-io_rawPASS: t-import
  PASS: t-exportPASS: t-pprime_pPASS: t-nextprime==================================2 of 58 tests failedPlease report to mailto:gmp-bugs at
  make[4]: *** [check-TESTS] Error 1make[3]: *** [check-am] Error 2make[2]: *** [check-recursive] Error 1make[1]: *** [check-recursive] Error 1make: *** [check] Error 2

Thanks for the report!

What exact machine type?  A 32-bit or 64-bit build?

Please see for a full (but
short!) list of the information we need for successfully handling a GMP
bug report.


More information about the gmp-bugs mailing list