gmp 6.0.0a test failure on HP-UX 11.11
Marc Glisse
marc.glisse at inria.fr
Sat Oct 3 07:19:01 UTC 2015
On Fri, 18 Sep 2015, JONES, BILL wrote:
> * The GMP version number, and if pre-packaged or patched then say so.
> * gnu.org/gmp-6.0.0 (a) was on the TAR file.
> * A test program that makes it possible for us to reproduce the bug. Include instructions on how to run the program.
> * PASS: t-jac
> * mpz_bin_uiui wrong
> * n=149
> * k=21
> * got=3303737755466674086229362854319845210698113315481537085440
> * want=19332950844468483467894649
> * /bin/sh[10]: 6721 Abort(coredump)
> * FAIL: t-bin
[and you say later that this is the only test that fails]
Two things you could try:
- download a recent snapshort from the developers' corner on the
website, in case something was fixed since then (I don't remember
anything specific)
- use gcc, the most likely explanation is a compiler bug
Note that if your main goal is to use mpfr, mpfr does not use
mpz_bin_uiui, so you may hope that only this function is miscompiled and
mpfr is not affected.
> * using ABI="2.0n"
> * CC="/opt/ansic/bin/cc"
> * CFLAGS="+O2 +DD32"
At least it seems to be using a 32 bit abi.
--
Marc Glisse
More information about the gmp-bugs
mailing list