reporting bug of Segmentation fault which occurs while make check.(completed one )

Jason Yu katcom.mr at gmail.com
Sat Aug 19 02:15:31 UTC 2017


(Sorry for the previous uncompleted email, I had pressed the wrong quick
key.)

I encouter Segementation fault while I run "make check"(configure had run
well).:

/bin/bash: line 4:  8101 Segmentation fault      ${dir}$tst
make[4]: *** [check-TESTS] Error 1
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2

The details is given below.


I want to install a cross-compile based in  gcc-4.6.1. So I have to install
gmp beforehead.
My operation system is debian, the "uname -a " information is:

Linux Bluish 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26)
x86_64 GNU/Linux

And I am using gcc-4.9 ,the "gcc -v" ouput is :

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10'
--with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.9 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object
--disable-vtable-verify --enable-plugin --with-system-zlib
--disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre
--enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)

I have to install gmp before gcc4.6.1.Therefore ,after I downloading and
untar gmp-4.3.2.tar from"  ftp://ftp.lip6.fr/pub/gcc/
infrastructure/gmp-4.3.2.tar.bz2   ", I configure it with :

      ./configure --disable-shared --enable-static --prefix=/tmp/gcc

then

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler gcc -O2 -pedantic -m64 ... yes
checking compiler gcc -O2 -pedantic -m64  -mtune=k8... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C...
(cached) -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking build system compiler gcc -std=gnu99... yes
checking for build system preprocessor... gcc -std=gnu99 -E
checking for build system executable suffix...
checking whether build system compiler is ANSI... yes
checking for build system compiler math library... -lm
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
using ABI="64"
      CC="gcc -std=gnu99"
      CFLAGS="-O2 -pedantic -m64 -mtune=k8"
      CPPFLAGS=""
      MPN_PATH=" x86_64 generic"
