Re: coredump

2019-08-04 Thread
张金政 8月3日周六 上午10:58 (13小时前) 发送至 Torbjörn Thanks for your reply. I'm using the latest GMP 6.1.2, and build it from source. Build command: cc -g -Wl,-rpath,.libs -L.libs -lgmp bug.c -o gmp_bug.out Ldd output: linux-vdso.so.1 (0x7fff4c3d3000) libgmp.so.10 => .libs/libg

Re: coredump

2019-08-04 Thread
Thanks for your reply. I'm using the latest GMP 6.1.2, and build it from source. Build command: cc -g -Wl,-rpath,.libs -L.libs -lgmp bug.c -o gmp_bug.out Ldd output: linux-vdso.so.1 (0x7fff4c3d3000) libgmp.so.10 => .libs/libgmp.so.10 (0x7f2bb536b000) libc.so.6 =>

coredump

2019-08-01 Thread
#include #include int main() { mpf_t f1, f2, f3; mpf_init(f1); mpf_init(f2); mpf_init(f3); mpf_set_str(f1, "07ff", 16); mpf_set_str(f2, "000607652bed4d04ba12daa54acc4b7352c83c6154169852", 16);