mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2020-09-03, 15:49   #1
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

2×3×521 Posts
Default Problem compiling msieve with gcc 4.4.7

I considered posting in this thread but I figured it's past it's 10-year mark and should rest in peace.

I'm trying to install YAFU and admittedly I don't really know what I'm doing.
I've been working through these instructions: https://starreloaders.com/edhall/Ali...tLinstall.html

Seems to be going ok until I get to Msieve, at which point I get
collect2: ld returned 1 exit status
make: *** [all] Error 1


make
Code:
to build:
make all
add 'WIN=1 if building on windows
add 'WIN64=1 if building on 64-bit windows
add 'ECM=1' if GMP-ECM is available (enables ECM)
add 'CUDA=1' for Nvidia graphics card support
add 'MPI=1' for parallel processing using MPI
add 'BOINC=1' to add BOINC wrapper
add 'NO_ZLIB=1' if you don't have zlib
add 'VBITS=X' for linear algebra with X-bit vectors (64, 128, 256)
make all NO_ZLIB=1 ECM=1
Code:
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o aprcl/mpz_aprcl32.o aprcl/mpz_aprcl32.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/filter/clique.o common/filter/clique.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/filter/filter.o common/filter/filter.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/filter/merge.o common/filter/merge.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/filter/merge_post.o common/filter/merge_post.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/filter/merge_pre.o common/filter/merge_pre.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/filter/merge_util.o common/filter/merge_util.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/filter/singleton.o common/filter/singleton.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/lanczos.o common/lanczos/lanczos.c
common/lanczos/lanczos.c: In function ‘dump_lanczos_state’:
common/lanczos/lanczos.c:624: warning: unused parameter ‘packed_matrix’
common/lanczos/lanczos.c:627: warning: unused parameter ‘n’
common/lanczos/lanczos.c:628: warning: unused parameter ‘scratch’
common/lanczos/lanczos.c: In function ‘read_lanczos_state’:
common/lanczos/lanczos.c:735: warning: unused parameter ‘packed_matrix’
common/lanczos/lanczos.c:738: warning: unused parameter ‘n’
common/lanczos/lanczos.c:740: warning: unused parameter ‘scratch’
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/lanczos_io.o common/lanczos/lanczos_io.c
common/lanczos/lanczos_io.c: In function ‘dump_matrix’:
common/lanczos/lanczos_io.c:173: warning: unused parameter ‘sparse_weight’
common/lanczos/lanczos_io.c: In function ‘file_cache_get_next’:
common/lanczos/lanczos_io.c:372: warning: unused parameter ‘obj’
common/lanczos/lanczos_io.c:375: warning: unused parameter ‘read_submatrix’
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/lanczos_matmul.o common/lanczos/lanczos_matmul.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/lanczos_pre.o common/lanczos/lanczos_pre.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/matmul_util.o common/lanczos/matmul_util.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/cpu/lanczos_matmul0.o common/lanczos/cpu/lanczos_matmul0.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/cpu/lanczos_matmul1.o common/lanczos/cpu/lanczos_matmul1.c
common/lanczos/cpu/lanczos_matmul1.c: In function ‘mul_packed_core’:
common/lanczos/cpu/lanczos_matmul1.c:310: warning: unused parameter ‘thread_num’
common/lanczos/cpu/lanczos_matmul1.c: In function ‘mul_packed_small_core’:
common/lanczos/cpu/lanczos_matmul1.c:349: warning: unused parameter ‘thread_num’
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/cpu/lanczos_matmul2.o common/lanczos/cpu/lanczos_matmul2.c
common/lanczos/cpu/lanczos_matmul2.c: In function ‘mul_trans_packed_core’:
common/lanczos/cpu/lanczos_matmul2.c:337: warning: unused parameter ‘thread_num’
common/lanczos/cpu/lanczos_matmul2.c: In function ‘mul_trans_packed_small_core’:
common/lanczos/cpu/lanczos_matmul2.c:376: warning: unused parameter ‘thread_num’
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/cpu/lanczos_vv.o common/lanczos/cpu/lanczos_vv.c
common/lanczos/cpu/lanczos_vv.c: In function ‘vv_alloc’:
common/lanczos/cpu/lanczos_vv.c:18: warning: unused parameter ‘extra’
common/lanczos/cpu/lanczos_vv.c: In function ‘outer_thread_run’:
common/lanczos/cpu/lanczos_vv.c:310: warning: unused parameter ‘thread_num’
common/lanczos/cpu/lanczos_vv.c: In function ‘inner_thread_run’:
common/lanczos/cpu/lanczos_vv.c:549: warning: unused parameter ‘thread_num’
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/smallfact/gmp_ecm.o common/smallfact/gmp_ecm.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/smallfact/smallfact.o common/smallfact/smallfact.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/smallfact/squfof.o common/smallfact/squfof.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/smallfact/tinyqs.o common/smallfact/tinyqs.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/batch_factor.o common/batch_factor.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/cuda_xface.o common/cuda_xface.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/dickman.o common/dickman.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/driver.o common/driver.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/expr_eval.o common/expr_eval.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/hashtable.o common/hashtable.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/integrate.o common/integrate.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/minimize.o common/minimize.c
common/minimize.c: In function ‘solve_dmatrix’:
common/minimize.c:421: warning: comparison between signed and unsigned integer expressions
common/minimize.c:424: warning: comparison between signed and unsigned integer expressions
common/minimize.c:431: warning: comparison between signed and unsigned integer expressions
common/minimize.c:444: warning: comparison between signed and unsigned integer expressions
common/minimize.c:448: warning: comparison between signed and unsigned integer expressions
common/minimize.c:460: warning: comparison between signed and unsigned integer expressions
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/minimize_global.o common/minimize_global.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/mp.o common/mp.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/polyroot.o common/polyroot.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/prime_delta.o common/prime_delta.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/prime_sieve.o common/prime_sieve.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/savefile.o common/savefile.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/strtoll.o common/strtoll.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/thread.o common/thread.c
common/thread.c:252: warning: ‘force_align_arg_pointer’ attribute ignored
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/util.o common/util.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o mpqs/gf2.qo mpqs/gf2.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o mpqs/mpqs.qo mpqs/mpqs.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o mpqs/poly.qo mpqs/poly.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o mpqs/relation.qo mpqs/relation.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o mpqs/sieve.qo mpqs/sieve.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o mpqs/sqrt.qo mpqs/sqrt.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -DBLOCK_KB=32 -DHAS_SSE2 \
                -DROUTINE_NAME=qs_core_sieve_generic_32k \
                -c -o mpqs/sieve_core_generic_32k.qo mpqs/sieve_core.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -DBLOCK_KB=64 -DHAS_SSE2 \
                -DROUTINE_NAME=qs_core_sieve_generic_64k \
                -c -o mpqs/sieve_core_generic_64k.qo mpqs/sieve_core.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/poly.no gnfs/poly/poly.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/poly_param.no gnfs/poly/poly_param.c
