Illegal subtraction in tmp-dive_1.s

Torbjorn Granlund tg at gmplib.org
Thu Apr 16 16:31:13 CEST 2009


Dennis Clarke <dclarke at blastwave.org> writes:

  > make check is running now
  
  failures :-(
  
  PASS: t-set_f
  check_in: result wrong
    i=1 zeros=0 neg=0
    got_ret  5
    want_ret 5
    got      =0x81000000
    want     =0x81
  /bin/bash: line 4:  7283 Abort                   (core dumped) ${dir}$tst
  FAIL: t-io_raw
  wrong at data[3]
      count=1 order=1  size=4 endian=1 nail=0  align=0
      got =0x78563412
      want=0x12345678
  /bin/bash: line 4:  7303 Abort                   (core dumped) ${dir}$tst
  FAIL: t-import
  wrong result data
      at data[4]  align=0
      src "0x12345678"
      src=0x12345678
      order=1  size=4 endian=1 nail=0
      want count 1
      got count  1
      want 0x12, 0x34, 0x56, 0x78,
      got  0x78, 0x56, 0x34, 0x12,
  /bin/bash: line 4:  7323 Abort                   (core dumped) ${dir}$tst
  FAIL: t-export
  PASS: t-pprime_p
  PASS: t-nextprime
  ==================================
  3 of 58 tests failed
  Please report to gmp-bugs at swox.com
  ==================================
  
  This looks to be very familiar.
  
In the sense that the same happened also with GMP 4.2.4?

Indeed, I don't think the mpz I/O raw functions changed much in GMP 4.3.

I tend to suspect compilers for this sort of failures.  If you could
isolate the problem, that will determine for sure.  And then you could
report the bug to Sun!

-- 
Torbjörn


More information about the gmp-discuss mailing list