make check failure gmp-6.3.0 static linkage
Joshua Hudson
joshudson at gmail.com
Mon Nov 18 16:48:14 CET 2024
TL;DR: check build script for test harness, it doesn't seem to be
fully honoring the build flags
To start off with, the following config should work but doesn't. The
"working compiler" check is busted.
CC=/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
CFLAGS='-O3 -ffunction-sections' LDFLAGS='-static -Wl,-gc-sections'
./configure --disable-shared --prefix=/home/DEXTER2/jhudson/certtool
Hammering around it with
CC=/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
CFLAGS='-O3 -ffunction-sections -static' LDFLAGS='-static
-Wl,-gc-sections' ./configure --disable-shared
--prefix=/home/DEXTER2/jhudson/certtool
lets me make progress.
Configure output:
checking build system type... x86_64-pc-linux-musl
checking host system type... x86_64-pc-linux-musl
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking whether
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc is gcc... yes
checking compiler
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc -O3
-ffunction-sections -static ... yes
checking for gcc... /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc accepts -g...
yes
checking for /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
option to accept ISO C89... none needed
checking whether
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc understands
-c and -o together... yes
checking for /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
option to accept ISO C99... none needed
checking how to run the C preprocessor...
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc -E
checking build system compiler
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc... no
checking build system compiler
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc -O3
-ffunction-sections -static ... yes
checking for build system preprocessor...
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc -O3
-ffunction-sections -static -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... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
using ABI="64"
CC="/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc"
CFLAGS="-O3 -ffunction-sections -static"
CPPFLAGS=""
MPN_PATH=" x86_64/k8 x86_64 generic"
checking whether assembler supports --noexecstack option... yes
checking for ar... ar
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc...
/usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-musl file names to
x86_64-pc-linux-musl format... func_convert_file_noop
checking how to convert x86_64-pc-linux-musl file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
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 dlfcn.h... yes
checking for objdir... .libs
checking if /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
supports -fno-rtti -fno-exceptions... no
checking for /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
option to produce PIC... -fPIC -DPIC
checking if /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
PIC flag -fPIC -DPIC works... yes
checking if /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
static flag -static works... yes
checking if /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
supports -c -o file.o... yes
checking if /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
supports -c -o file.o... (cached) yes
checking whether the
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc 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
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... no
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... no
checking whether sys_nerr is declared... no
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 intptr_t... yes
checking for working volatile... yes
checking for C/C++ restrict keyword... __restrict
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 whether gcc hidden aliases work... 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 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... no
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... no
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... no
checking for sysctlbyname... no
checking for times... yes
checking for library containing clock_gettime... none required
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 assembler COFF type directives... no
checking size of void *... 8
checking size of unsigned short... 2
checking size of unsigned... 4
checking size of unsigned long... 8
checking size of mp_limb_t... 8
checking for stack_t... yes
checking for tputs in -lncurses... no
checking for tputs in -lcurses... no
checking for readline in -lreadline... no
checking readline detected... no
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... no
creating config.m4
checking that generated files are newer than configure... done
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 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 rand/Makefile
config.status: creating cxx/Makefile
config.status: creating tests/Makefile
config.status: creating tests/devel/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 gmp.pc
config.status: creating gmpxx.pc
config.status: creating config.h
config.status: linking mpn/x86_64/invert_limb_table.asm to
mpn/invert_limb_table.asm
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/x86_64/cnd_aors_n.asm to mpn/cnd_add_n.asm
config.status: linking mpn/x86_64/cnd_aors_n.asm to mpn/cnd_sub_n.asm
config.status: linking mpn/generic/cnd_swap.c to mpn/cnd_swap.c
config.status: linking mpn/generic/neg.c to mpn/neg.c
config.status: linking mpn/x86_64/com.asm to mpn/com.asm
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/aors_err1_n.asm to mpn/add_err1_n.asm
config.status: linking mpn/x86_64/aors_err2_n.asm to mpn/add_err2_n.asm
config.status: linking mpn/x86_64/aors_err3_n.asm to mpn/add_err3_n.asm
config.status: linking mpn/x86_64/aors_err1_n.asm to mpn/sub_err1_n.asm
config.status: linking mpn/x86_64/aors_err2_n.asm to mpn/sub_err2_n.asm
config.status: linking mpn/x86_64/aors_err3_n.asm to mpn/sub_err3_n.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/fib2m.c to mpn/fib2m.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/x86_64/mod_1_1.asm to mpn/mod_1_1.asm
config.status: linking mpn/x86_64/mod_1_2.asm to mpn/mod_1_2.asm
config.status: linking mpn/generic/mod_1_3.c to mpn/mod_1_3.c
config.status: linking mpn/x86_64/mod_1_4.asm to mpn/mod_1_4.asm
config.status: linking mpn/x86_64/lshiftc.asm to mpn/lshiftc.asm
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/generic/sqr.c to mpn/sqr.c
config.status: linking mpn/x86_64/k8/mul_basecase.asm to mpn/mul_basecase.asm
config.status: linking mpn/x86_64/k8/sqr_basecase.asm to mpn/sqr_basecase.asm
config.status: linking mpn/generic/nussbaumer_mul.c to mpn/nussbaumer_mul.c
config.status: linking mpn/x86_64/k8/mulmid_basecase.asm to
mpn/mulmid_basecase.asm
config.status: linking mpn/generic/toom42_mulmid.c to mpn/toom42_mulmid.c
config.status: linking mpn/generic/mulmid_n.c to mpn/mulmid_n.c
config.status: linking mpn/generic/mulmid.c to mpn/mulmid.c
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/sizeinbase.c to mpn/sizeinbase.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/compute_powtab.c to mpn/compute_powtab.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/zero_p.c to mpn/zero_p.c
config.status: linking mpn/generic/perfsqr.c to mpn/perfsqr.c
config.status: linking mpn/generic/perfpow.c to mpn/perfpow.c
config.status: linking mpn/generic/strongfibo.c to mpn/strongfibo.c
config.status: linking mpn/x86_64/gcd_11.asm to mpn/gcd_11.asm
config.status: linking mpn/x86_64/gcd_22.asm to mpn/gcd_22.asm
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_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/div_q.c to mpn/div_q.c
config.status: linking mpn/generic/tdiv_qr.c to mpn/tdiv_qr.c
config.status: linking mpn/generic/jacbase.c to mpn/jacbase.c
config.status: linking mpn/generic/jacobi_2.c to mpn/jacobi_2.c
config.status: linking mpn/generic/jacobi.c to mpn/jacobi.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/matrix22_mul1_inverse_vector.c to
mpn/matrix22_mul1_inverse_vector.c
config.status: linking mpn/generic/hgcd_matrix.c to mpn/hgcd_matrix.c
config.status: linking mpn/generic/hgcd2.c to mpn/hgcd2.c
config.status: linking mpn/generic/hgcd_step.c to mpn/hgcd_step.c
config.status: linking mpn/generic/hgcd_reduce.c to mpn/hgcd_reduce.c
config.status: linking mpn/generic/hgcd.c to mpn/hgcd.c
config.status: linking mpn/generic/hgcd_appr.c to mpn/hgcd_appr.c
config.status: linking mpn/generic/hgcd2_jacobi.c to mpn/hgcd2_jacobi.c
config.status: linking mpn/generic/hgcd_jacobi.c to mpn/hgcd_jacobi.c
config.status: linking mpn/generic/mullo_n.c to mpn/mullo_n.c
config.status: linking mpn/x86_64/k8/mullo_basecase.asm to
mpn/mullo_basecase.asm
config.status: linking mpn/generic/sqrlo.c to mpn/sqrlo.c
config.status: linking mpn/generic/sqrlo_basecase.c to mpn/sqrlo_basecase.c
config.status: linking mpn/generic/toom22_mul.c to mpn/toom22_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/toom52_mul.c to mpn/toom52_mul.c
config.status: linking mpn/generic/toom62_mul.c to mpn/toom62_mul.c
config.status: linking mpn/generic/toom33_mul.c to mpn/toom33_mul.c
config.status: linking mpn/generic/toom43_mul.c to mpn/toom43_mul.c
config.status: linking mpn/generic/toom53_mul.c to mpn/toom53_mul.c
config.status: linking mpn/generic/toom54_mul.c to mpn/toom54_mul.c
config.status: linking mpn/generic/toom63_mul.c to mpn/toom63_mul.c
config.status: linking mpn/generic/toom44_mul.c to mpn/toom44_mul.c
config.status: linking mpn/generic/toom6h_mul.c to mpn/toom6h_mul.c
config.status: linking mpn/generic/toom6_sqr.c to mpn/toom6_sqr.c
config.status: linking mpn/generic/toom8h_mul.c to mpn/toom8h_mul.c
config.status: linking mpn/generic/toom8_sqr.c to mpn/toom8_sqr.c
config.status: linking mpn/generic/toom_couple_handling.c to
mpn/toom_couple_handling.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_eval_dgr3_pm1.c to
mpn/toom_eval_dgr3_pm1.c
config.status: linking mpn/generic/toom_eval_dgr3_pm2.c to
mpn/toom_eval_dgr3_pm2.c
config.status: linking mpn/generic/toom_eval_pm1.c to mpn/toom_eval_pm1.c
config.status: linking mpn/generic/toom_eval_pm2.c to mpn/toom_eval_pm2.c
config.status: linking mpn/generic/toom_eval_pm2exp.c to mpn/toom_eval_pm2exp.c
config.status: linking mpn/generic/toom_eval_pm2rexp.c to
mpn/toom_eval_pm2rexp.c
config.status: linking mpn/generic/toom_interpolate_5pts.c to
mpn/toom_interpolate_5pts.c
config.status: linking mpn/generic/toom_interpolate_6pts.c to
mpn/toom_interpolate_6pts.c
config.status: linking mpn/generic/toom_interpolate_7pts.c to
mpn/toom_interpolate_7pts.c
config.status: linking mpn/generic/toom_interpolate_8pts.c to
mpn/toom_interpolate_8pts.c
config.status: linking mpn/generic/toom_interpolate_12pts.c to
mpn/toom_interpolate_12pts.c
config.status: linking mpn/generic/toom_interpolate_16pts.c to
mpn/toom_interpolate_16pts.c
config.status: linking mpn/generic/invertappr.c to mpn/invertappr.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/mulmod_bnm1.c to mpn/mulmod_bnm1.c
config.status: linking mpn/generic/sqrmod_bnm1.c to mpn/sqrmod_bnm1.c
config.status: linking mpn/generic/mulmod_bknp1.c to mpn/mulmod_bknp1.c
config.status: linking mpn/generic/div_qr_1.c to mpn/div_qr_1.c
config.status: linking mpn/x86_64/k8/div_qr_1n_pi1.asm to mpn/div_qr_1n_pi1.asm
config.status: linking mpn/generic/div_qr_2.c to mpn/div_qr_2.c
config.status: linking mpn/x86_64/div_qr_2n_pi1.asm to mpn/div_qr_2n_pi1.asm
config.status: linking mpn/x86_64/div_qr_2u_pi1.asm to mpn/div_qr_2u_pi1.asm
config.status: linking mpn/generic/sbpi1_div_q.c to mpn/sbpi1_div_q.c
config.status: linking mpn/generic/sbpi1_div_qr.c to mpn/sbpi1_div_qr.c
config.status: linking mpn/generic/sbpi1_divappr_q.c to mpn/sbpi1_divappr_q.c
config.status: linking mpn/generic/dcpi1_div_q.c to mpn/dcpi1_div_q.c
config.status: linking mpn/generic/dcpi1_div_qr.c to mpn/dcpi1_div_qr.c
config.status: linking mpn/generic/dcpi1_divappr_q.c to mpn/dcpi1_divappr_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/x86_64/k8/bdiv_q_1.asm to mpn/bdiv_q_1.asm
config.status: linking mpn/generic/sbpi1_bdiv_q.c to mpn/sbpi1_bdiv_q.c
config.status: linking mpn/generic/sbpi1_bdiv_qr.c to mpn/sbpi1_bdiv_qr.c
config.status: linking mpn/generic/sbpi1_bdiv_r.c to mpn/sbpi1_bdiv_r.c
config.status: linking mpn/generic/dcpi1_bdiv_q.c to mpn/dcpi1_bdiv_q.c
config.status: linking mpn/generic/dcpi1_bdiv_qr.c to mpn/dcpi1_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/bdiv_q.c to mpn/bdiv_q.c
config.status: linking mpn/generic/bdiv_qr.c to mpn/bdiv_qr.c
config.status: linking mpn/generic/broot.c to mpn/broot.c
config.status: linking mpn/generic/brootinv.c to mpn/brootinv.c
config.status: linking mpn/generic/bsqrt.c to mpn/bsqrt.c
config.status: linking mpn/generic/bsqrtinv.c to mpn/bsqrtinv.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/k8/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/redc_n.c to mpn/redc_n.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/sec_powm.c to mpn/sec_powm.c
config.status: linking mpn/generic/sec_mul.c to mpn/sec_mul.c
config.status: linking mpn/generic/sec_sqr.c to mpn/sec_sqr.c
config.status: linking mpn/generic/sec_div.c to mpn/sec_div_qr.c
config.status: linking mpn/generic/sec_div.c to mpn/sec_div_r.c
config.status: linking mpn/generic/sec_pi1_div.c to mpn/sec_pi1_div_qr.c
config.status: linking mpn/generic/sec_pi1_div.c to mpn/sec_pi1_div_r.c
config.status: linking mpn/generic/sec_aors_1.c to mpn/sec_add_1.c
config.status: linking mpn/generic/sec_aors_1.c to mpn/sec_sub_1.c
config.status: linking mpn/generic/sec_invert.c to mpn/sec_invert.c
config.status: linking mpn/generic/trialdiv.c to mpn/trialdiv.c
config.status: linking mpn/generic/remove.c to mpn/remove.c
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/copyi.asm to mpn/copyi.asm
config.status: linking mpn/x86_64/copyd.asm to mpn/copyd.asm
config.status: linking mpn/generic/zero.c to mpn/zero.c
config.status: linking mpn/x86_64/sec_tabselect.asm to mpn/sec_tabselect.asm
config.status: linking mpn/generic/comb_tables.c to mpn/comb_tables.c
config.status: linking mpn/x86_64/invert_limb.asm to mpn/invert_limb.asm
config.status: linking mpn/x86_64/sqr_diag_addlsh1.asm to
mpn/sqr_diag_addlsh1.asm
config.status: linking mpn/x86_64/mul_2.asm to mpn/mul_2.asm
config.status: linking mpn/x86_64/k8/addmul_2.asm to mpn/addmul_2.asm
config.status: linking mpn/x86_64/aorrlsh1_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/aorrlsh1_n.asm to mpn/rsblsh1_n.asm
config.status: linking mpn/x86_64/rsh1aors_n.asm to mpn/rsh1add_n.asm
config.status: linking mpn/x86_64/rsh1aors_n.asm to mpn/rsh1sub_n.asm
config.status: linking mpn/x86_64/aorrlsh2_n.asm to mpn/addlsh2_n.asm
config.status: linking mpn/x86_64/aorrlsh2_n.asm to mpn/rsblsh2_n.asm
config.status: linking mpn/x86_64/k8/aorrlsh_n.asm to mpn/addlsh_n.asm
config.status: linking mpn/x86_64/k8/aorrlsh_n.asm to mpn/rsblsh_n.asm
config.status: linking mpn/generic/add_n_sub_n.c to mpn/add_n_sub_n.c
config.status: linking mpn/x86_64/k8/addaddmul_1msb0.asm to
mpn/addaddmul_1msb0.asm
config.status: linking mpn/x86_64/k8/gmp-mparam.h to gmp-mparam.h
config.status: executing libtool commands
configure: summary of build options:
Version: GNU MP 6.3.0
Host type: x86_64-pc-linux-musl
ABI: 64
Install prefix: /home/DEXTER2/jhudson/certtool
Compiler: /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
Static libraries: yes
Shared libraries: no
Output from make check:
make check-recursive
make[1]: Entering directory '/home/DEXTER2/jhudson/certtool/gmp-6.3.0'
Making check in tests
make[2]: Entering directory '/home/DEXTER2/jhudson/certtool/gmp-6.3.0/tests'
Making check in .
make[3]: Entering directory '/home/DEXTER2/jhudson/certtool/gmp-6.3.0/tests'
make libtests.la t-bswap t-constants t-count_zeros t-hightomask
t-modlinv t-popc t-parity t-sub
make[4]: Entering directory '/home/DEXTER2/jhudson/certtool/gmp-6.3.0/tests'
/bin/bash ../libtool --tag=CC --mode=link
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc -O3
-ffunction-sections -static -no-install -static -Wl,-gc-sections -o
libtests.la memory.lo misc.lo refmpf.lo refmpn.lo refmpq.lo refmpz.lo
spinner.lo trace.lo amd64call.lo amd64check.lo ../libgmp.la
libtool: link: ar cq .libs/libtests.a memory.o misc.o refmpf.o
refmpn.o refmpq.o refmpz.o spinner.o trace.o amd64call.o amd64check.o
libtool: link: ranlib .libs/libtests.a
libtool: link: ( cd ".libs" && rm -f "libtests.la" && ln -s
"../libtests.la" "libtests.la" )
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-DHAVE_CONFIG_H -I. -I.. -I.. -O3 -ffunction-sections -static -c -o
t-bswap.o t-bswap.c
/bin/bash ../libtool --tag=CC --mode=link
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc -O3
-ffunction-sections -static -no-install -static -Wl,-gc-sections -o
t-bswap t-bswap.o libtests.la ../libgmp.la
libtool: link: /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-O3 -ffunction-sections -Wl,-gc-sections -o t-bswap t-bswap.o
./.libs/libtests.a
/home/DEXTER2/jhudson/certtool/gmp-6.3.0/.libs/libgmp.a
../.libs/libgmp.a
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-DHAVE_CONFIG_H -I. -I.. -I.. -O3 -ffunction-sections -static -c -o
t-constants.o t-constants.c
/bin/bash ../libtool --tag=CC --mode=link
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc -O3
-ffunction-sections -static -no-install -static -Wl,-gc-sections -o
t-constants t-constants.o libtests.la ../libgmp.la
libtool: link: /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-O3 -ffunction-sections -Wl,-gc-sections -o t-constants t-constants.o
./.libs/libtests.a
/home/DEXTER2/jhudson/certtool/gmp-6.3.0/.libs/libgmp.a
../.libs/libgmp.a
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-DHAVE_CONFIG_H -I. -I.. -I.. -O3 -ffunction-sections -static -c -o
t-count_zeros.o t-count_zeros.c
/bin/bash ../libtool --tag=CC --mode=link
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc -O3
-ffunction-sections -static -no-install -static -Wl,-gc-sections -o
t-count_zeros t-count_zeros.o libtests.la ../libgmp.la
libtool: link: /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-O3 -ffunction-sections -Wl,-gc-sections -o t-count_zeros
t-count_zeros.o ./.libs/libtests.a
/home/DEXTER2/jhudson/certtool/gmp-6.3.0/.libs/libgmp.a
../.libs/libgmp.a
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-DHAVE_CONFIG_H -I. -I.. -I.. -O3 -ffunction-sections -static -c -o
t-hightomask.o t-hightomask.c
/bin/bash ../libtool --tag=CC --mode=link
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc -O3
-ffunction-sections -static -no-install -static -Wl,-gc-sections -o
t-hightomask t-hightomask.o libtests.la ../libgmp.la
libtool: link: /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-O3 -ffunction-sections -Wl,-gc-sections -o t-hightomask
t-hightomask.o ./.libs/libtests.a
/home/DEXTER2/jhudson/certtool/gmp-6.3.0/.libs/libgmp.a
../.libs/libgmp.a
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-DHAVE_CONFIG_H -I. -I.. -I.. -O3 -ffunction-sections -static -c -o
t-modlinv.o t-modlinv.c
/bin/bash ../libtool --tag=CC --mode=link
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc -O3
-ffunction-sections -static -no-install -static -Wl,-gc-sections -o
t-modlinv t-modlinv.o libtests.la ../libgmp.la
libtool: link: /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-O3 -ffunction-sections -Wl,-gc-sections -o t-modlinv t-modlinv.o
./.libs/libtests.a
/home/DEXTER2/jhudson/certtool/gmp-6.3.0/.libs/libgmp.a
../.libs/libgmp.a
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-DHAVE_CONFIG_H -I. -I.. -I.. -O3 -ffunction-sections -static -c -o
t-popc.o t-popc.c
/bin/bash ../libtool --tag=CC --mode=link
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc -O3
-ffunction-sections -static -no-install -static -Wl,-gc-sections -o
t-popc t-popc.o libtests.la ../libgmp.la
libtool: link: /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-O3 -ffunction-sections -Wl,-gc-sections -o t-popc t-popc.o
./.libs/libtests.a
/home/DEXTER2/jhudson/certtool/gmp-6.3.0/.libs/libgmp.a
../.libs/libgmp.a
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-DHAVE_CONFIG_H -I. -I.. -I.. -O3 -ffunction-sections -static -c -o
t-parity.o t-parity.c
/bin/bash ../libtool --tag=CC --mode=link
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc -O3
-ffunction-sections -static -no-install -static -Wl,-gc-sections -o
t-parity t-parity.o libtests.la ../libgmp.la
libtool: link: /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-O3 -ffunction-sections -Wl,-gc-sections -o t-parity t-parity.o
./.libs/libtests.a
/home/DEXTER2/jhudson/certtool/gmp-6.3.0/.libs/libgmp.a
../.libs/libgmp.a
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-DHAVE_CONFIG_H -I. -I.. -I.. -O3 -ffunction-sections -static -c -o
t-sub.o t-sub.c
/bin/bash ../libtool --tag=CC --mode=link
/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc -O3
-ffunction-sections -static -no-install -static -Wl,-gc-sections -o
t-sub t-sub.o libtests.la ../libgmp.la
libtool: link: /home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc
-O3 -ffunction-sections -Wl,-gc-sections -o t-sub t-sub.o
./.libs/libtests.a
/home/DEXTER2/jhudson/certtool/gmp-6.3.0/.libs/libgmp.a
../.libs/libgmp.a
make[4]: Leaving directory '/home/DEXTER2/jhudson/certtool/gmp-6.3.0/tests'
make check-TESTS
make[4]: Entering directory '/home/DEXTER2/jhudson/certtool/gmp-6.3.0/tests'
make[5]: Entering directory '/home/DEXTER2/jhudson/certtool/gmp-6.3.0/tests'
FAIL: t-bswap
FAIL: t-constants
FAIL: t-count_zeros
FAIL: t-hightomask
FAIL: t-modlinv
FAIL: t-popc
FAIL: t-parity
FAIL: t-sub
============================================================================
Testsuite summary for GNU MP 6.3.0
============================================================================
# TOTAL: 8
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 8
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to gmp-bugs at gmplib.org (see
https://gmplib.org/manual/Reporting-Bugs.html)
============================================================================
make[5]: *** [Makefile:931: test-suite.log] Error 1
make[5]: Leaving directory '/home/DEXTER2/jhudson/certtool/gmp-6.3.0/tests'
make[4]: *** [Makefile:1039: check-TESTS] Error 2
make[4]: Leaving directory '/home/DEXTER2/jhudson/certtool/gmp-6.3.0/tests'
make[3]: *** [Makefile:1184: check-am] Error 2
make[3]: Leaving directory '/home/DEXTER2/jhudson/certtool/gmp-6.3.0/tests'
make[2]: *** [Makefile:823: check-recursive] Error 1
make[2]: Leaving directory '/home/DEXTER2/jhudson/certtool/gmp-6.3.0/tests'
make[1]: *** [Makefile:998: check-recursive] Error 1
make[1]: Leaving directory '/home/DEXTER2/jhudson/certtool/gmp-6.3.0'
make: *** [Makefile:1290: check] Error 2
(incidentally make check explodes from an unbuilt tree---whatever)
Test suite log:
.. contents:: :depth: 2
FAIL: t-bswap
=============
../test-driver: line 107: ./t-bswap: cannot execute: required file not found
FAIL t-bswap (exit status: 127)
FAIL: t-constants
=================
../test-driver: line 107: ./t-constants: cannot execute: required file not found
FAIL t-constants (exit status: 127)
FAIL: t-count_zeros
===================
../test-driver: line 107: ./t-count_zeros: cannot execute: required
file not found
FAIL t-count_zeros (exit status: 127)
FAIL: t-hightomask
==================
../test-driver: line 107: ./t-hightomask: cannot execute: required
file not found
FAIL t-hightomask (exit status: 127)
FAIL: t-modlinv
===============
../test-driver: line 107: ./t-modlinv: cannot execute: required file not found
FAIL t-modlinv (exit status: 127)
FAIL: t-popc
============
../test-driver: line 107: ./t-popc: cannot execute: required file not found
FAIL t-popc (exit status: 127)
FAIL: t-parity
==============
../test-driver: line 107: ./t-parity: cannot execute: required file not found
FAIL t-parity (exit status: 127)
FAIL: t-sub
===========
../test-driver: line 107: ./t-sub: cannot execute: required file not found
FAIL t-sub (exit status: 127)
Diagnostics: the test harness binaries are somehow built incorrectly,
with a reference to /lib/ld-musl-x86_64.so.1 which does not exist.
More information about the gmp-bugs
mailing list