6.1.2: test suite is failing

Tomasz Kłoczko kloczko.tomasz at gmail.com
Thu Apr 4 14:14:19 UTC 2019


Looks like one test is failing with core dump.

make[5]: Leaving directory
make[5]: Entering directory
../../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
GNU gdb (GDB) Fedora
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:
Find the GDB manual and other documentation resources online at:

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from
(gdb) r
Starting program:
Missing separate debuginfos, use: dnf debuginfo-install
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
   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

Tomasz Kłoczko | LinkedIn: *http://lnkd.in/FXPWxH <http://lnkd.in/FXPWxH>*

More information about the gmp-bugs mailing list