GMP 4.2.4 doesn't pass self-tests on itanium2-hp-hpux11.23

View: New views
1 Messages — Rating Filter:   Alert me  

GMP 4.2.4 doesn't pass self-tests on itanium2-hp-hpux11.23

by Max Zinal-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

I've just tried to install GMP version 4.2.4 on Intel Itanium2-based
HP server with HP-UX 11.23. I used HP C/aC++ B3910B A.06.20
compiler.

Before running 'configure', I set up compiler flags '-mt +DD64' via
environment variables CCOPTS and CXXOPTS. I did this because
I need 64-bit pthread-compatible binaries.

The compilation succeeded (with some minor compiler warnings),
but when I ran 'make check', I got 2 failures in 'mpn' tests due
to segmentation faults. A log from 'make check' is attached to
the message.

I'd like to help resolve this issue, so be free to contact me on
this topic.

--
  Max Zinal

P.S. This is a stack trace (from a coredump) for failed tests:

t-asmtype:

HP gdb 5.9 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.9 (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.
..Reading symbols from .libs/t-asmtype...
(gdb) core-file core
Core was generated by `t-asmtype'.
Program terminated with signal 11, Segmentation fault.
SEGV_MAPERR - Address not mapped to object
Reading symbols from /usr/lib/hpux64/dld.so...
Reading symbols from
/drives/disk4/stends/zinal/Build/gmp-4.2.4/.libs/libgmp.sl.7...
Reading symbols from /usr/lib/hpux64/libpthread.so.1...
Reading symbols from /usr/lib/hpux64/libc.so.1...
Reading symbols from /usr/lib/hpux64/libdl.so.1...
#0  0xc000000007064b20:0 in __gmpn_add_n+0x40 () from
/drives/disk4/stends/zinal/Build/gmp-4.2.4/.libs/libgmp.sl.7
(gdb) bt full
#0  0xc000000007064b20:0 in __gmpn_add_n+0x40 () from
/drives/disk4/stends/zinal/Build/gmp-4.2.4/.libs/libgmp.sl.7
No symbol table info available.
#1  0x4000000000009b30:0 in main () at
/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests/mpn/t-asmtype.c:55
No locals.

t-fat:

HP gdb 5.9 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.9 (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.
..Reading symbols from .libs/t-fat...
Core was generated by `t-fat'.
Program terminated with signal 11, Segmentation fault.
SEGV_MAPERR - Address not mapped to object
Reading symbols from /usr/lib/hpux64/dld.so...
Reading symbols from
/drives/disk4/stends/zinal/Build/gmp-4.2.4/.libs/libgmp.sl.7...
Reading symbols from /usr/lib/hpux64/libpthread.so.1...
Reading symbols from /usr/lib/hpux64/libc.so.1...
Reading symbols from /usr/lib/hpux64/libdl.so.1...
#0  0xc000000007064b20:0 in __gmpn_add_n+0x40 () from
/drives/disk4/stends/zinal/Build/gmp-4.2.4/.libs/libgmp.sl.7
(gdb) bt full
#0  0xc000000007064b20:0 in __gmpn_add_n+0x40 () from
/drives/disk4/stends/zinal/Build/gmp-4.2.4/.libs/libgmp.sl.7
No symbol table info available.
#1  0x400000000000a320:0 in check_functions () at
/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests/mpn/t-fat.c:89
No locals.
#2  0x400000000000c040:0 in main () at
/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests/mpn/t-fat.c:296
No locals.


make  check-recursive
make[1]: Entering directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4'
Making check in tests
make[2]: Entering directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests'
Making check in .
make[3]: Entering directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests'
make  libtests.la t-bswap t-constants t-count_zeros t-gmpmax t-hightomask t-modlinv t-popc t-parity t-sub
make[4]: Entering directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests'
make[4]: `libtests.la' is up to date.
make[4]: `t-bswap' is up to date.
make[4]: `t-constants' is up to date.
make[4]: `t-count_zeros' is up to date.
make[4]: `t-gmpmax' is up to date.
make[4]: `t-hightomask' is up to date.
make[4]: `t-modlinv' is up to date.
make[4]: `t-popc' is up to date.
make[4]: `t-parity' is up to date.
make[4]: `t-sub' is up to date.
make[4]: Leaving directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests'
make  check-TESTS
make[4]: Entering directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests'
PASS: t-bswap
PASS: t-constants
PASS: t-count_zeros
PASS: t-gmpmax
PASS: t-hightomask
PASS: t-modlinv
PASS: t-popc
PASS: t-parity
PASS: t-sub
==================
All 9 tests passed
==================
make[4]: Leaving directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests'
make[3]: Leaving directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests'
Making check in devel
make[3]: Entering directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests/devel'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests/devel'
Making check in mpn
make[3]: Entering directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests/mpn'
make  t-asmtype t-aors_1 t-divrem_1 t-fat t-get_d t-instrument t-iord_u t-mp_bases t-perfsqr t-scan
make[4]: Entering directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests/mpn'
make[4]: `t-asmtype' is up to date.
make[4]: `t-aors_1' is up to date.
make[4]: `t-divrem_1' is up to date.
make[4]: `t-fat' is up to date.
make[4]: `t-get_d' is up to date.
make[4]: `t-instrument' is up to date.
make[4]: `t-iord_u' is up to date.
make[4]: `t-mp_bases' is up to date.
make[4]: `t-perfsqr' is up to date.
make[4]: `t-scan' is up to date.
make[4]: Leaving directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests/mpn'
make  check-TESTS
make[4]: Entering directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests/mpn'
/bin/sh[9]: 15888 Memory fault(coredump)
FAIL: t-asmtype
PASS: t-aors_1
PASS: t-divrem_1
/bin/sh[9]: 15919 Memory fault(coredump)
FAIL: t-fat
PASS: t-get_d
PASS: t-instrument
PASS: t-iord_u
PASS: t-mp_bases
PASS: t-perfsqr
PASS: t-scan
==================================
2 of 10 tests failed
Please report to gmp-bugs@...
==================================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests/mpn'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests/mpn'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/drives/disk4/stends/zinal/Build/gmp-4.2.4'
make: *** [check] Error 2

_______________________________________________
gmp-bugs mailing list
gmp-bugs@...
http://gmplib.org/mailman/listinfo/gmp-bugs