checking for function prototypes... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking whether assembler supports --noexecstack option... yes
checking for ar... ar
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for objdir... .libs
checking for ar... (cached) ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC
checking if gcc -std=gnu99 PIC flag -fPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64)
supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking invent.h usability... no
checking invent.h presence... no
checking for invent.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking sys/attributes.h usability... no
checking sys/attributes.h presence... no
checking for sys/attributes.h... no
checking sys/iograph.h usability... no
checking sys/iograph.h presence... no
checking for sys/iograph.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/processor.h usability... no
checking sys/processor.h presence... no
checking for sys/processor.h... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking sys/syssgi.h usability... no
checking sys/syssgi.h presence... no
checking for sys/syssgi.h... no
checking sys/systemcfg.h usability... no
checking sys/systemcfg.h presence... no
checking for sys/systemcfg.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/resource.h... yes
checking for sys/sysctl.h... yes
checking for machine/hal_sysinfo.h... no
checking whether fgetc is declared... yes
checking whether fscanf is declared... yes
checking whether optarg is declared... yes
checking whether ungetc is declared... yes
checking whether vfprintf is declared... yes
checking whether sys_errlist is declared... yes
checking whether sys_nerr is declared... yes
checking return type of signal handlers... void
checking for intmax_t... yes
checking for long double... yes
checking for long long... yes
checking for ptrdiff_t... yes
checking for quad_t... yes
checking for uint_least32_t... yes
checking for preprocessor stringizing operator... yes
checking for working volatile... yes
checking for C/C++ restrict keyword... restrict
checking whether <stdarg.h> exists and works... yes
checking whether gcc __attribute__ ((const)) works... yes
checking whether gcc __attribute__ ((malloc)) works... yes
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking whether gcc __attribute__ ((noreturn)) works... yes
checking for inline... inline
checking for cos in -lm... yes
checking for working alloca.h... yes
checking for alloca (via gmp-impl.h)... yes
checking how to allocate temporary memory... alloca
checking whether byte ordering is bigendian... no
checking format of `double' floating point... IEEE little endian
checking for alarm... yes
checking for attr_get... no
checking for clock... yes
checking for clock_gettime... yes
checking for cputime... no
checking for getpagesize... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for getsysinfo... no
checking for localeconv... yes
checking for memset... yes
checking for mmap... yes
checking for mprotect... yes
checking for nl_langinfo... yes
checking for obstack_vprintf... yes
checking for popen... yes
checking for processor_info... no
checking for pstat_getprocessor... no
checking for raise... yes
checking for read_real_time... no
checking for sigaction... yes
checking for sigaltstack... yes
checking for sigstack... yes
checking for syssgi... no
checking for strchr... yes
checking for strerror... yes
checking for strnlen... yes
checking for strtol... yes
checking for strtoul... yes
checking for sysconf... yes
checking for sysctl... yes
checking for sysctlbyname... no
checking for times... yes
checking for vsnprintf... yes
checking whether vsnprintf works... yes
checking whether sscanf needs writable input... no
checking for struct pst_processor.psp_iticksperclktick... no
checking for suitable m4... m4
checking if m4wrap produces spurious output... no
checking how to switch to text section... .text
checking how to switch to data section... .data
checking for assembler label suffix... :
checking for assembler global directive... .globl
checking for assembler global directive attribute...
checking if globals are prefixed by underscore... no
checking how to switch to read-only data section... 	.section	.rodata
checking for assembler .type directive... .type	$1,@$2
checking for assembler .size directive... .size	$1,$2
checking for assembler local label prefix... .L
checking for assembler byte directive... .byte
checking how to define a 32-bit word... .long
checking if .align assembly directive is logarithmic... no
checking if the .align directive accepts an 0x90 fill in .text... yes
checking for unsigned short... yes
checking size of unsigned short... 2
checking for unsigned... yes
checking size of unsigned... 4
checking for unsigned long... yes
checking size of unsigned long... 8
checking for mp_limb_t... yes
checking size of mp_limb_t... 8
checking for stack_t... yes
checking for tputs in -lncurses... yes
checking for readline in -lreadline... no
checking readline detected... no
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for ranlib... (cached) ranlib
creating config.m4
configure: creating ./config.status
config.status: creating demos/pexpr-config.h
config.status: creating demos/calc/calc-config.h
config.status: creating Makefile
config.status: creating mpbsd/Makefile
config.status: creating mpf/Makefile
config.status: creating mpn/Makefile
config.status: creating mpq/Makefile
config.status: creating mpz/Makefile
config.status: creating printf/Makefile
config.status: creating scanf/Makefile
config.status: creating cxx/Makefile
config.status: creating tests/Makefile
config.status: creating tests/devel/Makefile
config.status: creating tests/mpbsd/Makefile
config.status: creating tests/mpf/Makefile
config.status: creating tests/mpn/Makefile
config.status: creating tests/mpq/Makefile
config.status: creating tests/mpz/Makefile
config.status: creating tests/rand/Makefile
config.status: creating tests/misc/Makefile
config.status: creating tests/cxx/Makefile
config.status: creating doc/Makefile
config.status: creating tune/Makefile
config.status: creating demos/Makefile
config.status: creating demos/calc/Makefile
config.status: creating demos/expr/Makefile
config.status: creating gmp.h
config.status: creating mp.h
config.status: creating config.h
config.status: config.h is unchanged
config.status: linking ./mpn/generic/add.c to mpn/add.c
config.status: linking ./mpn/generic/add_1.c to mpn/add_1.c
config.status: linking ./mpn/x86_64/aors_n.asm to mpn/add_n.asm
config.status: linking ./mpn/generic/sub.c to mpn/sub.c
config.status: linking ./mpn/generic/sub_1.c to mpn/sub_1.c
config.status: linking ./mpn/x86_64/aors_n.asm to mpn/sub_n.asm
config.status: linking ./mpn/generic/neg_n.c to mpn/neg_n.c
config.status: linking ./mpn/x86_64/mul_1.asm to mpn/mul_1.asm
config.status: linking ./mpn/x86_64/aorsmul_1.asm to mpn/addmul_1.asm
config.status: linking ./mpn/x86_64/aorsmul_1.asm to mpn/submul_1.asm
config.status: linking ./mpn/x86_64/lshift.asm to mpn/lshift.asm
config.status: linking ./mpn/x86_64/rshift.asm to mpn/rshift.asm
config.status: linking ./mpn/x86_64/dive_1.asm to mpn/dive_1.asm
config.status: linking ./mpn/generic/diveby3.c to mpn/diveby3.c
config.status: linking ./mpn/generic/divis.c to mpn/divis.c
config.status: linking ./mpn/generic/divrem.c to mpn/divrem.c
config.status: linking ./mpn/x86_64/divrem_1.asm to mpn/divrem_1.asm
config.status: linking ./mpn/x86_64/divrem_2.asm to mpn/divrem_2.asm
config.status: linking ./mpn/generic/fib2_ui.c to mpn/fib2_ui.c
config.status: linking ./mpn/generic/mod_1.c to mpn/mod_1.c
config.status: linking ./mpn/x86_64/mod_34lsub1.asm to mpn/mod_34lsub1.asm
config.status: linking ./mpn/x86_64/mode1o.asm to mpn/mode1o.asm
config.status: linking ./mpn/generic/pre_mod_1.c to mpn/pre_mod_1.c
config.status: linking ./mpn/generic/dump.c to mpn/dump.c
config.status: linking ./mpn/generic/mod_1_1.c to mpn/mod_1_1.c
config.status: linking ./mpn/generic/mod_1_2.c to mpn/mod_1_2.c
config.status: linking ./mpn/generic/mod_1_3.c to mpn/mod_1_3.c
config.status: linking ./mpn/generic/mod_1_4.c to mpn/mod_1_4.c
config.status: linking ./mpn/generic/mul.c to mpn/mul.c
config.status: linking ./mpn/generic/mul_fft.c to mpn/mul_fft.c
config.status: linking ./mpn/generic/mul_n.c to mpn/mul_n.c
config.status: linking ./mpn/x86_64/mul_basecase.asm to mpn/mul_basecase.asm
config.status: linking ./mpn/x86_64/sqr_basecase.asm to mpn/sqr_basecase.asm
config.status: linking ./mpn/generic/random.c to mpn/random.c
config.status: linking ./mpn/generic/random2.c to mpn/random2.c
config.status: linking ./mpn/generic/pow_1.c to mpn/pow_1.c
config.status: linking ./mpn/generic/rootrem.c to mpn/rootrem.c
config.status: linking ./mpn/generic/sqrtrem.c to mpn/sqrtrem.c
config.status: linking ./mpn/generic/get_str.c to mpn/get_str.c
config.status: linking ./mpn/generic/set_str.c to mpn/set_str.c
config.status: linking ./mpn/generic/scan0.c to mpn/scan0.c
config.status: linking ./mpn/generic/scan1.c to mpn/scan1.c
config.status: linking ./mpn/x86_64/popham.asm to mpn/popcount.asm
config.status: linking ./mpn/x86_64/popham.asm to mpn/hamdist.asm
config.status: linking ./mpn/generic/cmp.c to mpn/cmp.c
config.status: linking ./mpn/generic/perfsqr.c to mpn/perfsqr.c
config.status: linking ./mpn/generic/bdivmod.c to mpn/bdivmod.c
config.status: linking ./mpn/generic/gcd_1.c to mpn/gcd_1.c
config.status: linking ./mpn/generic/gcd.c to mpn/gcd.c
config.status: linking ./mpn/generic/gcdext_1.c to mpn/gcdext_1.c
config.status: linking ./mpn/generic/gcdext.c to mpn/gcdext.c
config.status: linking ./mpn/generic/gcd_lehmer.c to mpn/gcd_lehmer.c
config.status: linking ./mpn/generic/gcd_subdiv_step.c to mpn/gcd_subdiv_step.c
config.status: linking ./mpn/generic/gcdext_lehmer.c to mpn/gcdext_lehmer.c
config.status: linking ./mpn/generic/gcdext_subdiv_step.c to
mpn/gcdext_subdiv_step.c
config.status: linking ./mpn/generic/tdiv_qr.c to mpn/tdiv_qr.c
config.status: linking ./mpn/generic/dc_divrem_n.c to mpn/dc_divrem_n.c
config.status: linking ./mpn/generic/sb_divrem_mn.c to mpn/sb_divrem_mn.c
config.status: linking ./mpn/generic/jacbase.c to mpn/jacbase.c
config.status: linking ./mpn/generic/get_d.c to mpn/get_d.c
config.status: linking ./mpn/generic/matrix22_mul.c to mpn/matrix22_mul.c
config.status: linking ./mpn/generic/hgcd2.c to mpn/hgcd2.c
config.status: linking ./mpn/generic/hgcd.c to mpn/hgcd.c
config.status: linking ./mpn/generic/mullow_n.c to mpn/mullow_n.c
config.status: linking ./mpn/generic/mullow_basecase.c to mpn/mullow_basecase.c
config.status: linking ./mpn/generic/toom22_mul.c to mpn/toom22_mul.c
config.status: linking ./mpn/generic/toom33_mul.c to mpn/toom33_mul.c
config.status: linking ./mpn/generic/toom44_mul.c to mpn/toom44_mul.c
config.status: linking ./mpn/generic/toom32_mul.c to mpn/toom32_mul.c
config.status: linking ./mpn/generic/toom42_mul.c to mpn/toom42_mul.c
config.status: linking ./mpn/generic/toom62_mul.c to mpn/toom62_mul.c
config.status: linking ./mpn/generic/toom53_mul.c to mpn/toom53_mul.c
config.status: linking ./mpn/generic/toom2_sqr.c to mpn/toom2_sqr.c
config.status: linking ./mpn/generic/toom3_sqr.c to mpn/toom3_sqr.c
config.status: linking ./mpn/generic/toom4_sqr.c to mpn/toom4_sqr.c
config.status: linking ./mpn/generic/toom_interpolate_5pts.c to
mpn/toom_interpolate_5pts.c
config.status: linking ./mpn/generic/toom_interpolate_7pts.c to
mpn/toom_interpolate_7pts.c
config.status: linking ./mpn/generic/invert.c to mpn/invert.c
config.status: linking ./mpn/generic/binvert.c to mpn/binvert.c
config.status: linking ./mpn/generic/sb_div_qr.c to mpn/sb_div_qr.c
config.status: linking ./mpn/generic/sb_divappr_q.c to mpn/sb_divappr_q.c
config.status: linking ./mpn/generic/sb_div_q.c to mpn/sb_div_q.c
config.status: linking ./mpn/generic/dc_div_qr.c to mpn/dc_div_qr.c
config.status: linking ./mpn/generic/dc_divappr_q.c to mpn/dc_divappr_q.c
config.status: linking ./mpn/generic/dc_div_q.c to mpn/dc_div_q.c
config.status: linking ./mpn/generic/mu_div_qr.c to mpn/mu_div_qr.c
config.status: linking ./mpn/generic/mu_divappr_q.c to mpn/mu_divappr_q.c
config.status: linking ./mpn/generic/mu_div_q.c to mpn/mu_div_q.c
config.status: linking ./mpn/generic/sb_bdiv_q.c to mpn/sb_bdiv_q.c
config.status: linking ./mpn/generic/sb_bdiv_qr.c to mpn/sb_bdiv_qr.c
config.status: linking ./mpn/generic/dc_bdiv_q.c to mpn/dc_bdiv_q.c
config.status: linking ./mpn/generic/dc_bdiv_qr.c to mpn/dc_bdiv_qr.c
config.status: linking ./mpn/generic/mu_bdiv_q.c to mpn/mu_bdiv_q.c
config.status: linking ./mpn/generic/mu_bdiv_qr.c to mpn/mu_bdiv_qr.c
config.status: linking ./mpn/generic/divexact.c to mpn/divexact.c
config.status: linking ./mpn/x86_64/bdiv_dbm1c.asm to mpn/bdiv_dbm1c.asm
config.status: linking ./mpn/x86_64/redc_1.asm to mpn/redc_1.asm
config.status: linking ./mpn/generic/redc_2.c to mpn/redc_2.c
config.status: linking ./mpn/generic/powm.c to mpn/powm.c
config.status: linking ./mpn/generic/powlo.c to mpn/powlo.c
config.status: linking ./mpn/generic/powm_sec.c to mpn/powm_sec.c
config.status: linking ./mpn/generic/subcnd_n.c to mpn/subcnd_n.c
config.status: linking ./mpn/x86_64/copyi.asm to mpn/copyi.asm
config.status: linking ./mpn/x86_64/copyd.asm to mpn/copyd.asm
config.status: linking ./mpn/x86_64/com_n.asm to mpn/com_n.asm
config.status: linking ./mpn/x86_64/logops_n.asm to mpn/and_n.asm
config.status: linking ./mpn/x86_64/logops_n.asm to mpn/andn_n.asm
config.status: linking ./mpn/x86_64/logops_n.asm to mpn/nand_n.asm
config.status: linking ./mpn/x86_64/logops_n.asm to mpn/ior_n.asm
config.status: linking ./mpn/x86_64/logops_n.asm to mpn/iorn_n.asm
config.status: linking ./mpn/x86_64/logops_n.asm to mpn/nior_n.asm
config.status: linking ./mpn/x86_64/logops_n.asm to mpn/xor_n.asm
config.status: linking ./mpn/x86_64/logops_n.asm to mpn/xnor_n.asm
config.status: linking ./mpn/x86_64/invert_limb.asm to mpn/invert_limb.asm
config.status: linking ./mpn/x86_64/mul_2.asm to mpn/mul_2.asm
config.status: linking ./mpn/x86_64/addmul_2.asm to mpn/addmul_2.asm
config.status: linking ./mpn/x86_64/addlsh1_n.asm to mpn/addlsh1_n.asm
config.status: linking ./mpn/x86_64/sublsh1_n.asm to mpn/sublsh1_n.asm
config.status: linking ./mpn/x86_64/rsh1add_n.asm to mpn/rsh1add_n.asm
config.status: linking ./mpn/x86_64/rsh1sub_n.asm to mpn/rsh1sub_n.asm
config.status: linking ./mpn/generic/addsub_n.c to mpn/addsub_n.c
config.status: linking ./mpn/x86_64/addaddmul_1msb0.asm to
mpn/addaddmul_1msb0.asm
config.status: linking ./mpn/x86_64/gmp-mparam.h to gmp-mparam.h

All is fine,no error.

The output from command "./config.guess" shows

x86_64-unknown-linux-gnu

Unfortunately ,I have a problem with Segementation fault ,When I run
the make clean & make check (encountering little problem ,but that is
solved by "make clean")

The output from "make check":

make  check-recursive
make[1]: Entering directory '/home/katcom/涓嬭浇/gmp-4.3.2'
Making check in tests
make[2]: Entering directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests'
Making check in .
make[3]: Entering directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests'
make  libtests.la t-bswap t-constants t-count_zeros t-gmpmax
t-hightomask t-modlinv t-popc t-parity t-sub
make[4]: Entering directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests'
make[4]: 'libtests.la' is up to date.
make[4]: 't-bswap' is up to date.
make[4]: 't-constants' is up to date.
make[4]: 't-count_zeros' is up to date.
make[4]: 't-gmpmax' is up to date.
make[4]: 't-hightomask' is up to date.
make[4]: 't-modlinv' is up to date.
make[4]: 't-popc' is up to date.
make[4]: 't-parity' is up to date.
make[4]: 't-sub' is up to date.
make[4]: Leaving directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests'
make  check-TESTS
make[4]: Entering directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests'
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
==================
make[4]: Leaving directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests'
make[3]: Leaving directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests'
Making check in devel
make[3]: Entering directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests/devel'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests/devel'
Making check in mpn
make[3]: Entering directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests/mpn'
make  t-asmtype t-aors_1 t-divrem_1 t-fat t-get_d t-instrument
t-iord_u t-mp_bases t-perfsqr t-scan t-hgcd t-matrix22
make[4]: Entering directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests/mpn'
make[4]: 't-asmtype' is up to date.
make[4]: 't-aors_1' is up to date.
make[4]: 't-divrem_1' is up to date.
make[4]: 't-fat' is up to date.
make[4]: 't-get_d' is up to date.
make[4]: 't-instrument' is up to date.
make[4]: 't-iord_u' is up to date.
make[4]: 't-mp_bases' is up to date.
make[4]: 't-perfsqr' is up to date.
make[4]: 't-scan' is up to date.
make[4]: 't-hgcd' is up to date.
make[4]: 't-matrix22' is up to date.
make[4]: Leaving directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests/mpn'
make  check-TESTS
make[4]: Entering directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests/mpn'
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
PASS: t-hgcd
PASS: t-matrix22
===================
All 12 tests passed
===================
make[4]: Leaving directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests/mpn'
make[3]: Leaving directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests/mpn'
Making check in mpz
make[3]: Entering directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests/mpz'
make  t-addsub t-cmp t-mul t-mul_i t-tdiv t-tdiv_ui t-fdiv t-fdiv_ui
t-cdiv_ui t-gcd t-gcd_ui t-lcm dive dive_ui t-sqrtrem convert io
t-inp_str logic bit t-powm t-powm_ui t-pow t-div_2exp reuse t-root
t-perfsqr t-perfpow t-jac t-bin t-get_d t-get_d_2exp t-get_si t-set_d
t-set_si t-fac_ui t-fib_ui t-lucnum_ui t-scan t-fits t-divis
t-divis_2exp t-cong t-cong_2exp t-sizeinbase t-set_str t-aorsmul
t-cmp_d t-cmp_si t-hamdist t-oddeven t-popcount t-set_f t-io_raw
t-import t-export t-pprime_p t-nextprime
make[4]: Entering directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests/mpz'
make[4]: 't-addsub' is up to date.
make[4]: 't-cmp' is up to date.
make[4]: 't-mul' is up to date.
make[4]: 't-mul_i' is up to date.
make[4]: 't-tdiv' is up to date.
make[4]: 't-tdiv_ui' is up to date.
make[4]: 't-fdiv' is up to date.
make[4]: 't-fdiv_ui' is up to date.
make[4]: 't-cdiv_ui' is up to date.
make[4]: 't-gcd' is up to date.
make[4]: 't-gcd_ui' is up to date.
make[4]: 't-lcm' is up to date.
make[4]: 'dive' is up to date.
make[4]: 'dive_ui' is up to date.
make[4]: 't-sqrtrem' is up to date.
make[4]: 'convert' is up to date.
make[4]: 'io' is up to date.
make[4]: 't-inp_str' is up to date.
make[4]: 'logic' is up to date.
make[4]: 'bit' is up to date.
make[4]: 't-powm' is up to date.
make[4]: 't-powm_ui' is up to date.
make[4]: 't-pow' is up to date.
make[4]: 't-div_2exp' is up to date.
make[4]: 'reuse' is up to date.
make[4]: 't-root' is up to date.
make[4]: 't-perfsqr' is up to date.
make[4]: 't-perfpow' is up to date.
make[4]: 't-jac' is up to date.
make[4]: 't-bin' is up to date.
make[4]: 't-get_d' is up to date.
make[4]: 't-get_d_2exp' is up to date.
make[4]: 't-get_si' is up to date.
make[4]: 't-set_d' is up to date.
make[4]: 't-set_si' is up to date.
make[4]: 't-fac_ui' is up to date.
make[4]: 't-fib_ui' is up to date.
make[4]: 't-lucnum_ui' is up to date.
make[4]: 't-scan' is up to date.
make[4]: 't-fits' is up to date.
make[4]: 't-divis' is up to date.
make[4]: 't-divis_2exp' is up to date.
make[4]: 't-cong' is up to date.
make[4]: 't-cong_2exp' is up to date.
make[4]: 't-sizeinbase' is up to date.
make[4]: 't-set_str' is up to date.
make[4]: 't-aorsmul' is up to date.
make[4]: 't-cmp_d' is up to date.
make[4]: 't-cmp_si' is up to date.
make[4]: 't-hamdist' is up to date.
make[4]: 't-oddeven' is up to date.
make[4]: 't-popcount' is up to date.
make[4]: 't-set_f' is up to date.
make[4]: 't-io_raw' is up to date.
make[4]: 't-import' is up to date.
make[4]: 't-export' is up to date.
make[4]: 't-pprime_p' is up to date.
make[4]: 't-nextprime' is up to date.
make[4]: Leaving directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests/mpz'
make  check-TESTS
make[4]: Entering directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests/mpz'
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-perfpow
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
/bin/bash: line 4: 25053 Segmentation fault      ${dir}$tst
FAIL: 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
PASS: t-nextprime
====================================
1 of 58 tests failed
Please report to gmp-bugs at gmplib.org
====================================
Makefile:1004: recipe for target 'check-TESTS' failed
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests/mpz'
Makefile:1104: recipe for target 'check-am' failed
make[3]: *** [check-am] Error 2
make[3]: Leaving directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests/mpz'
Makefile:505: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory '/home/katcom/涓嬭浇/gmp-4.3.2/tests'
Makefile:925: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/home/katcom/涓嬭浇/gmp-4.3.2'
Makefile:1183: recipe for target 'check' failed
make: *** [check] Error 2


That is what i have done and met, hope it is "self-contained"
enough.If you want more details one of these days,please email me,
willing to help.

I hope helpful.:)

           (´・ω・`) ( ̄▽ ̄)~*

19-August-2017

Ludwig.J.A.Yu


More information about the gmp-bugs mailing list