Bug report -- mpz_kronecker_si test failed

Robert Hall rjh405 at gmail.com
Tue Aug 13 21:33:37 CEST 2013


After building gmp 5.0.5 on HP-UX using Gnu CC 4.62 and Gnu make, I ran the
'make check' tests. All tests succeeded except one. Here is the output from
the failed test:

mpz_kronecker_si (3, -1) is 0 should be 1
/bin/sh[10]: 28132 Abort(coredump)

Here's my attempt at a backtrace (after rebuilding with -g):

$ /opt/langtools/bin/gdb ./tests/mpz/.libs/t-jac ./tests/mpz/core
(gdb) bt
HP gdb 6.3 for HP Itanium (32 or 64 bit) and target HP-UX 11iv2 and 11iv3.
Copyright 1986 - 2011 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 6.3 (based on GDB) is covered by the GNU General
Public License. Type "show copying" to see the conditions to

change it and/or distribute copies. Type "show warranty" for
warranty/support.
..
Core was generated by `t-jac'.
Program terminated with signal 6, Aborted.

#0  0x60000000c0563a50:0 in kill+0x30 () from /usr/lib/hpux32/libc.so.1
(gdb) bt
#0  0x60000000c0563a50:0 in kill+0x30 () from /usr/lib/hpux32/libc.so.1
#1  0x60000000c0400740:0 in raise+0x120 () from /usr/lib/hpux32/libc.so.1
#2  0x60000000c0521430:0 in abort+0x170 () from /usr/lib/hpux32/libc.so.1
#3  0x40039b0:0 in try_zi_si (a=<not available>, b=-1, answer=1)
#4  0x40040a0:0 in try_each (a=<not available>, b=<not available>,
    answer=1)
#5  0x4004310:0 in try_pn (a=<not available>, b_orig=0x200000007ffff1b0,
    answer=1)
#6  0x40045b0:0 in try_periodic_num (a_orig=<not available>,
    b=<not available>, answer=1)
#7  0x4005190:0 in try_all (a=<not available>, b=<not available>, answer=1)
#8  0x4005320:0 in check_data ()
#9  0x4005c10:0 in main (argc=1, argv=<not available>)
(gdb)

The configuration options:

$ umask 0222
$ ./configure \
    CC=/opt/hp-gcc-4.6.2/bin/gcc \
    CFLAGS="-O2" \
    --prefix=/opt/gmp-5.0.5

$ uname -a
HP-UX myserver B.11.31 U ia64 123456789 unlimited-user license
(Note that I overwrote the server name and identifier information above)

$ ./config-guess
itanium2-hp-hpux11.31
$ ./configfsf-guess
ia64-hp-hpux11.31

I hope this was report helpful.

Regards,

  Bob


More information about the gmp-bugs mailing list