gmp-bugs at gmplib.org

a b tripivceta at hotmail.com
Fri Jul 17 09:45:29 UTC 2015


gmake[4]: Entering directory `/export/home/user/devel/src/gmp-6.0.0/tests/mpz'
PASS: t-addsub
PASS: t-cmp
PASS: t-mul
PASS: t-mul_i
/bin/bash: line 5: 29116 Segmentation Fault      (core dumped) ${dir}$tst
FAIL: t-tdiv
PASS: t-tdiv_ui
PASS: t-fdiv
PASS: t-fdiv_ui
PASS: t-cdiv_ui
PASS: t-gcd
PASS: t-gcd_ui
PASS: t-lcm
PASS: t-invert
PASS: dive
PASS: dive_ui
PASS: t-sqrtrem
PASS: convert
PASS: io
PASS: t-inp_str
PASS: logic
PASS: bit
PASS: t-powm
PASS: t-powm_ui
PASS: t-pow
PASS: t-div_2exp

> uname -a
SunOS host.subdomain.domain.tld 5.10 Generic_118833-33 sun4v sparc SUNW,Sun-Fire-T200

> cc -V
cc: Sun C 5.12 SunOS_sparc 2011/11/16

GMP version: 6.0.0a

I am unable to produce a test program to reproduce this bug, as my end goal is to build the latest GCC; I am not at all familiar with GMP, and this is just another library dependency.
I do not use GMP myself.

> mdb tests/mpz/core
Loading modules: [ libc.so.1 ld.so.1 ]
> ::status
debugging core file of t-tdiv (32-bit) from host.subdomain.domain.tld
file: /export/home/user/devel/src/gmp-6.0.0/tests/mpz/.libs/t-tdiv
initial argv: /export/home/user/devel/src/gmp-6.0.0/tests/mpz/.libs/t-tdiv
threading model: multi-threaded
status: process terminated by SIGSEGV (Segmentation Fault)
> $c
libgmp.so.10.2.0`__gmpn_sub_n+0x20(8c3d8, 1, fffff422, 8cfd0, fffffa11, ffffe844)
libgmp.so.10.2.0`__gmpn_dcpi1_divappr_q+0x47c(8ac1c, 87ea4, 5f0, 8ac34, 8c3d8, ffbff898)
libgmp.so.10.2.0`__gmpn_div_q+0xc5c(87ea4, db9a4, 1ff, 8ac34, ffffffff, 8b810)
libgmp.so.10.2.0`__gmpz_tdiv_q+0x454(ffbffa04, ffbffa34, ffbff954, 68f3c, 515f4, 2f7)
main+0x340(ffbffa28, ffbffa34, ffbffa10, ffbffa1c, 29194, ffbffa40)
_start+0xd8(0, 0, 0, 0, 0, 0)

./configure options:
./configure --prefix=/opt --mandir=/opt/share/man 
--infodir=/opt/share/info --libdir=/opt/lib 
--libexecdir=/opt/lib --enable-cxx ABI=32

"config.guess", "configfsf.guess", "gmp-configure.log" as well as "config.log" are attached to this e-mail in the "gmp-files.tar.bz2" archive.

 		 	   		  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmp-files.tar.bz2
Type: application/x-bzip2
Size: 72266 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-bugs/attachments/20150717/d5fdd796/attachment-0001.bin>


More information about the gmp-bugs mailing list