6.1.2: test suite is failing
Tomasz Kłoczko
kloczko.tomasz at gmail.com
Thu Apr 4 14:14:19 UTC 2019
Hi,
Looks like one test is failing with core dump.
make[5]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/gmp-6.1.2/tests/mpz'
make[5]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/gmp-6.1.2/tests/mpz'
../../test-driver: line 107: 906 Aborted (core dumped)
"$@" > $log_file 2>&1
FAIL: t-get_d_2exp
[tkloczko at domek mpz]$
LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/gmp-6.1.2/.libs gdb
/home/tkloczko/rpmbuild/BUILD/gmp-6.1.2/tests/mpz/.libs/t-get_d_2exp
GNU gdb (GDB) Fedora 8.3.50.20190321-4.fc31
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from
/home/tkloczko/rpmbuild/BUILD/gmp-6.1.2/tests/mpz/.libs/t-get_d_2exp...
(gdb) r
Starting program:
/home/tkloczko/rpmbuild/BUILD/gmp-6.1.2/tests/mpz/.libs/t-get_d_2exp
Missing separate debuginfos, use: dnf debuginfo-install
glibc-2.29.9000-9.fc31.x86_64
mpz_get_d_2exp wrong on 2**54-1
result out of range, expect 0.5 <= got < 1.0
rnd_mode = 0
data[i] = 54
z =0x3FFFFFFFFFFFFF
got =[00 00 00 00 00 00 F0 3F] 1
got exp 54
Program received signal SIGABRT, Aborted.
0x00007ffff7d98ea5 in raise () from /lib64/libc.so.6
(gdb) bt full
#0 0x00007ffff7d98ea5 in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff7d838d5 in abort () from /lib64/libc.so.6
No symbol table info available.
#2 0x0000555555555648 in check_onebit () at t-get_d_2exp.c:81
want = <optimized out>
want_exp = <optimized out>
i = <optimized out>
z = {{_mp_alloc = 2, _mp_size = 1, _mp_d = 0x555555559cf8}}
got = <optimized out>
got_exp = 54
data = <optimized out>
z = <optimized out>
got = <optimized out>
want = <optimized out>
got_exp = <optimized out>
want_exp = <optimized out>
i = <optimized out>
#3 main () at t-get_d_2exp.c:217
No loc
(gdb)
kloczek
--
Tomasz Kłoczko | LinkedIn: *http://lnkd.in/FXPWxH <http://lnkd.in/FXPWxH>*
More information about the gmp-bugs
mailing list