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

Max Zinal MaxZinal at yandex.ru
Wed Feb 18 13:17:09 CET 2009


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-check.log
Type: text/x-log
Size: 3270 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20090218/79b9cbf0/attachment.bin>


More information about the gmp-bugs mailing list