gnfs/poly/poly_param.c: In function ‘get_poly_params’:
gnfs/poly/poly_param.c:145: warning: unused variable ‘bits’
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/poly_skew.no gnfs/poly/poly_skew.c
gnfs/poly/poly_skew.c: In function ‘sizeopt_callback’:
gnfs/poly/poly_skew.c:85: warning: unused parameter ‘deg’
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/polyutil.no gnfs/poly/polyutil.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/root_score.no gnfs/poly/root_score.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/size_score.no gnfs/poly/size_score.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage1/stage1.no gnfs/poly/stage1/stage1.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage1/stage1_roots.no gnfs/poly/stage1/stage1_roots.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/optimize.no gnfs/poly/stage2/optimize.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/optimize_deg6.no gnfs/poly/stage2/optimize_deg6.c
gnfs/poly/stage2/optimize_deg6.c: In function ‘poly_eval’:
gnfs/poly/stage2/optimize_deg6.c:208: warning: comparison between signed and unsigned integer expressions
gnfs/poly/stage2/optimize_deg6.c: In function ‘fill_powers’:
gnfs/poly/stage2/optimize_deg6.c:406: warning: comparison between signed and unsigned integer expressions
gnfs/poly/stage2/optimize_deg6.c: In function ‘optimize_initial_deg6’:
gnfs/poly/stage2/optimize_deg6.c:722: warning: comparison between signed and unsigned integer expressions
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve.no gnfs/poly/stage2/root_sieve.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve_deg45_x.no gnfs/poly/stage2/root_sieve_deg45_x.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve_deg5_xy.no gnfs/poly/stage2/root_sieve_deg5_xy.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve_deg6_x.no gnfs/poly/stage2/root_sieve_deg6_x.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve_deg6_xy.no gnfs/poly/stage2/root_sieve_deg6_xy.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve_deg6_xyz.no gnfs/poly/stage2/root_sieve_deg6_xyz.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve_line.no gnfs/poly/stage2/root_sieve_line.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve_util.no gnfs/poly/stage2/root_sieve_util.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/stage2.no gnfs/poly/stage2/stage2.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/filter/duplicate.no gnfs/filter/duplicate.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/filter/filter.no gnfs/filter/filter.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/filter/singleton.no gnfs/filter/singleton.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/sieve/sieve_line.no gnfs/sieve/sieve_line.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/sieve/sieve_util.no gnfs/sieve/sieve_util.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/sqrt/sqrt.no gnfs/sqrt/sqrt.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/sqrt/sqrt_a.no gnfs/sqrt/sqrt_a.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/fb.no gnfs/fb.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/ffpoly.no gnfs/ffpoly.c
gnfs/ffpoly.c: In function ‘poly_xpow_pd’:
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[16u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[16u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[15u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[15u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[14u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[14u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[13u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[13u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[12u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[12u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[11u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[11u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[10u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[10u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[9u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[9u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[8u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[8u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[7u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[7u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[6u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[6u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[5u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[5u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[4u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[4u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[3u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[3u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[2u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[2u]’ was declared here
gnfs/ffpoly.c: In function ‘inv_sqrt_mod_q’:
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[16u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[16u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[15u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[15u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[14u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[14u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[13u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[13u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[12u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[12u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[11u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[11u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[10u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[10u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[9u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[9u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[8u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[8u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[7u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[7u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[6u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[6u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[5u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[5u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[4u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[4u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[3u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[3u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[2u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[2u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[1u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[1u]’ was declared here
gnfs/ffpoly.c: In function ‘get_zeros_rec’:
gnfs/ffpoly.c:594: warning: ‘g’ may be used uninitialized in this function
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/gf2.no gnfs/gf2.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/gnfs.no gnfs/gnfs.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/relation.no gnfs/relation.c
gnfs/relation.c: In function ‘nfs_get_cycle_relations’:
gnfs/relation.c:622: warning: ‘tmp_relation.rel_index’ may be used uninitialized in this function
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage1/stage1_sieve_cpu.no gnfs/poly/stage1/stage1_sieve_cpu.c
rm -f libmsieve.a
ar r libmsieve.a aprcl/mpz_aprcl32.o common/filter/clique.o common/filter/filter.o common/filter/merge.o common/filter/merge_post.o common/filter/merge_pre.o common/filter/merge_util.o common/filter/singleton.o common/lanczos/lanczos.o common/lanczos/lanczos_io.o common/lanczos/lanczos_matmul.o common/lanczos/lanczos_pre.o common/lanczos/matmul_util.o common/lanczos/cpu/lanczos_matmul0.o common/lanczos/cpu/lanczos_matmul1.o common/lanczos/cpu/lanczos_matmul2.o common/lanczos/cpu/lanczos_vv.o common/smallfact/gmp_ecm.o common/smallfact/smallfact.o common/smallfact/squfof.o common/smallfact/tinyqs.o common/batch_factor.o common/cuda_xface.o common/dickman.o common/driver.o common/expr_eval.o common/hashtable.o common/integrate.o common/minimize.o common/minimize_global.o common/mp.o common/polyroot.o common/prime_delta.o common/prime_sieve.o common/savefile.o common/strtoll.o common/thread.o common/util.o mpqs/gf2.qo mpqs/mpqs.qo mpqs/poly.qo mpqs/relation.qo mpqs/sieve.qo mpqs/sqrt.qo mpqs/sieve_core_generic_32k.qo mpqs/sieve_core_generic_64k.qo gnfs/poly/poly.no gnfs/poly/poly_param.no gnfs/poly/poly_skew.no gnfs/poly/polyutil.no gnfs/poly/root_score.no gnfs/poly/size_score.no gnfs/poly/stage1/stage1.no gnfs/poly/stage1/stage1_roots.no gnfs/poly/stage2/optimize.no gnfs/poly/stage2/optimize_deg6.no gnfs/poly/stage2/root_sieve.no gnfs/poly/stage2/root_sieve_deg45_x.no gnfs/poly/stage2/root_sieve_deg5_xy.no gnfs/poly/stage2/root_sieve_deg6_x.no gnfs/poly/stage2/root_sieve_deg6_xy.no gnfs/poly/stage2/root_sieve_deg6_xyz.no gnfs/poly/stage2/root_sieve_line.no gnfs/poly/stage2/root_sieve_util.no gnfs/poly/stage2/stage2.no gnfs/filter/duplicate.no gnfs/filter/filter.no gnfs/filter/singleton.no gnfs/sieve/sieve_line.no gnfs/sieve/sieve_util.no gnfs/sqrt/sqrt.no gnfs/sqrt/sqrt_a.no gnfs/fb.no gnfs/ffpoly.no gnfs/gf2.no gnfs/gnfs.no gnfs/relation.no gnfs/poly/stage1/stage1_sieve_cpu.no gnfs/poly/stage1/stage1_sieve_cpu.no
ar: creating libmsieve.a
ranlib libmsieve.a
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB demo.c -o msieve  \
                        libmsieve.a -lecm -ldl -lgmp -lm -lpthread
/usr/local/lib/libecm.a(libecm_la-mpmod.o): In function `ecm_redc_n':
/root/yafu/ecm-7.0.4/mpmod.c:199: undefined reference to `__gmpn_mullo_n'
/usr/local/lib/libecm.a(libecm_la-mpmod.o): In function `ecm_sqrredc_basecase_n':
/root/yafu/ecm-7.0.4/mpmod.c:683: undefined reference to `__gmpn_sqr'
/root/yafu/ecm-7.0.4/mpmod.c:653: undefined reference to `__gmpn_sqr'
/root/yafu/ecm-7.0.4/mpmod.c:647: undefined reference to `__gmpn_sqr'
/root/yafu/ecm-7.0.4/mpmod.c:666: undefined reference to `__gmpn_sqr'
/usr/local/lib/libecm.a(libecm_la-ks-multiply.o): In function `__ecm_ks_wrapmul_m':
/root/yafu/ecm-7.0.4/ks-multiply.c:558: undefined reference to `__gmpn_mulmod_bnm1_next_size'
/usr/local/lib/libecm.a(libecm_la-ks-multiply.o): In function `__ecm_ks_wrapmul':
/root/yafu/ecm-7.0.4/ks-multiply.c:628: undefined reference to `__gmpn_mulmod_bnm1_next_size'
/root/yafu/ecm-7.0.4/ks-multiply.c:653: undefined reference to `__gmpn_mulmod_bnm1'
/usr/local/lib/libecm.a(libecm_la-ks-multiply.o): In function `__ecm_TMulKS':
/root/yafu/ecm-7.0.4/ks-multiply.c:483: undefined reference to `__gmpn_mulmod_bnm1_next_size'
/root/yafu/ecm-7.0.4/ks-multiply.c:501: undefined reference to `__gmpn_mulmod_bnm1'
/root/yafu/ecm-7.0.4/ks-multiply.c:503: undefined reference to `__gmpn_mulmod_bnm1'
collect2: ld returned 1 exit status
make: *** [all] Error 1
Any suggestions for how to proceed? Please bear in mind that I speak linux very poorly, so simplicity and specificity of advice is appreciated.
James Heinrich is offline   Reply With Quote
Old 2020-09-03, 17:38   #2
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

5·677 Posts
Default

My instructions that you have referenced are quite old. I've kept up some, but really, the newer versions of everything are in the blog area of this forum. Specifically, the YAFU section is located at:

How I install YAFU onto my Ubuntu Machines

This page includes referencing the msieve installation page and info on editing the msieve code to work with GMP-6.2.0, which might possibly be the issue. Others have more info, but I think you should start by reviewing the newer instructions referenced above.
EdH is offline   Reply With Quote
Old 2020-09-03, 20:04   #3
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

C3616 Posts
Default

Thanks Ed. I read carefully through your newer instructions, and again everything well very nicely until trying to make msieve.

Quote:
...
/usr/local/lib/libecm.a(libecm_la-ks-multiply.o): In function `__ecm_TMulKS':
/root/yafu/ecm/ks-multiply.c:483: undefined reference to `__gmpn_mulmod_bnm1_next_size'
/root/yafu/ecm/ks-multiply.c:501: undefined reference to `__gmpn_mulmod_bnm1'
/root/yafu/ecm/ks-multiply.c:503: undefined reference to `__gmpn_mulmod_bnm1'
collect2: ld returned 1 exit status
make: *** [all] Error 1
# make all ECM=1 NO_ZLIB=1
Code:
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o aprcl/mpz_aprcl32.o aprcl/mpz_aprcl32.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/filter/clique.o common/filter/clique.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/filter/filter.o common/filter/filter.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/filter/merge.o common/filter/merge.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/filter/merge_post.o common/filter/merge_post.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/filter/merge_pre.o common/filter/merge_pre.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/filter/merge_util.o common/filter/merge_util.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/filter/singleton.o common/filter/singleton.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/lanczos.o common/lanczos/lanczos.c
common/lanczos/lanczos.c: In function ‘dump_lanczos_state’:
common/lanczos/lanczos.c:624: warning: unused parameter ‘packed_matrix’
common/lanczos/lanczos.c:627: warning: unused parameter ‘n’
common/lanczos/lanczos.c:628: warning: unused parameter ‘scratch’
common/lanczos/lanczos.c: In function ‘read_lanczos_state’:
common/lanczos/lanczos.c:735: warning: unused parameter ‘packed_matrix’
common/lanczos/lanczos.c:738: warning: unused parameter ‘n’
common/lanczos/lanczos.c:740: warning: unused parameter ‘scratch’
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/lanczos_io.o common/lanczos/lanczos_io.c
common/lanczos/lanczos_io.c: In function ‘dump_matrix’:
common/lanczos/lanczos_io.c:173: warning: unused parameter ‘sparse_weight’
common/lanczos/lanczos_io.c: In function ‘file_cache_get_next’:
common/lanczos/lanczos_io.c:372: warning: unused parameter ‘obj’
common/lanczos/lanczos_io.c:375: warning: unused parameter ‘read_submatrix’
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/lanczos_matmul.o common/lanczos/lanczos_matmul.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/lanczos_pre.o common/lanczos/lanczos_pre.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/matmul_util.o common/lanczos/matmul_util.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/cpu/lanczos_matmul0.o common/lanczos/cpu/lanczos_matmul0.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/cpu/lanczos_matmul1.o common/lanczos/cpu/lanczos_matmul1.c
common/lanczos/cpu/lanczos_matmul1.c: In function ‘mul_packed_core’:
common/lanczos/cpu/lanczos_matmul1.c:310: warning: unused parameter ‘thread_num’
common/lanczos/cpu/lanczos_matmul1.c: In function ‘mul_packed_small_core’:
common/lanczos/cpu/lanczos_matmul1.c:349: warning: unused parameter ‘thread_num’
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/cpu/lanczos_matmul2.o common/lanczos/cpu/lanczos_matmul2.c
common/lanczos/cpu/lanczos_matmul2.c: In function ‘mul_trans_packed_core’:
common/lanczos/cpu/lanczos_matmul2.c:337: warning: unused parameter ‘thread_num’
common/lanczos/cpu/lanczos_matmul2.c: In function ‘mul_trans_packed_small_core’:
common/lanczos/cpu/lanczos_matmul2.c:376: warning: unused parameter ‘thread_num’
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/cpu/lanczos_vv.o common/lanczos/cpu/lanczos_vv.c
common/lanczos/cpu/lanczos_vv.c: In function ‘vv_alloc’:
common/lanczos/cpu/lanczos_vv.c:18: warning: unused parameter ‘extra’
common/lanczos/cpu/lanczos_vv.c: In function ‘outer_thread_run’:
common/lanczos/cpu/lanczos_vv.c:310: warning: unused parameter ‘thread_num’
common/lanczos/cpu/lanczos_vv.c: In function ‘inner_thread_run’:
common/lanczos/cpu/lanczos_vv.c:549: warning: unused parameter ‘thread_num’
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/smallfact/gmp_ecm.o common/smallfact/gmp_ecm.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/smallfact/smallfact.o common/smallfact/smallfact.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/smallfact/squfof.o common/smallfact/squfof.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/smallfact/tinyqs.o common/smallfact/tinyqs.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/batch_factor.o common/batch_factor.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/cuda_xface.o common/cuda_xface.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/dickman.o common/dickman.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/driver.o common/driver.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/expr_eval.o common/expr_eval.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/hashtable.o common/hashtable.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/integrate.o common/integrate.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/minimize.o common/minimize.c
common/minimize.c: In function ‘solve_dmatrix’:
common/minimize.c:421: warning: comparison between signed and unsigned integer expressions
common/minimize.c:424: warning: comparison between signed and unsigned integer expressions
common/minimize.c:431: warning: comparison between signed and unsigned integer expressions
common/minimize.c:444: warning: comparison between signed and unsigned integer expressions
common/minimize.c:448: warning: comparison between signed and unsigned integer expressions
common/minimize.c:460: warning: comparison between signed and unsigned integer expressions
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/minimize_global.o common/minimize_global.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/mp.o common/mp.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/polyroot.o common/polyroot.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/prime_delta.o common/prime_delta.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/prime_sieve.o common/prime_sieve.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/savefile.o common/savefile.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/strtoll.o common/strtoll.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/thread.o common/thread.c
common/thread.c:252: warning: ‘force_align_arg_pointer’ attribute ignored
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/util.o common/util.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o mpqs/gf2.qo mpqs/gf2.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o mpqs/mpqs.qo mpqs/mpqs.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o mpqs/poly.qo mpqs/poly.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o mpqs/relation.qo mpqs/relation.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o mpqs/sieve.qo mpqs/sieve.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -c -o mpqs/sqrt.qo mpqs/sqrt.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -DBLOCK_KB=32 -DHAS_SSE2 \
                -DROUTINE_NAME=qs_core_sieve_generic_32k \
                -c -o mpqs/sieve_core_generic_32k.qo mpqs/sieve_core.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -DBLOCK_KB=64 -DHAS_SSE2 \
                -DROUTINE_NAME=qs_core_sieve_generic_64k \
                -c -o mpqs/sieve_core_generic_64k.qo mpqs/sieve_core.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/poly.no gnfs/poly/poly.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/poly_param.no gnfs/poly/poly_param.c
gnfs/poly/poly_param.c: In function ‘get_poly_params’:
gnfs/poly/poly_param.c:145: warning: unused variable ‘bits’
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/poly_skew.no gnfs/poly/poly_skew.c
gnfs/poly/poly_skew.c: In function ‘sizeopt_callback’:
gnfs/poly/poly_skew.c:85: warning: unused parameter ‘deg’
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/polyutil.no gnfs/poly/polyutil.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/root_score.no gnfs/poly/root_score.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/size_score.no gnfs/poly/size_score.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage1/stage1.no gnfs/poly/stage1/stage1.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage1/stage1_roots.no gnfs/poly/stage1/stage1_roots.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/optimize.no gnfs/poly/stage2/optimize.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/optimize_deg6.no gnfs/poly/stage2/optimize_deg6.c
gnfs/poly/stage2/optimize_deg6.c: In function ‘poly_eval’:
gnfs/poly/stage2/optimize_deg6.c:208: warning: comparison between signed and unsigned integer expressions
gnfs/poly/stage2/optimize_deg6.c: In function ‘fill_powers’:
gnfs/poly/stage2/optimize_deg6.c:406: warning: comparison between signed and unsigned integer expressions
gnfs/poly/stage2/optimize_deg6.c: In function ‘optimize_initial_deg6’:
gnfs/poly/stage2/optimize_deg6.c:722: warning: comparison between signed and unsigned integer expressions
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve.no gnfs/poly/stage2/root_sieve.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve_deg45_x.no gnfs/poly/stage2/root_sieve_deg45_x.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve_deg5_xy.no gnfs/poly/stage2/root_sieve_deg5_xy.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve_deg6_x.no gnfs/poly/stage2/root_sieve_deg6_x.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve_deg6_xy.no gnfs/poly/stage2/root_sieve_deg6_xy.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve_deg6_xyz.no gnfs/poly/stage2/root_sieve_deg6_xyz.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve_line.no gnfs/poly/stage2/root_sieve_line.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/root_sieve_util.no gnfs/poly/stage2/root_sieve_util.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage2/stage2.no gnfs/poly/stage2/stage2.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/filter/duplicate.no gnfs/filter/duplicate.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/filter/filter.no gnfs/filter/filter.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/filter/singleton.no gnfs/filter/singleton.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/sieve/sieve_line.no gnfs/sieve/sieve_line.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/sieve/sieve_util.no gnfs/sieve/sieve_util.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/sqrt/sqrt.no gnfs/sqrt/sqrt.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/sqrt/sqrt_a.no gnfs/sqrt/sqrt_a.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/fb.no gnfs/fb.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/ffpoly.no gnfs/ffpoly.c
gnfs/ffpoly.c: In function ‘poly_xpow_pd’:
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[16u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[16u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[15u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[15u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[14u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[14u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[13u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[13u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[12u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[12u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[11u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[11u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[10u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[10u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[9u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[9u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[8u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[8u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[7u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[7u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[6u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[6u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[5u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[5u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[4u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[4u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[3u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[3u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘x[0u].coef[2u]’ is used uninitialized in this function
gnfs/ffpoly.c:840: note: ‘x[0u].coef[2u]’ was declared here
gnfs/ffpoly.c: In function ‘inv_sqrt_mod_q’:
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[16u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[16u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[15u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[15u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[14u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[14u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[13u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[13u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[12u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[12u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[11u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[11u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[10u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[10u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[9u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[9u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[8u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[8u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[7u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[7u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[6u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[6u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[5u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[5u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[4u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[4u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[3u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[3u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[2u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[2u]’ was declared here
gnfs/ffpoly.c:33: warning: ‘r1[0u].coef[1u]’ may be used uninitialized in this function
gnfs/ffpoly.c:946: note: ‘r1[0u].coef[1u]’ was declared here
gnfs/ffpoly.c: In function ‘get_zeros_rec’:
gnfs/ffpoly.c:594: warning: ‘g’ may be used uninitialized in this function
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/gf2.no gnfs/gf2.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/gnfs.no gnfs/gnfs.c
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/relation.no gnfs/relation.c
gnfs/relation.c: In function ‘nfs_get_cycle_relations’:
gnfs/relation.c:622: warning: ‘tmp_relation.rel_index’ may be used uninitialized in this function
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB -Ignfs -c -o gnfs/poly/stage1/stage1_sieve_cpu.no gnfs/poly/stage1/stage1_sieve_cpu.c
rm -f libmsieve.a
ar r libmsieve.a aprcl/mpz_aprcl32.o common/filter/clique.o common/filter/filter.o common/filter/merge.o common/filter/merge_post.o common/filter/merge_pre.o common/filter/merge_util.o common/filter/singleton.o common/lanczos/lanczos.o common/lanczos/lanczos_io.o common/lanczos/lanczos_matmul.o common/lanczos/lanczos_pre.o common/lanczos/matmul_util.o common/lanczos/cpu/lanczos_matmul0.o common/lanczos/cpu/lanczos_matmul1.o common/lanczos/cpu/lanczos_matmul2.o common/lanczos/cpu/lanczos_vv.o common/smallfact/gmp_ecm.o common/smallfact/smallfact.o common/smallfact/squfof.o common/smallfact/tinyqs.o common/batch_factor.o common/cuda_xface.o common/dickman.o common/driver.o common/expr_eval.o common/hashtable.o common/integrate.o common/minimize.o common/minimize_global.o common/mp.o common/polyroot.o common/prime_delta.o common/prime_sieve.o common/savefile.o common/strtoll.o common/thread.o common/util.o mpqs/gf2.qo mpqs/mpqs.qo mpqs/poly.qo mpqs/relation.qo mpqs/sieve.qo mpqs/sqrt.qo mpqs/sieve_core_generic_32k.qo mpqs/sieve_core_generic_64k.qo gnfs/poly/poly.no gnfs/poly/poly_param.no gnfs/poly/poly_skew.no gnfs/poly/polyutil.no gnfs/poly/root_score.no gnfs/poly/size_score.no gnfs/poly/stage1/stage1.no gnfs/poly/stage1/stage1_roots.no gnfs/poly/stage2/optimize.no gnfs/poly/stage2/optimize_deg6.no gnfs/poly/stage2/root_sieve.no gnfs/poly/stage2/root_sieve_deg45_x.no gnfs/poly/stage2/root_sieve_deg5_xy.no gnfs/poly/stage2/root_sieve_deg6_x.no gnfs/poly/stage2/root_sieve_deg6_xy.no gnfs/poly/stage2/root_sieve_deg6_xyz.no gnfs/poly/stage2/root_sieve_line.no gnfs/poly/stage2/root_sieve_util.no gnfs/poly/stage2/stage2.no gnfs/filter/duplicate.no gnfs/filter/filter.no gnfs/filter/singleton.no gnfs/sieve/sieve_line.no gnfs/sieve/sieve_util.no gnfs/sqrt/sqrt.no gnfs/sqrt/sqrt_a.no gnfs/fb.no gnfs/ffpoly.no gnfs/gf2.no gnfs/gnfs.no gnfs/relation.no gnfs/poly/stage1/stage1_sieve_cpu.no gnfs/poly/stage1/stage1_sieve_cpu.no
ar: creating libmsieve.a
ranlib libmsieve.a
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DNO_ZLIB demo.c -o msieve  \
                        libmsieve.a -lecm -ldl -lgmp -lm -lpthread
/usr/local/lib/libecm.a(libecm_la-mpmod.o): In function `ecm_redc_n':
/root/yafu/ecm/mpmod.c:199: undefined reference to `__gmpn_mullo_n'
/usr/local/lib/libecm.a(libecm_la-mpmod.o): In function `ecm_sqrredc_basecase_n':
/root/yafu/ecm/mpmod.c:683: undefined reference to `__gmpn_sqr'
/root/yafu/ecm/mpmod.c:653: undefined reference to `__gmpn_sqr'
/root/yafu/ecm/mpmod.c:647: undefined reference to `__gmpn_sqr'
/root/yafu/ecm/mpmod.c:666: undefined reference to `__gmpn_sqr'
/usr/local/lib/libecm.a(libecm_la-ks-multiply.o): In function `__ecm_ks_wrapmul_m':
/root/yafu/ecm/ks-multiply.c:558: undefined reference to `__gmpn_mulmod_bnm1_next_size'
/usr/local/lib/libecm.a(libecm_la-ks-multiply.o): In function `__ecm_ks_wrapmul':
/root/yafu/ecm/ks-multiply.c:628: undefined reference to `__gmpn_mulmod_bnm1_next_size'
/root/yafu/ecm/ks-multiply.c:653: undefined reference to `__gmpn_mulmod_bnm1'
/usr/local/lib/libecm.a(libecm_la-ks-multiply.o): In function `__ecm_TMulKS':
/root/yafu/ecm/ks-multiply.c:483: undefined reference to `__gmpn_mulmod_bnm1_next_size'
/root/yafu/ecm/ks-multiply.c:501: undefined reference to `__gmpn_mulmod_bnm1'
/root/yafu/ecm/ks-multiply.c:503: undefined reference to `__gmpn_mulmod_bnm1'
collect2: ld returned 1 exit status
make: *** [all] Error 1
I did install GMP-6.2.0 and make the modification to msieve prior to the above.
Any suggestions? I haven't yet tried installing GMP-6.1.2 instead, is that likely to make any difference?
This is CentOS 6.10 if that's any relevance.
James Heinrich is offline   Reply With Quote
Old 2020-09-03, 23:30   #4
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

1E1C16 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
This is CentOS 6.10 if that's any relevance.
That is a really really old release.

What does gcc --version tell you? How about uname -a?
Xyzzy is offline   Reply With Quote
Old 2020-09-04, 00:16   #5
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

2·3·521 Posts
Default

Quote:
Originally Posted by Xyzzy View Post
That is a really really old release.
Unfortunately, yes. But it's what I've got to work with right now. As best I can tell this server was created 2011-09-23. I'll likely be swapping servers and upgrading to CentOS 8 within a couple months, but that's not yet.

Quote:
Originally Posted by Xyzzy View Post
What does gcc --version tell you? How about uname -a?
Quote:
gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

uname -a
Linux sili.net 2.6.32-754.31.1.el6.x86_64 #1 SMP Wed Jul 15 16:02:21 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Last fiddled with by James Heinrich on 2020-09-04 at 00:18
James Heinrich is offline   Reply With Quote
Old 2020-09-04, 15:47   #6
chris2be8
 
chris2be8's Avatar
 
Sep 2009

5·383 Posts
Default

Try make all NO_ZLIB=1 to build it without ECM. All that means is that msieve won't run ECM against the number you are working on. yafu will still be able to run ECM before it calls msieve.

Chris
chris2be8 is offline   Reply With Quote
Old 2020-09-04, 16:06   #7
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

2·3·521 Posts
Default

Quote:
Originally Posted by chris2be8 View Post
Try make all NO_ZLIB=1 to build it without ECM
That took much less time to arrive at a fatal error:

make all NO_ZLIB=1
Code:
rm -f libmsieve.a
ar r libmsieve.a aprcl/mpz_aprcl32.o common/filter/clique.o common/filter/filter.o common/filter/merge.o common/filter/merge_post.o common/filter/merge_pre.o common/filter/merge_util.o common/filter/singleton.o common/lanczos/lanczos.o common/lanczos/lanczos_io.o common/lanczos/lanczos_matmul.o common/lanczos/lanczos_pre.o common/lanczos/matmul_util.o common/lanczos/cpu/lanczos_matmul0.o common/lanczos/cpu/lanczos_matmul1.o common/lanczos/cpu/lanczos_matmul2.o common/lanczos/cpu/lanczos_vv.o common/smallfact/gmp_ecm.o common/smallfact/smallfact.o common/smallfact/squfof.o common/smallfact/tinyqs.o common/batch_factor.o common/cuda_xface.o common/dickman.o common/driver.o common/expr_eval.o common/hashtable.o common/integrate.o common/minimize.o common/minimize_global.o common/mp.o common/polyroot.o common/prime_delta.o common/prime_sieve.o common/savefile.o common/strtoll.o common/thread.o common/util.o mpqs/gf2.qo mpqs/mpqs.qo mpqs/poly.qo mpqs/relation.qo mpqs/sieve.qo mpqs/sqrt.qo mpqs/sieve_core_generic_32k.qo mpqs/sieve_core_generic_64k.qo gnfs/poly/poly.no gnfs/poly/poly_param.no gnfs/poly/poly_skew.no gnfs/poly/polyutil.no gnfs/poly/root_score.no gnfs/poly/size_score.no gnfs/poly/stage1/stage1.no gnfs/poly/stage1/stage1_roots.no gnfs/poly/stage2/optimize.no gnfs/poly/stage2/optimize_deg6.no gnfs/poly/stage2/root_sieve.no gnfs/poly/stage2/root_sieve_deg45_x.no gnfs/poly/stage2/root_sieve_deg5_xy.no gnfs/poly/stage2/root_sieve_deg6_x.no gnfs/poly/stage2/root_sieve_deg6_xy.no gnfs/poly/stage2/root_sieve_deg6_xyz.no gnfs/poly/stage2/root_sieve_line.no gnfs/poly/stage2/root_sieve_util.no gnfs/poly/stage2/stage2.no gnfs/filter/duplicate.no gnfs/filter/filter.no gnfs/filter/singleton.no gnfs/sieve/sieve_line.no gnfs/sieve/sieve_util.no gnfs/sqrt/sqrt.no gnfs/sqrt/sqrt_a.no gnfs/fb.no gnfs/ffpoly.no gnfs/gf2.no gnfs/gnfs.no gnfs/relation.no gnfs/poly/stage1/stage1_sieve_cpu.no gnfs/poly/stage1/stage1_sieve_cpu.no
ar: creating libmsieve.a
ranlib libmsieve.a
gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -DVBITS=64  -Wall -W -DMSIEVE_SVN_VERSION="\"1032M\"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DNO_ZLIB demo.c -o msieve  \
                        libmsieve.a -ldl -lgmp -lm -lpthread
libmsieve.a(gmp_ecm.o): In function `ecm_pp1_pm1':
gmp_ecm.c:(.text+0x221): undefined reference to `ecm_init'
gmp_ecm.c:(.text+0x37a): undefined reference to `ecm_factor'
gmp_ecm.c:(.text+0x425): undefined reference to `ecm_factor'
gmp_ecm.c:(.text+0x539): undefined reference to `ecm_factor'
gmp_ecm.c:(.text+0x5f6): undefined reference to `ecm_clear'
collect2: ld returned 1 exit status
make: *** [all] Error 1
James Heinrich is offline   Reply With Quote
Old 2020-09-04, 18:26   #8
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

1101001110012 Posts
Default

Are you running "make clean" in between your attempts? This looks like there are some ECM references still in object files.
EdH is offline   Reply With Quote
Old 2020-09-04, 18:51   #9
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

C3616 Posts
Default

Quote:
Originally Posted by EdH View Post
Are you running "make clean" in between your attempts? This looks like there are some ECM references still in object files.
I did every previous attempt... until that one

Now it works!

On to the next step...
James Heinrich is offline   Reply With Quote
Old 2020-09-04, 20:59   #10
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

2·3·521 Posts
Default

So, after Msieve was done, I did the ggnfs part (not much to that) and then went on to yafu itself, opting for the "trunk" branch (not wanting any more problems than I already have). It failed.

The Makefile I have said CC = gcc (not CC = gcc-7.3.0 per the instructions) but I commented it out anyways. This section of the instructions are not excessively clear, I think I'm just supposed to #comment-out the CC= line and edit the LIBS += line, but the bold formatting is subtle, perhaps you could edit this section of your guide to either have those lines colored and/or add a text description of the exact change?

lscpu
Code:
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    1
Core(s) per socket:    8
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 77
Model name:            Intel(R) Atom(TM) CPU  C2750  @ 2.40GHz
Stepping:              8
CPU MHz:               1200.000
BogoMIPS:              4799.48
Virtualization:        VT-x
L1d cache:             24K
L1i cache:             32K
L2 cache:              1024K
NUMA node0 CPU(s):     0-7

make x86_64 NFS=1
Code:
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/msieve/lanczos.o factor/qs/msieve/lanczos.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/msieve/lanczos_matmul0.o factor/qs/msieve/lanczos_matmul0.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/msieve/lanczos_matmul1.o factor/qs/msieve/lanczos_matmul1.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/msieve/lanczos_matmul2.o factor/qs/msieve/lanczos_matmul2.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/msieve/lanczos_pre.o factor/qs/msieve/lanczos_pre.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/msieve/sqrt.o factor/qs/msieve/sqrt.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/msieve/savefile.o factor/qs/msieve/savefile.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/msieve/gf2.o factor/qs/msieve/gf2.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/driver.o top/driver.c
top/driver.c: In function ‘main’:
top/driver.c:213: warning: implicit declaration of function ‘test_dlp_composites_par’
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/utils.o top/utils.c
top/utils.c: In function ‘extended_cpuid’:
top/utils.c:1604: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/stack.o top/stack.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/calc.o top/calc.c
top/calc.c: In function ‘process_expression’:
top/calc.c:665: warning: unused variable ‘t’
top/calc.c:664: warning: unused variable ‘stop’
top/calc.c:664: warning: unused variable ‘start’
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/test.o top/test.c
top/test.c: In function ‘test_dlp_composites_par’:
top/test.c:317: warning: unused variable ‘queue’
top/test.c:308: warning: unused variable ‘f64’
top/test.c: In function ‘test_dlp_composites’:
top/test.c:428: warning: unused variable ‘queue’
top/test.c: In function ‘richard_guy_problem_e7’:
top/test.c:1284: warning: implicit declaration of function ‘GetPRIMESRange’
top/test.c:1285: warning: assignment makes pointer from integer without a cast
top/test.c:1305: warning: assignment makes pointer from integer without a cast
top/test.c: In function ‘squfof_rds’:
top/test.c:53: warning: ‘r’ may be used uninitialized in this function
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/aprcl/mpz_aprcl.o top/aprcl/mpz_aprcl.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/factor_common.o factor/factor_common.c
factor/factor_common.c: In function ‘init_factor_work’:
factor/factor_common.c:2190: warning: enumeration value ‘state_idle’ not handled in switch
factor/factor_common.c:2190: warning: enumeration value ‘state_trialdiv’ not handled in switch
factor/factor_common.c:2190: warning: enumeration value ‘state_fermat’ not handled in switch
factor/factor_common.c:2190: warning: enumeration value ‘state_rho’ not handled in switch
factor/factor_common.c:2190: warning: enumeration value ‘state_pp1_lvl1’ not handled in switch
factor/factor_common.c:2190: warning: enumeration value ‘state_pm1_lvl1’ not handled in switch
factor/factor_common.c:2190: warning: enumeration value ‘state_pp1_lvl2’ not handled in switch
factor/factor_common.c:2190: warning: enumeration value ‘state_pm1_lvl2’ not handled in switch
factor/factor_common.c:2190: warning: enumeration value ‘state_pp1_lvl3’ not handled in switch
factor/factor_common.c:2190: warning: enumeration value ‘state_pm1_lvl3’ not handled in switch
factor/factor_common.c:2190: warning: enumeration value ‘state_ecm_15digit’ not handled in switch
factor/factor_common.c:2190: warning: enumeration value ‘state_ecm_20digit’ not handled in switch
factor/factor_common.c:2190: warning: enumeration value ‘state_qs’ not handled in switch
factor/factor_common.c:2190: warning: enumeration value ‘state_nfs’ not handled in switch
factor/factor_common.c:2190: warning: enumeration value ‘state_done’ not handled in switch
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/rho.o factor/rho.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/squfof.o factor/squfof.c
factor/squfof.c: In function ‘par_shanks_loop’:
factor/squfof.c:405: warning: implicit declaration of function ‘get_next_multiplier’
factor/squfof.c:393: warning: unused variable ‘result’
factor/squfof.c:248: warning: unused variable ‘nn64’
factor/squfof.c:248: warning: unused variable ‘n64’
factor/squfof.c:247: warning: unused variable ‘rounds’
factor/squfof.c: In function ‘par_shanks_mult_unit’:
factor/squfof.c:1029: warning: ignoring #pragma ivdep
factor/squfof.c:1030: warning: ignoring #pragma vector aligned
factor/squfof.c:1041: warning: ignoring #pragma ivdep
factor/squfof.c:1042: warning: ignoring #pragma vector aligned
factor/squfof.c:1105: warning: ignoring #pragma ivdep
factor/squfof.c:1106: warning: ignoring #pragma vector aligned
factor/squfof.c:1152: warning: ignoring #pragma ivdep
factor/squfof.c:1153: warning: ignoring #pragma vector aligned
factor/squfof.c:1202: warning: ignoring #pragma ivdep
factor/squfof.c:1203: warning: ignoring #pragma vector aligned
factor/squfof.c:1204: warning: ignoring #pragma unroll
factor/squfof.c:1267: warning: ignoring #pragma ivdep
factor/squfof.c:1268: warning: ignoring #pragma vector aligned
factor/squfof.c:1317: warning: ignoring #pragma ivdep
factor/squfof.c:1318: warning: ignoring #pragma vector aligned
factor/squfof.c: In function ‘par_shanks_loop’:
factor/squfof.c:343: warning: ‘active_lane’ may be used uninitialized in this function
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/trialdiv.o factor/trialdiv.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/tune.o factor/tune.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/filter.o factor/qs/filter.c
factor/qs/filter.c: In function ‘yafu_qs_filter_relations’:
factor/qs/filter.c:782: warning: ‘rel’ may be used uninitialized in this function
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/tdiv.o factor/qs/tdiv.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/tdiv_small.o factor/qs/tdiv_small.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/tdiv_large.o factor/qs/tdiv_large.c
factor/qs/tdiv_large.c:84:84: warning: backslash and newline separated by space
factor/qs/tdiv_large.c:85:86: warning: backslash and newline separated by space
factor/qs/tdiv_large.c:87:112: warning: backslash and newline separated by space
factor/qs/tdiv_large.c:118:93: warning: backslash and newline separated by space
factor/qs/tdiv_large.c:126:112: warning: backslash and newline separated by space
factor/qs/tdiv_large.c:177:84: warning: backslash and newline separated by space
factor/qs/tdiv_large.c:178:86: warning: backslash and newline separated by space
factor/qs/tdiv_large.c:180:112: warning: backslash and newline separated by space
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/tdiv_scan.o factor/qs/tdiv_scan.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/large_sieve.o factor/qs/large_sieve.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/new_poly.o factor/qs/new_poly.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/siqs_test.o factor/qs/siqs_test.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/tinyqs/tinySIQS.o factor/tinyqs/tinySIQS.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/siqs_aux.o factor/qs/siqs_aux.c
factor/qs/siqs_aux.c: In function ‘get_params’:
factor/qs/siqs_aux.c:295: warning: unused variable ‘param_table_bkup’
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/smallmpqs.o factor/qs/smallmpqs.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/SIQS.o factor/qs/SIQS.c
factor/qs/SIQS.c: In function ‘SIQS’:
factor/qs/SIQS.c:73: warning: unused variable ‘alldone’
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/tdiv_med_32k.o factor/qs/tdiv_med_32k.c
factor/qs/tdiv_med_32k.c: In function ‘tdiv_medprimes_32k’:
factor/qs/tdiv_med_32k.c:73: warning: unused variable ‘buffer2’
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/tdiv_resieve_32k.o factor/qs/tdiv_resieve_32k.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/med_sieve_32k.o factor/qs/med_sieve_32k.c
In file included from factor/qs/med_sieve_32k.c:24:
factor/qs/sieve_macros_32k.h:96:65: warning: backslash and newline separated by space
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/poly_roots_32k.o factor/qs/poly_roots_32k.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/update_poly_roots_32k.o factor/qs/update_poly_roots_32k.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/gmp-ecm/ecm.o factor/gmp-ecm/ecm.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/gmp-ecm/pp1.o factor/gmp-ecm/pp1.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/gmp-ecm/pm1.o factor/gmp-ecm/pm1.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/nfs/nfs.o factor/nfs/nfs.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o arith/arith0.o arith/arith0.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o arith/arith1.o arith/arith1.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o arith/arith2.o arith/arith2.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o arith/arith3.o arith/arith3.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/eratosthenes/count.o top/eratosthenes/count.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/eratosthenes/offsets.o top/eratosthenes/offsets.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/eratosthenes/primes.o top/eratosthenes/primes.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/eratosthenes/roots.o top/eratosthenes/roots.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/eratosthenes/linesieve.o top/eratosthenes/linesieve.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/eratosthenes/soe.o top/eratosthenes/soe.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/eratosthenes/tiny.o top/eratosthenes/tiny.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/eratosthenes/worker.o top/eratosthenes/worker.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/eratosthenes/soe_util.o top/eratosthenes/soe_util.c
top/eratosthenes/soe_util.c: In function ‘check_input’:
top/eratosthenes/soe_util.c:134: warning: assignment from incompatible pointer type
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux -c -o top/eratosthenes/wrapper.o top/eratosthenes/wrapper.c
cc -g -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Itop/aprcl -I../gmp/include -I../gmp-ecm/include/linux factor/qs/msieve/lanczos.o factor/qs/msieve/lanczos_matmul0.o factor/qs/msieve/lanczos_matmul1.o factor/qs/msieve/lanczos_matmul2.o factor/qs/msieve/lanczos_pre.o factor/qs/msieve/sqrt.o factor/qs/msieve/savefile.o factor/qs/msieve/gf2.o top/driver.o top/utils.o top/stack.o top/calc.o top/test.o top/aprcl/mpz_aprcl.o factor/factor_common.o factor/rho.o factor/squfof.o factor/trialdiv.o factor/tune.o factor/qs/filter.o factor/qs/tdiv.o factor/qs/tdiv_small.o factor/qs/tdiv_large.o factor/qs/tdiv_scan.o factor/qs/large_sieve.o factor/qs/new_poly.o factor/qs/siqs_test.o factor/tinyqs/tinySIQS.o factor/qs/siqs_aux.o factor/qs/smallmpqs.o factor/qs/SIQS.o factor/qs/tdiv_med_32k.o factor/qs/tdiv_resieve_32k.o factor/qs/med_sieve_32k.o factor/qs/poly_roots_32k.o factor/qs/update_poly_roots_32k.o factor/gmp-ecm/ecm.o factor/gmp-ecm/pp1.o factor/gmp-ecm/pm1.o factor/nfs/nfs.o arith/arith0.o arith/arith1.o arith/arith2.o arith/arith3.o top/eratosthenes/count.o top/eratosthenes/offsets.o top/eratosthenes/primes.o top/eratosthenes/roots.o top/eratosthenes/linesieve.o top/eratosthenes/soe.o top/eratosthenes/tiny.o top/eratosthenes/worker.o top/eratosthenes/soe_util.o top/eratosthenes/wrapper.o factor/nfs/nfs_sieving.o factor/nfs/nfs_poly.o factor/nfs/nfs_postproc.o factor/nfs/nfs_filemanip.o factor/nfs/nfs_threading.o factor/nfs/snfs.o -o yafu -L../gmp/lib/linux/x86_64 -L../gmp-ecm/lib/linux/x86_64 -L../msieve -lmsieve -lecm -lgmp -lpthread -lm -ldl
top/calc.o: In function `feval':
/root/yafu/yafu/top/calc.c:1777: undefined reference to `__gmpz_primorial_ui'
/usr/local/lib/libecm.a(libecm_la-mpmod.o): In function `ecm_redc_n':
/root/yafu/ecm/mpmod.c:199: undefined reference to `__gmpn_mullo_n'
/usr/local/lib/libecm.a(libecm_la-mpmod.o): In function `ecm_sqrredc_basecase_n':
/root/yafu/ecm/mpmod.c:683: undefined reference to `__gmpn_sqr'
/root/yafu/ecm/mpmod.c:653: undefined reference to `__gmpn_sqr'
/root/yafu/ecm/mpmod.c:647: undefined reference to `__gmpn_sqr'
/root/yafu/ecm/mpmod.c:666: undefined reference to `__gmpn_sqr'
/usr/local/lib/libecm.a(libecm_la-ks-multiply.o): In function `__ecm_ks_wrapmul_m':
/root/yafu/ecm/ks-multiply.c:558: undefined reference to `__gmpn_mulmod_bnm1_next_size'
/usr/local/lib/libecm.a(libecm_la-ks-multiply.o): In function `__ecm_ks_wrapmul':
/root/yafu/ecm/ks-multiply.c:628: undefined reference to `__gmpn_mulmod_bnm1_next_size'
/root/yafu/ecm/ks-multiply.c:653: undefined reference to `__gmpn_mulmod_bnm1'
/usr/local/lib/libecm.a(libecm_la-ks-multiply.o): In function `__ecm_TMulKS':
/root/yafu/ecm/ks-multiply.c:483: undefined reference to `__gmpn_mulmod_bnm1_next_size'
/root/yafu/ecm/ks-multiply.c:501: undefined reference to `__gmpn_mulmod_bnm1'
/root/yafu/ecm/ks-multiply.c:503: undefined reference to `__gmpn_mulmod_bnm1'
collect2: ld returned 1 exit status
make: *** [x86_64] Error 1
Makefile
Code:
# This source distribution is placed in the public domain by its author,
# Ben Buhrow. You may use it for any purpose, free of charge,
# without having to notify anyone. I disclaim any responsibility for any
# errors.
#
# Optionally, please be nice and tell me if you find this source to be
# useful. Again optionally, if you add to the functionality present here
# please consider making those additions public too, so that others may
# benefit from your work.
#
# Some parts of the code (and also this header), included in this
# distribution have been reused from other sources. In particular I
# have benefitted greatly from the work of Jason Papadopoulos's msieve @
# www.boo.net/~jasonp, Scott Contini's mpqs implementation, and Tom St.
# Denis Tom's Fast Math library.  Many thanks to their kind donation of
# code to the public domain.
#                                          --bbuhrow@gmail.com 7/28/09
# ----------------------------------------------------------------------*/

#CC = gcc
#CC = x86_64-w64-mingw32-gcc-4.5.1
#CFLAGS = -march=core2 -mtune=core2
CFLAGS = -g
WARN_FLAGS = -Wall # -Wconversion
OPT_FLAGS = -O3
INC = -I. -Iinclude -Itop/aprcl
BINNAME = yafu


# ===================== compiler options =========================
ifeq ($(COMPILER),icc)
        CC = icc
        INC += -L/usr/lib/gcc/x86_64-redhat-linux/4.4.4
#       CFLAGS += -vec-report3
endif


# ===================== architecture options =========================
# if this option is specified then compile *both* the sse2 and sse4.1 versions of the
# appropriate files.  The executable will then choose between them based on the runtime
# capability of the user's cpu.  In other words, sse4.1 capability is required on the
# host cpu in order to compile the fat binary, but once it is compiled it should run
# to the capability of the target user cpu.
ifeq ($(USE_SSE41),1)
        CFLAGS += -DUSE_SSE41 -m64 -msse4.1
endif

ifeq ($(USE_AVX2),1)
        USE_SSE41=1
        CFLAGS += -DUSE_AVX2 -DUSE_SSE41 -march=core-avx2 -m64
  #-march=core-avx2
endif

ifeq ($(MIC),1)
        CFLAGS += -mmic -DTARGET_MIC -DFORCE_GENERIC
        BINNAME := ${BINNAME:%=%_mic}
        OBJ_EXT = .mo

        INC += -I../msieve/zlib

        INC += -I../gmp/include
        LIBS += -L../gmp/lib/linux/phi

        INC += -I../gmp-ecm/include/linux
        LIBS += -L../gmp-ecm/lib/phi/lib
else
        OBJ_EXT = .o

        INC += -I../gmp/include
        LIBS += -L../gmp/lib/linux/x86_64

        INC += -I../gmp-ecm/include/linux
        LIBS += -L../gmp-ecm/lib/linux/x86_64
endif


# ===================== feature options =========================
ifeq ($(PROFILE),1)
        CFLAGS += -pg
        CFLAGS += -DPROFILING
        BINNAME := ${BINNAME:%=%_prof}
else
        OPT_FLAGS += -fomit-frame-pointer
endif

ifeq ($(OPT_DEBUG),1)
        CFLAGS += -DOPT_DEBUG
endif

ifeq ($(TIMING),1)
        CFLAGS += -DQS_TIMING
endif

ifeq ($(NFS),1)
        CFLAGS += -DUSE_NFS
#       modify the following line for your particular msieve installation

        ifeq ($(MIC),1)
                LIBS += -L../msieve/lib/phi
        else
#               LIBS += -L../msieve/lib/linux/x86_64
                LIBS += -L../msieve
        endif
        LIBS += -lmsieve
endif

# modify these for your particular cuda installation
ifeq ($(CUDA),1)
        CFLAGS += -DHAVE_CUDA
#       INC += -I/users/buhrow/NVIDIA_GPU_Computing_SDK/C/common/inc
        INC += -I/usr/local/cuda/include/
        LIBS += -L/usr/lib64 -lcuda
#       LIBS += /users/buhrow/NVIDIA_GPU_Computing_SDK/C/lib/libcutil_x86_64.a
endif

ifeq ($(FORCE_GENERIC),1)
        CFLAGS += -DFORCE_GENERIC
endif

LIBS += -lecm -lgmp

# attempt to get static builds to work... unsuccessful so far
ifeq ($(STATIC),1)
        CFLAGS += -static
#       LIBS += -Wl,-Bstatic -lm -Wl,Bdynamic -pthread
        LIBS += -L/usr/lib/x86_64-redhat-linux5E/lib64/ -lpthread -lm
else
        LIBS += -lpthread -lm -ldl
endif

CFLAGS += $(OPT_FLAGS) $(WARN_FLAGS) $(INC)

x86: CFLAGS += -m32

#---------------------------Msieve file lists -------------------------
MSIEVE_SRCS = \
        factor/qs/msieve/lanczos.c \
        factor/qs/msieve/lanczos_matmul0.c \
        factor/qs/msieve/lanczos_matmul1.c \
        factor/qs/msieve/lanczos_matmul2.c \
        factor/qs/msieve/lanczos_pre.c \
        factor/qs/msieve/sqrt.c \
        factor/qs/msieve/savefile.c \
        factor/qs/msieve/gf2.c

MSIEVE_OBJS = $(MSIEVE_SRCS:.c=$(OBJ_EXT))

#---------------------------YAFU file lists -------------------------
YAFU_SRCS = \
        top/driver.c \
        top/utils.c \
        top/stack.c \
        top/calc.c \
        top/test.c \
        top/aprcl/mpz_aprcl.c \
        factor/factor_common.c \
        factor/rho.c \
        factor/squfof.c \
        factor/trialdiv.c \
        factor/tune.c \
        factor/qs/filter.c \
        factor/qs/tdiv.c \
        factor/qs/tdiv_small.c \
        factor/qs/tdiv_large.c \
        factor/qs/tdiv_scan.c \
        factor/qs/large_sieve.c \
        factor/qs/new_poly.c \
        factor/qs/siqs_test.c \
        factor/tinyqs/tinySIQS.c \
        factor/qs/siqs_aux.c \
        factor/qs/smallmpqs.c \
        factor/qs/SIQS.c \
        factor/qs/tdiv_med_32k.c \
        factor/qs/tdiv_resieve_32k.c \
        factor/qs/med_sieve_32k.c \
        factor/qs/poly_roots_32k.c \
        factor/qs/update_poly_roots_32k.c \
        factor/gmp-ecm/ecm.c \
        factor/gmp-ecm/pp1.c \
        factor/gmp-ecm/pm1.c \
        factor/nfs/nfs.c \
        arith/arith0.c \
        arith/arith1.c \
        arith/arith2.c \
        arith/arith3.c \
        top/eratosthenes/count.c \
        top/eratosthenes/offsets.c \
        top/eratosthenes/primes.c \
        top/eratosthenes/roots.c \
        top/eratosthenes/linesieve.c \
        top/eratosthenes/soe.c \
        top/eratosthenes/tiny.c \
        top/eratosthenes/worker.c \
        top/eratosthenes/soe_util.c \
        top/eratosthenes/wrapper.c



ifeq ($(USE_AVX2),1)

    YAFU_SRCS += factor/qs/tdiv_med_32k_avx2.c
    YAFU_SRCS += factor/qs/update_poly_roots_32k_avx2.c
    YAFU_SRCS += factor/qs/med_sieve_32k_avx2.c
    YAFU_SRCS += factor/qs/tdiv_resieve_32k_avx2.c

        # also compile in SSE41 files, as a fallback in case user's cpu doesn't have avx2
    YAFU_SRCS += factor/qs/update_poly_roots_32k_sse4.1.c
    YAFU_SRCS += factor/qs/med_sieve_32k_sse4.1.c

else
  ifeq ($(USE_SSE41),1)

    # these files require SSE4.1 to compile
    YAFU_SRCS += factor/qs/update_poly_roots_32k_sse4.1.c
    YAFU_SRCS += factor/qs/med_sieve_32k_sse4.1.c

  endif
endif

YAFU_OBJS = $(YAFU_SRCS:.c=$(OBJ_EXT))

#---------------------------YAFU NFS file lists -----------------------
ifeq ($(NFS),1)

YAFU_NFS_SRCS = \
        factor/nfs/nfs_sieving.c \
        factor/nfs/nfs_poly.c \
        factor/nfs/nfs_postproc.c \
        factor/nfs/nfs_filemanip.c \
        factor/nfs/nfs_threading.c \
        factor/nfs/snfs.c

YAFU_NFS_OBJS = $(YAFU_NFS_SRCS:.c=$(OBJ_EXT))

else

YAFU_NFS_OBJS =

endif

#---------------------------Header file lists -------------------------
HEAD = include/yafu.h  \
        include/qs.h  \
        factor/qs/poly_macros_32k.h \
        factor/qs/poly_macros_common.h \
        factor/qs/sieve_macros_32k.h \
        factor/qs/tdiv_macros_common.h \
        include/lanczos.h  \
        include/types.h  \
        include/calc.h  \
        include/common.h  \
        include/factor.h  \
        include/soe.h  \
        include/util.h  \
        include/types.h \
        include/yafu_string.h  \
        top/aprcl/mpz_aprcl.h \
        top/aprcl/jacobi_sum.h \
        include/arith.h  \
        include/msieve.h  \
        include/yafu_stack.h  \
        include/yafu_ecm.h \
        include/gmp_xface.h \
        include/nfs.h

ifeq ($(USE_AVX2),1)

        HEAD += factor/qs/poly_macros_common_avx2.h
        HEAD += factor/qs/sieve_macros_32k_avx2.h

else
  ifeq ($(USE_SSE41),1)

  # these files require SSE4.1 to compile
    HEAD += factor/qs/poly_macros_common_sse4.1.h
    HEAD += factor/qs/sieve_macros_32k_sse4.1.h

  endif
endif

#---------------------------Make Targets -------------------------

all:
        @echo "pick a target:"
        @echo "x86       32-bit Intel/AMD systems (required if gcc used)"
        @echo "x86_64    64-bit Intel/AMD systems (required if gcc used)"
        @echo "add 'TIMING=1' to make with expanded QS timing info (slower) "
        @echo "add 'PROFILE=1' to make with profiling enabled (slower) "

x86: $(MSIEVE_OBJS) $(YAFU_OBJS) $(YAFU_NFS_OBJS)
        $(CC) -m32 $(CFLAGS) $(MSIEVE_OBJS) $(YAFU_OBJS) $(YAFU_NFS_OBJS) -o $(BINNAME) $(LIBS)

x86_64: $(MSIEVE_OBJS) $(YAFU_OBJS) $(YAFU_NFS_OBJS)
        $(CC) $(CFLAGS) $(MSIEVE_OBJS) $(YAFU_OBJS) $(YAFU_NFS_OBJS) -o $(BINNAME) $(LIBS)


clean:
        rm -f $(MSIEVE_OBJS) $(YAFU_OBJS) $(YAFU_NFS_OBJS)

#---------------------------Build Rules -------------------------


%$(OBJ_EXT): %.c $(HEAD)
        $(CC) $(CFLAGS) -c -o $@ $<
James Heinrich is offline   Reply With Quote
Old 2020-09-04, 21:13   #11
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2×1,723 Posts
Default

It looks like make is not finding gmp. Maybe you should set the paths correctly. Is gmp installed locally? You might need gmp-dev.

Last fiddled with by paulunderwood on 2020-09-04 at 21:25
paulunderwood is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Msieve with GPU support LegionMammal978 Msieve 6 2017-02-09 04:28
Problem compiling msieve with gcc 4.4.2 chris2be8 Msieve 5 2010-02-22 18:35
Error compiling msieve Wishper Msieve 2 2009-12-09 01:31
msieve linux compiling Trevil Msieve 2 2009-12-06 19:49
Compiling Msieve 1.39 on Windows Jeff Gilchrist Msieve 20 2009-02-21 22:43

All times are UTC. The time now is 10:27.

Thu Oct 29 10:27:45 UTC 2020 up 49 days, 7:38, 1 user, load averages: 1.40, 1.55, 1.65

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.