Help stabilising mini-gmp

Torbjörn Granlund tg at gmplib.org
Mon Nov 21 20:24:29 UTC 2016


nisse at lysator.liu.se (Niels Möller) writes:

  nisse at lysator.liu.se (Niels Möller) writes:
  
  > I'll try to log in to alpha-gentoo and reproduce.
  
  Plain make check (i.e., main gmp testsuite) fails in the mpn subdir with
  
    FAIL: t-get_d
    =============
    
    Warning, IEEE denorm tests skipped due to SIGFPE (exp=-1075)
    FAIL t-get_d (exit status: 136)
  
  And make check-mini-gmp fails with
  
    /home/nisse/hack/gmp/mini-gmp/tests/run-tests: line 65: 21336 Floating
    point exceptionLD_LIBRARY_PATH="$TEST_LD_LIBRARY_PATH"
    DYLD_LIBRARY_PATH="$TEST_DYLD_LIBRARY_PATH" "$1" $testflags
    FAIL: t-double
    /home/nisse/hack/gmp/mini-gmp/tests/run-tests: line 65: 21353 Floating
    point exceptionLD_LIBRARY_PATH="$TEST_LD_LIBRARY_PATH"
    DYLD_LIBRARY_PATH="$TEST_DYLD_LIBRARY_PATH" "$1" $testflags
    FAIL: t-cmp_d
  
  So for now, I'd say this isn't mini-gmp's fault. What kind of floating
  point does alpha support? I noticed that CFLAGS included -mieee, perhaps
  that's a mode not implemented properly in qemu?
  
Sorry, I should have given some background.

Yes, under qemu-user we see these failures.  They do not happen on
hardware.  (I started looking into that in order to report it to qemu,
but decided against it as getting bugs fixed in qemu is an excruciating
exercise, even if one sends them a simple patch.)

On real hardware, only mini-gmp fails.  Under qemu-system, nothing
fails, not even mini-gmp's t-get_d...  There is no method in the
madness.  :-)

Unfortunately, both our alpha systems and offline and even when on-line
they might be painful to work with due to their slowness.  (If you want
to play with one now, I can switch it on manually.)


-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-devel mailing list