bug in gmp-4.2.1

Torbjorn Granlund tege at swox.com
Mon Oct 2 23:04:47 CEST 2006


Virgil Anderson <virgil.anderson at adelphia.net> writes:

  gmp-4.2.1 downloaded from ftp.gnu.org/gnu/gmp
  make check
  make[4]: Entering directory `/mnt/*...*/gmp/build/tests/mpz'
  PASS: t-addsub
  PASS: t-cmp
  ERROR: incorrect plain product in test 54
  op1          = -FFFFFFFFFFFFFFFFFFFFFFFFF...0000000000000000000000000
  [173061]
  op2          = -7FFFFFFFFFFFFFFFFFFFFFFFF...0000000000000000000000000
  [223365]
      product  = FF3FFF80003FFE0000BFFFFFF...000BFFF00007FFFBFFF880180
  [396432]
  ref_product  = 7FFFFFFFFFFFFFFFFFFFFFFFF...0000000000000000000000000
  [396426]
  /bin/sh: line 4: 23756 Aborted                 ${dir}$tst
  FAIL: t-mul
  
  This was previously sent to gmp-bugs along with full output from make
  check + config.log
  gnu/guile seems to use your package, and also fails a similar "make
  check" test.
  Thanks,
  Virgil Anderson

This is almost surely a compiler bug.  Of all miscompiled pieces
of GMP, mul_fft.c is the one that is the most common victim.

You didn't (and still don't) supply the information we ask for in the
manual chapter on how to report bugs.  Good bug reports are more
likely to get answers than poor ones.

-- 
Torbjörn


More information about the gmp-bugs mailing list