ERROR (check_random test 1): bad mpq_set_d results

Dennis Clarke dclarke at blastwave.org
Mon Nov 24 21:22:08 CET 2008


On Solaris 8 x86 thus :

bash-3.2$ uname -a
SunOS thor 5.8 Generic_117351-56 i86pc i386 i86pc

bash-3.2$ cat /etc/release
                       Solaris 8 2/02 s28x_u7wos_08a INTEL
           Copyright 2002 Sun Microsystems, Inc.  All Rights Reserved.
                           Assembled 18 December 2001

bash-3.2$ psrinfo -v
Status of virtual processor 0 as of: 11/24/08 20:22:15
  on-line since 11/09/08 23:12:41.
  The i386 processor operates at 1400 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 1 as of: 11/24/08 20:22:15
  on-line since 11/09/08 23:12:43.
  The i386 processor operates at 1400 MHz,
        and has an i387 compatible floating point processor.
bash-3.2$ prtconf | grep Memory
Memory size: 3072 Megabytes

Compiler is Sun Studio 11 thus :

bash-3.2$ which cc
/opt/studio/SOS11/SUNWspro/bin/cc
bash-3.2$ cc -V
cc: Sun C 5.8 Patch 121016-07 2007/10/03
usage: cc [ options] files.  Use 'cc -flags' for details

A first pass build for a baseline intel 386 chip passes all tests but a
recompile for a pentium_pro target fails thus :

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
==================

PASS: t-asmtype
PASS: t-aors_1
PASS: t-divrem_1
PASS: t-fat
PASS: t-get_d
PASS: t-instrument
PASS: t-iord_u
PASS: t-mp_bases
PASS: t-perfsqr
PASS: t-scan
===================
All 10 tests passed
===================

PASS: t-addsub
PASS: t-cmp
PASS: t-mul
PASS: t-mul_i
PASS: 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: 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
PASS: reuse
PASS: t-root
PASS: t-perfsqr
PASS: t-jac
PASS: t-bin
PASS: t-get_d
PASS: t-get_d_2exp
PASS: t-get_si
PASS: t-set_d
PASS: t-set_si
PASS: t-fac_ui
PASS: t-fib_ui
PASS: t-lucnum_ui
PASS: t-scan
PASS: t-fits
PASS: t-divis
PASS: t-divis_2exp
PASS: t-cong
PASS: t-cong_2exp
PASS: t-sizeinbase
PASS: t-set_str
PASS: t-aorsmul
PASS: t-cmp_d
PASS: t-cmp_si
PASS: t-hamdist
PASS: t-oddeven
PASS: t-popcount
PASS: t-set_f
PASS: t-io_raw
PASS: t-import
PASS: t-export
PASS: t-pprime_p
===================
All 56 tests passed
===================

PASS: t-aors
PASS: t-cmp
PASS: t-cmp_ui
PASS: t-cmp_si
PASS: t-equal
ERROR (check_random test 1): bad mpq_set_d results
3.098073531878046e-120
3.098073531878046e-120
FAIL: t-get_d
PASS: t-get_str
PASS: t-inp_str
PASS: t-md_2exp
PASS: t-set_f
PASS: t-set_str
==================================
1 of 11 tests failed
Please report to gmp-bugs at swox.com
==================================

Is there anything I can look into for you ?

Dennis Clarke
http://www.blastwave.org


-- 
Dennis Clarke



More information about the gmp-bugs mailing list