Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Jared@DESKTOP /home/jared/projects/factoring/msieve
- $ make all ECM=1 NO_ZLIB=1
- gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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:485:21: warning: unused parameter 'packed_matrix' [-Wunused-parameter]
- packed_matrix_t *packed_matrix,
- ^~~~~~~~~~~~~
- common/lanczos/lanczos.c:488:11: warning: unused parameter 'n' [-Wunused-parameter]
- uint32 n, uint32 max_n, uint32 dim_solved, uint32 iter,
- ^
- common/lanczos/lanczos.c: In function 'read_lanczos_state':
- common/lanczos/lanczos.c:643:21: warning: unused parameter 'packed_matrix' [-Wunused-parameter]
- packed_matrix_t *packed_matrix,
- ^~~~~~~~~~~~~
- common/lanczos/lanczos.c:646:11: warning: unused parameter 'n' [-Wunused-parameter]
- uint32 n, uint32 max_n, uint32 *dim_solved,
- ^
- gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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:10: warning: unused parameter 'sparse_weight' [-Wunused-parameter]
- uint64 sparse_weight) {
- ^~~~~~~~~~~~~
- common/lanczos/lanczos_io.c: In function 'file_cache_get_next':
- common/lanczos/lanczos_io.c:372:45: warning: unused parameter 'obj' [-Wunused-parameter]
- static void file_cache_get_next(msieve_obj *obj, FILE *fp,
- ^~~
- common/lanczos/lanczos_io.c:375:12: warning: unused parameter 'read_submatrix' [-Wunused-parameter]
- uint32 read_submatrix) {
- ^~~~~~~~~~~~~~
- common/lanczos/lanczos_io.c: In function 'read_matrix':
- common/lanczos/lanczos_io.c:438:23: warning: variable 'mpi_nrows' set but not used [-Wunused-but-set-variable]
- uint32 mpi_resclass, mpi_nrows;
- ^~~~~~~~~
- common/lanczos/lanczos_io.c:438:9: warning: variable 'mpi_resclass' set but not used [-Wunused-but-set-variable]
- uint32 mpi_resclass, mpi_nrows;
- ^~~~~~~~~~~~
- gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/lanczos_matmul0.o common/lanczos/lanczos_matmul0.c
- common/lanczos/lanczos_matmul0.c: In function 'packed_matrix_init':
- common/lanczos/lanczos_matmul0.c:419:12: warning: unused variable 'j' [-Wunused-variable]
- uint32 i, j;
- ^
- common/lanczos/lanczos_matmul0.c: In function 'mul_MxN_Nx64':
- common/lanczos/lanczos_matmul0.c:619:23: warning: unused parameter 'scratch' [-Wunused-parameter]
- uint64 *b, uint64 *scratch) {
- ^~~~~~~
- gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/lanczos_matmul1.o common/lanczos/lanczos_matmul1.c
- common/lanczos/lanczos_matmul1.c: In function 'mul_packed_core':
- common/lanczos/lanczos_matmul1.c:308:38: warning: unused parameter 'thread_num' [-Wunused-parameter]
- void mul_packed_core(void *data, int thread_num)
- ^~~~~~~~~~
- common/lanczos/lanczos_matmul1.c: In function 'mul_packed_small_core':
- common/lanczos/lanczos_matmul1.c:348:44: warning: unused parameter 'thread_num' [-Wunused-parameter]
- void mul_packed_small_core(void *data, int thread_num)
- ^~~~~~~~~~
- gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/lanczos_matmul2.o common/lanczos/lanczos_matmul2.c
- common/lanczos/lanczos_matmul2.c: In function 'mul_trans_packed_core':
- common/lanczos/lanczos_matmul2.c:319:44: warning: unused parameter 'thread_num' [-Wunused-parameter]
- void mul_trans_packed_core(void *data, int thread_num)
- ^~~~~~~~~~
- common/lanczos/lanczos_matmul2.c: In function 'mul_trans_packed_small_core':
- common/lanczos/lanczos_matmul2.c:358:50: warning: unused parameter 'thread_num' [-Wunused-parameter]
- void mul_trans_packed_small_core(void *data, int thread_num)
- ^~~~~~~~~~
- gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/lanczos/lanczos_vv.o common/lanczos/lanczos_vv.c
- common/lanczos/lanczos_vv.c: In function 'mul_Nx64_64x64_acc':
- common/lanczos/lanczos_vv.c:201:9: warning: unused variable 'i' [-Wunused-variable]
- uint32 i;
- ^
- common/lanczos/lanczos_vv.c: In function 'outer_thread_run':
- common/lanczos/lanczos_vv.c:210:46: warning: unused parameter 'thread_num' [-Wunused-parameter]
- static void outer_thread_run(void *data, int thread_num)
- ^~~~~~~~~~
- common/lanczos/lanczos_vv.c: In function 'inner_thread_run':
- common/lanczos/lanczos_vv.c:427:46: warning: unused parameter 'thread_num' [-Wunused-parameter]
- static void inner_thread_run(void *data, int thread_num)
- ^~~~~~~~~~
- common/lanczos/lanczos_vv.c: In function 'tmul_64xN_Nx64':
- common/lanczos/lanczos_vv.c:441:12: warning: unused variable 'j' [-Wunused-variable]
- uint32 i, j;
- ^
- gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/smallfact/smallfact.o common/smallfact/smallfact.c
- common/smallfact/smallfact.c: In function 'trial_factor':
- common/smallfact/smallfact.c:22:9: warning: variable 'factor_found' set but not used [-Wunused-but-set-variable]
- uint32 factor_found = 0;
- ^~~~~~~~~~~~
- gcc -O3 -fomit-frame-pointer -march=native -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LARGEFILE64_SOURCE -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -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 -Wall -W -DMSIEVE_SVN_VERSION=""exported"" -I. -Iaprcl -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include/ -DHAVE_GMP_ECM -DNO_ZLIB -c -o common/driver.o common/driver.c
- common/driver.c: In function 'msieve_run':
- <command-line>:0:20: error: 'exported' undeclared (first use in this function)
- common/driver.c:195:5: note: in expansion of macro 'MSIEVE_SVN_VERSION'
- MSIEVE_SVN_VERSION);
- ^~~~~~~~~~~~~~~~~~
- <command-line>:0:20: note: each undeclared identifier is reported only once for each function it appears in
- common/driver.c:195:5: note: in expansion of macro 'MSIEVE_SVN_VERSION'
- MSIEVE_SVN_VERSION);
- ^~~~~~~~~~~~~~~~~~
- Makefile:292: recipe for target `common/driver.o' failed
- make: *** [common/driver.o] Error 1
- Jared@DESKTOP /home/jared/projects/factoring/msieve
- $ cd ../yafu
- Jared@DESKTOP /home/jared/projects/factoring/yafu
- $ make -f Makefile.mingw x86_64 NFS=1 USE_AVX2=1
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/msieve/lanczos.o factor/qs/msieve/lanczos.c
- factor/qs/msieve/lanczos.c: In function 'yafu_block_lanczos_core':
- factor/qs/msieve/lanczos.c:1245:5: warning: null argument where non-null required (argument 1) [-Wnonnull]
- fprintf(NULL, "linear algebra completed %u "
- ^~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/msieve/lanczos_matmul0.o factor/qs/msieve/lanczos_matmul0.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/msieve/lanczos_matmul1.o factor/qs/msieve/lanczos_matmul1.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/msieve/lanczos_matmul2.o factor/qs/msieve/lanczos_matmul2.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/msieve/lanczos_pre.o factor/qs/msieve/lanczos_pre.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/msieve/sqrt.o factor/qs/msieve/sqrt.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/msieve/savefile.o factor/qs/msieve/savefile.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/msieve/gf2.o factor/qs/msieve/gf2.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/driver.o top/driver.c
- top/driver.c: In function 'main':
- top/driver.c:119:9: warning: unused variable 'i' [-Wunused-variable]
- int i;
- ^
- top/driver.c: In function 'get_input':
- top/driver.c:367:30: warning: passing argument 1 of 'strlen' makes pointer from integer without a cast [-Wint-conversion]
- input_exp[strlen(*input_exp) - 1] = '\0';
- ^
- In file included from C:/MinGW-W64/mingw64/x86_64-w64-mingw32/include/guiddef.h:148:0,
- from C:/MinGW-W64/mingw64/x86_64-w64-mingw32/include/winnt.h:628,
- from C:/MinGW-W64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163,
- from C:/MinGW-W64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
- from C:/MinGW-W64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
- from include/types.h:39,
- from include/yafu.h:48,
- from top/driver.c:21:
- C:/MinGW-W64/mingw64/x86_64-w64-mingw32/include/string.h:64:18: note: expected 'const char *' but argument is of type 'char'
- size_t __cdecl strlen(const char *_Str);
- ^~~~~~
- top/driver.c:353:9: warning: unused variable 'n' [-Wunused-variable]
- int n = 0;
- ^
- top/driver.c:352:9: warning: unused variable 'c' [-Wunused-variable]
- int c;
- ^
- top/driver.c: In function 'print_splash':
- top/driver.c:977:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
- if (VFLAG > 0 || !is_cmdline_run)
- ^~
- top/driver.c:1003:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
- fprintf(logfile,"Using GMP-ECM %s, Powered by GMP %d.%d.%d\n", ECM_VERSION,
- ^~~~~~~
- top/driver.c: In function 'get_computer_info':
- top/driver.c:1089:27: warning: passing argument 2 of 'GetComputerNameA' from incompatible pointer type [-Wincompatible-pointer-types]
- GetComputerName(sysname,&sysname_sz);
- ^
- In file included from C:/MinGW-W64/mingw64/x86_64-w64-mingw32/include/windows.h:70:0,
- from include/types.h:39,
- from include/yafu.h:48,
- from top/driver.c:21:
- C:/MinGW-W64/mingw64/x86_64-w64-mingw32/include/winbase.h:2263:29: note: expected 'LPDWORD {aka long unsigned int *}' but argument is of type 'int *'
- WINBASEAPI WINBOOL WINAPI GetComputerNameA (LPSTR lpBuffer, LPDWORD nSize);
- ^~~~~~~~~~~~~~~~
- top/driver.c:1048:6: warning: unused variable 'ret' [-Wunused-variable]
- int ret;
- ^~~
- top/driver.c: In function 'applyOpt':
- top/driver.c:1975:36: warning: '.log' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(fobj->nfs_obj.logfile, "%s.log",fobj->nfs_obj.outputfile);
- ^~~~~~~~
- top/driver.c:1975:5: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
- sprintf(fobj->nfs_obj.logfile, "%s.log",fobj->nfs_obj.outputfile);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- top/driver.c:1976:35: warning: '.fb' directive writing 3 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(fobj->nfs_obj.fbfile, "%s.fb",fobj->nfs_obj.outputfile);
- ^~~~~~~
- top/driver.c:1976:5: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 1024
- sprintf(fobj->nfs_obj.fbfile, "%s.fb",fobj->nfs_obj.outputfile);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/utils.o top/utils.c
- top/utils.c: In function 'yafu_get_cpu_type':
- top/utils.c:1482:17: warning: variable 'model' set but not used [-Wunused-but-set-variable]
- uint8 family, model;
- ^~~~~
- top/utils.c: In function 'extended_cpuid':
- top/utils.c:1601:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- *((int*)CPUString) = CPUInfo[1];
- ^
- top/utils.c:1532:9: warning: variable 'nVirtualAddress' set but not used [-Wunused-but-set-variable]
- int nVirtualAddress = 0;
- ^~~~~~~~~~~~~~~
- top/utils.c:1531:9: warning: variable 'nPhysicalAddress' set but not used [-Wunused-but-set-variable]
- int nPhysicalAddress = 0;
- ^~~~~~~~~~~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/stack.o top/stack.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/calc.o top/calc.c
- top/calc.c: In function 'process_expression':
- top/calc.c:665:11: warning: unused variable 't' [-Wunused-variable]
- double t;
- ^
- top/calc.c:664:19: warning: unused variable 'stop' [-Wunused-variable]
- clock_t start, stop;
- ^~~~
- top/calc.c:664:12: warning: unused variable 'start' [-Wunused-variable]
- clock_t start, stop;
- ^~~~~
- top/calc.c: In function 'feval':
- top/calc.c:1852:27: warning: passing argument 2 of '__gmpz_export' from incompatible pointer type [-Wincompatible-pointer-types]
- mpz_export(a, &oldused, -1, 4, 0, 0, operands[0]);
- ^
- In file included from include/yafu.h:49:0,
- from top/calc.c:25:
- ../gmp/install-6.1.2/include/gmp.h:738:20: note: expected 'size_t * {aka long long unsigned int *}' but argument is of type 'int *'
- #define mpz_export __gmpz_export
- ^
- ../gmp/install-6.1.2/include/gmp.h:739:22: note: in expansion of macro 'mpz_export'
- __GMP_DECLSPEC void *mpz_export (void *, size_t *, int, size_t, int, size_t, mpz_srcptr);
- ^~~~~~~~~~
- top/calc.c:1853:27: warning: passing argument 2 of '__gmpz_export' from incompatible pointer type [-Wincompatible-pointer-types]
- mpz_export(m, &pa, -1, 4, 0, 0, operands[1]);
- ^
- In file included from include/yafu.h:49:0,
- from top/calc.c:25:
- ../gmp/install-6.1.2/include/gmp.h:738:20: note: expected 'size_t * {aka long long unsigned int *}' but argument is of type 'int *'
- #define mpz_export __gmpz_export
- ^
- ../gmp/install-6.1.2/include/gmp.h:739:22: note: in expansion of macro 'mpz_export'
- __GMP_DECLSPEC void *mpz_export (void *, size_t *, int, size_t, int, size_t, mpz_srcptr);
- ^~~~~~~~~~
- top/calc.c:1847:19: warning: unused variable 'strn' [-Wunused-variable]
- char *strn;
- ^~~~
- top/calc.c:1846:42: warning: unused variable 'j' [-Wunused-variable]
- int oldused, xx, y, pa, j;
- ^
- top/calc.c:1846:35: warning: variable 'y' set but not used [-Wunused-but-set-variable]
- int oldused, xx, y, pa, j;
- ^
- top/calc.c:1845:48: warning: variable 'mu' set but not used [-Wunused-but-set-variable]
- uint32 c[2 * 256 + 1], *_c, *tmpm, mu;
- ^~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/test.o top/test.c
- top/test.c: In function 'test_dlp_composites_par':
- top/test.c:317:11: warning: unused variable 'queue' [-Wunused-variable]
- int64 queue[100];
- ^~~~~
- top/test.c:308:19: warning: unused variable 'f64' [-Wunused-variable]
- uint64 *comp, f64;
- ^~~
- top/test.c: In function 'test_dlp_composites':
- top/test.c:423:8: warning: unused variable 'queue' [-Wunused-variable]
- int64 queue[100];
- ^~~~~
- top/test.c: In function 'richard_guy_problem_e7':
- top/test.c:1274:11: warning: implicit declaration of function 'GetPRIMESRange'; did you mean 'GetScrollRange'? [-Wimplicit-function-declaration]
- PRIMES = GetPRIMESRange(spSOEprimes, szSOEp, NULL, 0,
- ^~~~~~~~~~~~~~
- GetScrollRange
- top/test.c:1274:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- PRIMES = GetPRIMESRange(spSOEprimes, szSOEp, NULL, 0,
- ^
- top/test.c:1294:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- PRIMES = GetPRIMESRange(spSOEprimes, szSOEp, NULL, P_MAX+1,
- ^
- top/test.c: In function 'squfof_rds':
- top/test.c:114:18: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
- temp1 = temp / qlast;
- ~~~~~^~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/threadpool.o top/threadpool.c
- top/threadpool.c: In function 'tpool_go':
- top/threadpool.c:302:24: warning: 'tid' may be used uninitialized in this function [-Wmaybe-uninitialized]
- thread_data[tid].num_threads,
- ^
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/aprcl/mpz_aprcl.o top/aprcl/mpz_aprcl.c
- top/aprcl/mpz_aprcl.c: In function 'mpz_extrastrongselfridge_prp':
- top/aprcl/mpz_aprcl.c:1123:28: warning: variable 'q' set but not used [-Wunused-but-set-variable]
- long int d = 5, p = 1, q = 0;
- ^
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/factor_common.o factor/factor_common.c
- factor/factor_common.c: In function 'get_qs_time_estimate':
- factor/factor_common.c:840:3: warning: case value '10' not in enumerated type 'enum cpu_type' [-Wswitch]
- case 10:
- ^~~~
- factor/factor_common.c: In function 'get_gnfs_time_estimate':
- factor/factor_common.c:890:3: warning: case value '10' not in enumerated type 'enum cpu_type' [-Wswitch]
- case 10:
- ^~~~
- factor/factor_common.c: In function 'init_factor_work':
- factor/factor_common.c:2187:9: warning: enumeration value 'state_idle' not handled in switch [-Wswitch]
- switch (interp_state)
- ^~~~~~
- factor/factor_common.c:2187:9: warning: enumeration value 'state_trialdiv' not handled in switch [-Wswitch]
- factor/factor_common.c:2187:9: warning: enumeration value 'state_fermat' not handled in switch [-Wswitch]
- factor/factor_common.c:2187:9: warning: enumeration value 'state_rho' not handled in switch [-Wswitch]
- factor/factor_common.c:2187:9: warning: enumeration value 'state_pp1_lvl1' not handled in switch [-Wswitch]
- factor/factor_common.c:2187:9: warning: enumeration value 'state_pm1_lvl1' not handled in switch [-Wswitch]
- factor/factor_common.c:2187:9: warning: enumeration value 'state_pp1_lvl2' not handled in switch [-Wswitch]
- factor/factor_common.c:2187:9: warning: enumeration value 'state_pm1_lvl2' not handled in switch [-Wswitch]
- factor/factor_common.c:2187:9: warning: enumeration value 'state_pp1_lvl3' not handled in switch [-Wswitch]
- factor/factor_common.c:2187:9: warning: enumeration value 'state_pm1_lvl3' not handled in switch [-Wswitch]
- factor/factor_common.c:2187:9: warning: enumeration value 'state_ecm_15digit' not handled in switch [-Wswitch]
- factor/factor_common.c:2187:9: warning: enumeration value 'state_ecm_20digit' not handled in switch [-Wswitch]
- factor/factor_common.c:2187:9: warning: enumeration value 'state_qs' not handled in switch [-Wswitch]
- factor/factor_common.c:2187:9: warning: enumeration value 'state_nfs' not handled in switch [-Wswitch]
- factor/factor_common.c:2187:9: warning: enumeration value 'state_done' not handled in switch [-Wswitch]
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/rho.o factor/rho.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/squfof.o factor/squfof.c
- factor/squfof.c: In function 'sp_shanks_loop':
- factor/squfof.c:229:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
- else
- ^~~~
- factor/squfof.c:232:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
- for (i = 0; i < rounds; i++)
- ^~~
- factor/squfof.c:151:25: warning: variable 'big1' set but not used [-Wunused-but-set-variable]
- uint64 n64, nn64, f64, big1, big2;
- ^~~~
- factor/squfof.c: In function 'par_shanks_loop':
- factor/squfof.c:451:17: warning: unused variable 'result' [-Wunused-variable]
- int result;
- ^~~~~~
- factor/squfof.c:298:17: warning: unused variable 'nn64' [-Wunused-variable]
- uint64 n64, nn64, f64;
- ^~~~
- factor/squfof.c:298:12: warning: unused variable 'n64' [-Wunused-variable]
- uint64 n64, nn64, f64;
- ^~~
- factor/squfof.c:297:23: warning: variable 'all_done' set but not used [-Wunused-but-set-variable]
- int i, rounds, j, all_done, list_position, num_successes, num_processed, num_active;
- ^~~~~~~~
- factor/squfof.c:297:12: warning: unused variable 'rounds' [-Wunused-variable]
- int i, rounds, j, all_done, list_position, num_successes, num_processed, num_active;
- ^~~~~~
- factor/squfof.c: In function 'shanks_mult_unit':
- factor/squfof.c:867:6: warning: variable 'j' set but not used [-Wunused-but-set-variable]
- int j=0;
- ^
- factor/squfof.c: In function 'par_shanks_mult_unit':
- factor/squfof.c:1091:0: warning: ignoring #pragma ivdep [-Wunknown-pragmas]
- #pragma ivdep
- factor/squfof.c:1092:0: warning: ignoring #pragma vector aligned [-Wunknown-pragmas]
- #pragma vector aligned
- factor/squfof.c:1103:0: warning: ignoring #pragma ivdep [-Wunknown-pragmas]
- #pragma ivdep
- factor/squfof.c:1104:0: warning: ignoring #pragma vector aligned [-Wunknown-pragmas]
- #pragma vector aligned
- factor/squfof.c:1167:0: warning: ignoring #pragma ivdep [-Wunknown-pragmas]
- #pragma ivdep
- factor/squfof.c:1168:0: warning: ignoring #pragma vector aligned [-Wunknown-pragmas]
- #pragma vector aligned
- factor/squfof.c:1214:0: warning: ignoring #pragma ivdep [-Wunknown-pragmas]
- #pragma ivdep
- factor/squfof.c:1215:0: warning: ignoring #pragma vector aligned [-Wunknown-pragmas]
- #pragma vector aligned
- factor/squfof.c:1264:0: warning: ignoring #pragma ivdep [-Wunknown-pragmas]
- #pragma ivdep
- factor/squfof.c:1265:0: warning: ignoring #pragma vector aligned [-Wunknown-pragmas]
- #pragma vector aligned
- factor/squfof.c:1266:0: warning: ignoring #pragma unroll [-Wunknown-pragmas]
- #pragma unroll
- factor/squfof.c:1329:0: warning: ignoring #pragma ivdep [-Wunknown-pragmas]
- #pragma ivdep
- factor/squfof.c:1330:0: warning: ignoring #pragma vector aligned [-Wunknown-pragmas]
- #pragma vector aligned
- factor/squfof.c:1379:0: warning: ignoring #pragma ivdep [-Wunknown-pragmas]
- #pragma ivdep
- factor/squfof.c:1380:0: warning: ignoring #pragma vector aligned [-Wunknown-pragmas]
- #pragma vector aligned
- factor/squfof.c:1071:9: warning: variable 'j' set but not used [-Wunused-but-set-variable]
- int j = 0;
- ^
- factor/squfof.c: In function 'par_shanks_mult_unit_asm':
- factor/squfof.c:1527:0: warning: ignoring #pragma novector [-Wunknown-pragmas]
- #pragma novector
- factor/squfof.c:1541:0: warning: ignoring #pragma novector [-Wunknown-pragmas]
- #pragma novector
- factor/squfof.c:1495:9: warning: variable 'j' set but not used [-Wunused-but-set-variable]
- int j = 0;
- ^
- factor/squfof.c:1491:12: warning: variable 'fudge' set but not used [-Wunused-but-set-variable]
- double fudge[4];
- ^~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/trialdiv.o factor/trialdiv.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/tune.o factor/tune.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/filter.o factor/qs/filter.c
- factor/qs/filter.c: In function 'yafu_qs_filter_relations':
- factor/qs/filter.c:760:6: warning: variable 'first' set but not used [-Wunused-but-set-variable]
- int first, last_poly;
- ^~~~~
- factor/qs/filter.c:755:9: warning: variable 'poly_saved' set but not used [-Wunused-but-set-variable]
- uint32 poly_saved;
- ^~~~~~~~~~
- factor/qs/filter.c:752:21: warning: variable 'curr_poly_idx' set but not used [-Wunused-but-set-variable]
- uint32 curr_a_idx, curr_poly_idx, curr_rel;
- ^~~~~~~~~~~~~
- factor/qs/filter.c:966:25: warning: 'rel' may be used uninitialized in this function [-Wmaybe-uninitialized]
- if (rel->large_prime[0] == 0)
- ~~~~~~~~~~~~~~~~^~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/tdiv.o factor/qs/tdiv.c
- factor/qs/tdiv.c: In function 'trial_divide_Q_siqs':
- factor/qs/tdiv.c:65:14: warning: unused variable 'f64' [-Wunused-variable]
- uint64 q64, f64;
- ^~~
- factor/qs/tdiv.c: In function 'buffer_relation':
- factor/qs/tdiv.c:244:18: warning: unused variable 'k' [-Wunused-variable]
- uint32 i, j, k;
- ^
- factor/qs/tdiv.c:244:15: warning: unused variable 'j' [-Wunused-variable]
- uint32 i, j, k;
- ^
- factor/qs/tdiv.c:244:12: warning: unused variable 'i' [-Wunused-variable]
- uint32 i, j, k;
- ^
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/tdiv_small.o factor/qs/tdiv_small.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -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:74:9: warning: variable 'starti' set but not used [-Wunused-but-set-variable]
- int starti;
- ^~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/tdiv_resieve_32k.o factor/qs/tdiv_resieve_32k.c
- factor/qs/tdiv_resieve_32k.c: In function 'resieve_medprimes_32k':
- factor/qs/tdiv_resieve_32k.c:69:19: warning: variable 'fullfb_ptr' set but not used [-Wunused-but-set-variable]
- fb_element_siqs *fullfb_ptr, *fullfb = sconf->factor_base->list;
- ^~~~~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/tdiv_large.o factor/qs/tdiv_large.c
- factor/qs/tdiv_large.c:104:84: warning: backslash and newline separated by space
- "orq %%r9,%%r8 \n\t" /* r8 now holds 8 comparisons in 32 bits */ \
- factor/qs/tdiv_large.c:105:86: warning: backslash and newline separated by space
- "orq %%r10,%%r8 \n\t" /* r8 now holds 12 comparisons in 48 bits */ \
- factor/qs/tdiv_large.c:107:112: warning: backslash and newline separated by space
- "andq %%r9,%%r8 \n\t" /* clear the bytemask results we don't care about */ \
- factor/qs/tdiv_large.c:138:93: warning: backslash and newline separated by space
- "vpmovmskb %%ymm2, %%r9 \n\t" /* 2nd 4 comparisons in 16 bits of r9 */ \
- factor/qs/tdiv_large.c:146:112: warning: backslash and newline separated by space
- "andq %%r9,%%r8 \n\t" /* clear the bytemask results we don't care about */ \
- factor/qs/tdiv_large.c:201:84: warning: backslash and newline separated by space
- "orq %%r9,%%r8 \n\t" /* r8 now holds 8 comparisons in 32 bits */ \
- factor/qs/tdiv_large.c:202:86: warning: backslash and newline separated by space
- "orq %%r10,%%r8 \n\t" /* r8 now holds 12 comparisons in 48 bits */ \
- factor/qs/tdiv_large.c:204:112: warning: backslash and newline separated by space
- "andq %%r9,%%r8 \n\t" /* clear the bytemask results we don't care about */ \
- factor/qs/tdiv_large.c: In function 'tdiv_LP':
- factor/qs/tdiv_large.c:539:16: warning: unused variable 'q' [-Wunused-variable]
- int r, q;
- ^
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/tdiv_scan.o factor/qs/tdiv_scan.c
- factor/qs/tdiv_scan.c: In function 'check_relations_siqs_16':
- factor/qs/tdiv_scan.c:815:12: warning: unused variable 'num_reports' [-Wunused-variable]
- uint32 num_reports = 0;
- ^~~~~~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/large_sieve.o factor/qs/large_sieve.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -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:0:
- factor/qs/sieve_macros_32k.h:96:65: warning: backslash and newline separated by space
- "movl %%edi,%%eax \n\t" /* logp pointer overwritten */ \
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/new_poly.o factor/qs/new_poly.c
- factor/qs/new_poly.c: In function 'computeBl':
- factor/qs/new_poly.c:497:16: warning: variable 'root2' set but not used [-Wunused-but-set-variable]
- uint32 root1, root2, prime, gamma;
- ^~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/poly_roots_32k.o factor/qs/poly_roots_32k.c
- factor/qs/poly_roots_32k.c: In function 'testfirstRoots_32k':
- factor/qs/poly_roots_32k.c:41:51: warning: variable 'numblocks' set but not used [-Wunused-but-set-variable]
- int root1, root2, prime, amodp, bmodp, inv, bnum,numblocks;
- ^~~~~~~~~
- factor/qs/poly_roots_32k.c:40:11: warning: variable 'logp' set but not used [-Wunused-but-set-variable]
- uint32 i,logp;
- ^~~~
- factor/qs/poly_roots_32k.c: In function 'firstRoots_32k':
- factor/qs/poly_roots_32k.c:146:11: warning: unused variable 'out' [-Wunused-variable]
- FILE *out;
- ^~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/update_poly_roots_32k.o factor/qs/update_poly_roots_32k.c
- factor/qs/update_poly_roots_32k.c: In function 'nextRoots_32k':
- factor/qs/update_poly_roots_32k.c:53:34: warning: unused variable 'nroot2' [-Wunused-variable]
- uint32 root1, root2, nroot1, nroot2, prime;
- ^~~~~~
- factor/qs/update_poly_roots_32k.c:53:26: warning: unused variable 'nroot1' [-Wunused-variable]
- uint32 root1, root2, nroot1, nroot2, prime;
- ^~~~~~
- factor/qs/update_poly_roots_32k.c:52:6: warning: variable 'k' set but not used [-Wunused-but-set-variable]
- int k,numblocks;
- ^
- factor/qs/update_poly_roots_32k.c: In function 'nextRoots_32k_generic_small':
- factor/qs/update_poly_roots_32k.c:1892:11: warning: unused variable 'logp' [-Wunused-variable]
- uint8 logp = 0;
- ^~~~
- factor/qs/update_poly_roots_32k.c:1890:9: warning: variable 'k' set but not used [-Wunused-but-set-variable]
- int k;
- ^
- factor/qs/update_poly_roots_32k.c:1887:12: warning: unused variable 'med_B' [-Wunused-variable]
- uint32 med_B = sconf->factor_base->med_B;
- ^~~~~
- factor/qs/update_poly_roots_32k.c: In function 'nextRoots_32k_generic_polybatch':
- factor/qs/update_poly_roots_32k.c:2056:17: warning: unused variable 'helperstruct' [-Wunused-variable]
- polysieve_t helperstruct;
- ^~~~~~~~~~~~
- factor/qs/update_poly_roots_32k.c:2026:12: warning: unused variable 'startprime' [-Wunused-variable]
- uint32 startprime = 2;
- ^~~~~~~~~~
- factor/qs/update_poly_roots_32k.c:2021:26: warning: unused variable 'fb_n' [-Wunused-variable]
- sieve_fb_compressed *fb_n = dconf->comp_sieve_n;
- ^~~~
- factor/qs/update_poly_roots_32k.c:2020:26: warning: unused variable 'fb_p' [-Wunused-variable]
- sieve_fb_compressed *fb_p = dconf->comp_sieve_p;
- ^~~~
- factor/qs/update_poly_roots_32k.c:2043:12: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
- uint32 j, interval;
- ^
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/siqs_test.o factor/qs/siqs_test.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/tinyqs/tinySIQS.o factor/tinyqs/tinySIQS.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/siqs_aux.o factor/qs/siqs_aux.c
- factor/qs/siqs_aux.c: In function 'make_fb_siqs':
- factor/qs/siqs_aux.c:37:23: warning: variable 'root2' set but not used [-Wunused-but-set-variable]
- uint32 prime, root1, root2;
- ^~~~~
- factor/qs/siqs_aux.c: In function 'get_params':
- factor/qs/siqs_aux.c:340:9: warning: unused variable 'param_table_bkup' [-Wunused-variable]
- int param_table_bkup[NUM_PARAM_ROWS][4] = {
- ^~~~~~~~~~~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/smallmpqs.o factor/qs/smallmpqs.c
- factor/qs/smallmpqs.c: In function 'smpqs_make_fb_mpqs':
- factor/qs/smallmpqs.c:295:23: warning: variable 'root2' set but not used [-Wunused-but-set-variable]
- uint32 prime, root1, root2;
- ^~~~~
- factor/qs/smallmpqs.c: In function 'smallmpqs':
- factor/qs/smallmpqs.c:545:29: warning: variable 'max_bits' set but not used [-Wunused-but-set-variable]
- uint8 closnuf, small_bits, max_bits;
- ^~~~~~~~
- factor/qs/smallmpqs.c:541:24: warning: variable 'charcount' set but not used [-Wunused-but-set-variable]
- int digits_n, bits_n, charcount, pindex;
- ^~~~~~~~~
- factor/qs/smallmpqs.c: In function 'smpqs_trial_divide_Q':
- factor/qs/smallmpqs.c:1353:9: warning: variable 'r' set but not used [-Wunused-but-set-variable]
- uint32 r;
- ^
- factor/qs/smallmpqs.c: In function 'smpqs_computeRoots':
- factor/qs/smallmpqs.c:1870:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
- if (x < 0) x += prime; root1 = x;
- ^~
- factor/qs/smallmpqs.c:1870:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
- if (x < 0) x += prime; root1 = x;
- ^~~~~
- factor/qs/smallmpqs.c:1872:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
- if (x < 0) x += prime; root2 = x;
- ^~
- factor/qs/smallmpqs.c:1872:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
- if (x < 0) x += prime; root2 = x;
- ^~~~~
- factor/qs/smallmpqs.c: In function 'smpqs_BlockGauss':
- factor/qs/smallmpqs.c:2023:9: warning: variable 'r' set but not used [-Wunused-but-set-variable]
- uint32 r;
- ^
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/SIQS.o factor/qs/SIQS.c
- factor/qs/SIQS.c: In function 'siqs_sync':
- factor/qs/SIQS.c:137:17: warning: variable 'poly_start_num' set but not used [-Wunused-but-set-variable]
- int poly_start_num = 0;
- ^~~~~~~~~~~~~~
- factor/qs/SIQS.c: In function 'siqs_dispatch':
- factor/qs/SIQS.c:238:17: warning: unused variable 'fobj' [-Wunused-variable]
- fact_obj_t *fobj = static_conf->obj;
- ^~~~
- factor/qs/SIQS.c: In function 'print_siqs_splash':
- factor/qs/SIQS.c:1062:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
- printf("large prime hashtables have %d bytes\n",
- ~^
- %I64d
- dconf->buckets->list_size * BUCKET_ALLOC * sizeof(uint32));
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/qs/SIQS.c:1062:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
- printf("large prime hashtables have %d bytes\n",
- ~^
- %I64d
- dconf->buckets->list_size * BUCKET_ALLOC * sizeof(uint32));
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/gmp-ecm/ecm.o factor/gmp-ecm/ecm.c
- factor/gmp-ecm/ecm.c: In function 'ecm_loop':
- factor/gmp-ecm/ecm.c:213:6: warning: unused variable 'num_batches' [-Wunused-variable]
- int num_batches;
- ^~~~~~~~~~~
- factor/gmp-ecm/ecm.c:211:8: warning: unused variable 'j' [-Wunused-variable]
- int i,j;
- ^
- factor/gmp-ecm/ecm.c: In function 'ecm_deal_with_factor':
- factor/gmp-ecm/ecm.c:305:6: warning: unused variable 'curves_run' [-Wunused-variable]
- int curves_run = thread_data->curves_run;
- ^~~~~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/gmp-ecm/pp1.o factor/gmp-ecm/pp1.c
- factor/gmp-ecm/pp1.c: In function 'williams_loop':
- factor/gmp-ecm/pp1.c:127:9: warning: variable 'tt' set but not used [-Wunused-but-set-variable]
- double tt;
- ^~
- factor/gmp-ecm/pp1.c:124:8: warning: variable 'it' set but not used [-Wunused-but-set-variable]
- int i,it,trials = fobj->pp1_obj.numbases;
- ^~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/gmp-ecm/pm1.o factor/gmp-ecm/pm1.c
- factor/gmp-ecm/pm1.c: In function 'pollard_loop':
- factor/gmp-ecm/pm1.c:125:9: warning: variable 'tt' set but not used [-Wunused-but-set-variable]
- double tt;
- ^~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/nfs/nfs.o factor/nfs/nfs.c
- factor/nfs/nfs.c: In function 'check_for_sievers':
- factor/nfs/nfs.c:904:18: warning: 'ggnfs-lasieve4I' directive writing 15 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(name, "%sggnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
- ^~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:904:18: note: directive argument in the range [11, 17]
- factor/nfs/nfs.c:904:4: note: 'sprintf' output between 19 and 1042 bytes into a destination of size 1024
- sprintf(name, "%sggnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:917:27: warning: 'gnfs-lasieve4I' directive writing 14 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(name, "%sgnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
- ^~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:917:27: note: directive argument in the range [11, 17]
- factor/nfs/nfs.c:917:13: note: 'sprintf' output between 18 and 1041 bytes into a destination of size 1024
- sprintf(name, "%sgnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c: In function 'get_ggnfs_params':
- factor/nfs/nfs.c:1184:27: warning: 'gnfs-lasieve4I' directive writing 14 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(job->sievername, "%sgnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, fobj->nfs_obj.siever);
- ^~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:1184:27: note: using the range [-2147483648, 2147483647] for directive argument
- factor/nfs/nfs.c:1184:2: note: 'sprintf' output between 17 and 1050 bytes into a destination of size 1024
- sprintf(job->sievername, "%sgnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, fobj->nfs_obj.siever);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:1186:27: warning: '.exe' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(job->sievername, "%s.exe", job->sievername);
- ^~~~~~~~
- factor/nfs/nfs.c:1186:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
- sprintf(job->sievername, "%s.exe", job->sievername);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c: In function 'nfs':
- factor/nfs/nfs.c:904:18: warning: 'ggnfs-lasieve4I' directive writing 15 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(name, "%sggnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
- ^~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:904:18: note: directive argument in the range [11, 17]
- factor/nfs/nfs.c:904:4: note: 'sprintf' output between 19 and 1042 bytes into a destination of size 1024
- sprintf(name, "%sggnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:917:27: warning: 'gnfs-lasieve4I' directive writing 14 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(name, "%sgnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
- ^~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:917:27: note: directive argument in the range [11, 17]
- factor/nfs/nfs.c:917:13: note: 'sprintf' output between 18 and 1041 bytes into a destination of size 1024
- sprintf(name, "%sgnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:451:22: warning: '.dep' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(tmpstr, "%s.dep", fobj->nfs_obj.outputfile);
- ^~~~~~~~
- factor/nfs/nfs.c:451:6: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
- sprintf(tmpstr, "%s.dep", fobj->nfs_obj.outputfile);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:564:20: warning: '.p' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(tmpstr, "%s.p",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~
- factor/nfs/nfs.c:564:4: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024
- sprintf(tmpstr, "%s.p",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:565:20: warning: '.br' directive writing 3 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(tmpstr, "%s.br",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~
- factor/nfs/nfs.c:565:4: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 1024
- sprintf(tmpstr, "%s.br",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:566:20: warning: '.cyc' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(tmpstr, "%s.cyc",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~~
- factor/nfs/nfs.c:566:4: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
- sprintf(tmpstr, "%s.cyc",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:567:20: warning: '.dep' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(tmpstr, "%s.dep",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~~
- factor/nfs/nfs.c:567:4: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
- sprintf(tmpstr, "%s.dep",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:568:20: warning: '.hc' directive writing 3 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(tmpstr, "%s.hc",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~
- factor/nfs/nfs.c:568:4: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 1024
- sprintf(tmpstr, "%s.hc",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:569:20: warning: '.mat' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(tmpstr, "%s.mat",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~~
- factor/nfs/nfs.c:569:4: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
- sprintf(tmpstr, "%s.mat",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:570:20: warning: '.lp' directive writing 3 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(tmpstr, "%s.lp",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~
- factor/nfs/nfs.c:570:4: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 1024
- sprintf(tmpstr, "%s.lp",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:571:20: warning: '.d' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(tmpstr, "%s.d",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~
- factor/nfs/nfs.c:571:4: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024
- sprintf(tmpstr, "%s.d",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs.c:572:20: warning: '.mat.chk' directive writing 8 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(tmpstr, "%s.mat.chk",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~~~~~~
- factor/nfs/nfs.c:572:4: note: 'sprintf' output between 9 and 1032 bytes into a destination of size 1024
- sprintf(tmpstr, "%s.mat.chk",fobj->nfs_obj.outputfile); remove(tmpstr);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o arith/arith0.o arith/arith0.c
- arith/arith0.c: In function 'zCopy':
- arith/arith0.c:151:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
- for (i = 0; i < su; i++)
- ^~~
- arith/arith0.c:153:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
- dest->size = src->size;
- ^~~~
- arith/arith0.c: In function 'zCopy32':
- arith/arith0.c:170:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
- for (i = 0; i < su; i++)
- ^~~
- arith/arith0.c:172:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
- dest->size = src->size;
- ^~~~
- arith/arith0.c: In function 'ndigits':
- arith/arith0.c:569:11: warning: variable 'r' set but not used [-Wunused-but-set-variable]
- fp_digit r;
- ^
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o arith/arith1.o arith/arith1.c
- arith/arith1.c: In function 'zSub':
- arith/arith1.c:424:18: warning: variable 'sw' set but not used [-Wunused-but-set-variable]
- int i,j,m,su,sv,sw,sign=0;
- ^~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o arith/arith2.o arith/arith2.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o arith/arith3.o arith/arith3.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/eratosthenes/count.o top/eratosthenes/count.c
- top/eratosthenes/count.c: In function 'count_line':
- top/eratosthenes/count.c:25:10: warning: unused variable 'flagblock64' [-Wunused-variable]
- uint64 *flagblock64 = (uint64 *)line;
- ^~~~~~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/eratosthenes/offsets.o top/eratosthenes/offsets.c
- top/eratosthenes/offsets.c: In function 'get_offsets':
- top/eratosthenes/offsets.c:45:17: warning: unused variable 'lmp' [-Wunused-variable]
- uint32 *lmp = sdata->lower_mod_prime;
- ^~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/eratosthenes/primes.o top/eratosthenes/primes.c
- top/eratosthenes/primes.c: In function '_reset_lsb':
- top/eratosthenes/primes.c:38:19: warning: type of 'x' defaults to 'int' [-Wimplicit-int]
- __inline uint32_t _reset_lsb(x) { \
- ^~~~~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/eratosthenes/roots.o top/eratosthenes/roots.c
- top/eratosthenes/roots.c: In function 'compute_roots_work_fcn':
- top/eratosthenes/roots.c:42:23: warning: unused variable 'sdata' [-Wunused-variable]
- soe_staticdata_t *sdata = udata->sdata;
- ^~~~~
- top/eratosthenes/roots.c: In function 'getRoots':
- top/eratosthenes/roots.c:96:12: warning: unused variable 'k' [-Wunused-variable]
- int j, k;
- ^
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/eratosthenes/linesieve.o top/eratosthenes/linesieve.c
- top/eratosthenes/linesieve.c: In function 'sieve_line':
- top/eratosthenes/linesieve.c:38:9: warning: variable 'maxP' set but not used [-Wunused-but-set-variable]
- uint32 maxP;
- ^~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/eratosthenes/soe.o top/eratosthenes/soe.c
- top/eratosthenes/soe.c: In function 'sieve_work_fcn':
- top/eratosthenes/soe.c:78:9: warning: unused variable 'i' [-Wunused-variable]
- int i;
- ^
- top/eratosthenes/soe.c: In function 'do_soe_sieving':
- top/eratosthenes/soe.c:185:9: warning: unused variable 'numclasses' [-Wunused-variable]
- uint64 numclasses = sdata->numclasses;
- ^~~~~~~~~~
- top/eratosthenes/soe.c:184:15: warning: unused variable 'num_p' [-Wunused-variable]
- uint64 i,j,k,num_p=0;
- ^~~~~
- top/eratosthenes/soe.c:184:13: warning: unused variable 'k' [-Wunused-variable]
- uint64 i,j,k,num_p=0;
- ^
- top/eratosthenes/soe.c:184:11: warning: unused variable 'j' [-Wunused-variable]
- uint64 i,j,k,num_p=0;
- ^
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/eratosthenes/tiny.o top/eratosthenes/tiny.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/eratosthenes/worker.o top/eratosthenes/worker.c
- top/eratosthenes/worker.c: In function 'soe_worker_thread_main':
- top/eratosthenes/worker.c:175:25: warning: implicit declaration of function 'mpz_extrastrongbpsw_prp' [-Wimplicit-function-declaration]
- if (mpz_extrastrongbpsw_prp(t->tmpz))
- ^~~~~~~~~~~~~~~~~~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -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:140:17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
- sdata->offset = offset;
- ^
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/eratosthenes/presieve.o top/eratosthenes/presieve.c
- top/eratosthenes/presieve.c: In function 'pre_sieve_avx2':
- top/eratosthenes/presieve.c:1310:24: warning: unused variable 'vmask2' [-Wunused-variable]
- __m256i vmask, vmask2;
- ^~~~~~
- top/eratosthenes/presieve.c:1308:17: warning: unused variable 'vzero' [-Wunused-variable]
- __m256i vzero = _mm256_set1_epi32(0);
- ^~~~~
- top/eratosthenes/presieve.c:1161:41: warning: unused variable 'mask_num4' [-Wunused-variable]
- int mask_num, mask_num2, mask_num3, mask_num4;
- ^~~~~~~~~
- top/eratosthenes/presieve.c:1161:30: warning: unused variable 'mask_num3' [-Wunused-variable]
- int mask_num, mask_num2, mask_num3, mask_num4;
- ^~~~~~~~~
- top/eratosthenes/presieve.c:1160:44: warning: unused variable 'mask_step4' [-Wunused-variable]
- int mask_step, mask_step2, mask_step3, mask_step4;
- ^~~~~~~~~~
- top/eratosthenes/presieve.c:1160:32: warning: unused variable 'mask_step3' [-Wunused-variable]
- int mask_step, mask_step2, mask_step3, mask_step4;
- ^~~~~~~~~~
- top/eratosthenes/presieve.c:1159:9: warning: unused variable 'i' [-Wunused-variable]
- int i, j;
- ^
- top/eratosthenes/presieve.c: In function 'pre_sieve':
- top/eratosthenes/presieve.c:1468:41: warning: unused variable 'mask_num4' [-Wunused-variable]
- int mask_num, mask_num2, mask_num3, mask_num4;
- ^~~~~~~~~
- top/eratosthenes/presieve.c:1468:30: warning: unused variable 'mask_num3' [-Wunused-variable]
- int mask_num, mask_num2, mask_num3, mask_num4;
- ^~~~~~~~~
- top/eratosthenes/presieve.c:1467:44: warning: unused variable 'mask_step4' [-Wunused-variable]
- int mask_step, mask_step2, mask_step3, mask_step4;
- ^~~~~~~~~~
- top/eratosthenes/presieve.c:1467:32: warning: unused variable 'mask_step3' [-Wunused-variable]
- int mask_step, mask_step2, mask_step3, mask_step4;
- ^~~~~~~~~~
- top/eratosthenes/presieve.c:1466:12: warning: unused variable 'j' [-Wunused-variable]
- int i, j;
- ^
- top/eratosthenes/presieve.c:1466:9: warning: unused variable 'i' [-Wunused-variable]
- int i, j;
- ^
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o top/eratosthenes/wrapper.o top/eratosthenes/wrapper.c
- top/eratosthenes/wrapper.c: In function 'compute_prps_work_fcn':
- top/eratosthenes/wrapper.c:59:17: warning: implicit declaration of function 'mpz_extrastrongbpsw_prp' [-Wimplicit-function-declaration]
- if (mpz_extrastrongbpsw_prp(t->tmpz))
- ^~~~~~~~~~~~~~~~~~~~~~~
- top/eratosthenes/wrapper.c:41:23: warning: unused variable 'sdata' [-Wunused-variable]
- soe_staticdata_t *sdata = udata->sdata;
- ^~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/update_poly_roots_32k_avx2.o factor/qs/update_poly_roots_32k_avx2.c
- factor/qs/update_poly_roots_32k_avx2.c: In function 'nextRoots_32k_avx2':
- factor/qs/update_poly_roots_32k_avx2.c:226:6: warning: variable 'k' set but not used [-Wunused-but-set-variable]
- int k,numblocks;
- ^
- factor/qs/update_poly_roots_32k_avx2.c:209:9: warning: unused variable 'it' [-Wunused-variable]
- int it;
- ^~
- factor/qs/update_poly_roots_32k_avx2.c: In function 'nextRoots_32k_avx2_small':
- factor/qs/update_poly_roots_32k_avx2.c:1944:17: warning: unused variable 'helperstruct' [-Wunused-variable]
- polysieve_t helperstruct;
- ^~~~~~~~~~~~
- factor/qs/update_poly_roots_32k_avx2.c:1943:11: warning: unused variable 'logp' [-Wunused-variable]
- uint8 logp = 0;
- ^~~~
- factor/qs/update_poly_roots_32k_avx2.c:1940:12: warning: variable 'numblocks' set but not used [-Wunused-but-set-variable]
- int k, numblocks;
- ^~~~~~~~~
- factor/qs/update_poly_roots_32k_avx2.c:1940:9: warning: variable 'k' set but not used [-Wunused-but-set-variable]
- int k, numblocks;
- ^
- factor/qs/update_poly_roots_32k_avx2.c:1925:9: warning: unused variable 'it' [-Wunused-variable]
- int it;
- ^~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/med_sieve_32k_avx2.o factor/qs/med_sieve_32k_avx2.c
- In file included from factor/qs/med_sieve_32k_avx2.c:30:0:
- factor/qs/sieve_macros_32k.h:96:65: warning: backslash and newline separated by space
- "movl %%edi,%%eax \n\t" /* logp pointer overwritten */ \
- factor/qs/med_sieve_32k_avx2.c:654:88: warning: backslash and newline separated by space
- "addq $8, %%r8 \n\t" /* get ready for next iteration */ \
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/tdiv_resieve_32k_avx2.o factor/qs/tdiv_resieve_32k_avx2.c
- factor/qs/tdiv_resieve_32k_avx2.c: In function 'resieve_medprimes_32k_avx2':
- factor/qs/tdiv_resieve_32k_avx2.c:404:22: warning: variable 'fullfb_ptr' set but not used [-Wunused-but-set-variable]
- fb_element_siqs *fullfb_ptr, *fullfb = sconf->factor_base->list;
- ^~~~~~~~~~
- factor/qs/tdiv_resieve_32k_avx2.c:400:12: warning: unused variable 'bound' [-Wunused-variable]
- uint32 bound, report_num;
- ^~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/tdiv_med_32k_avx2.o factor/qs/tdiv_med_32k_avx2.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/update_poly_roots_32k_sse4.1.o factor/qs/update_poly_roots_32k_sse4.1.c
- factor/qs/update_poly_roots_32k_sse4.1.c: In function 'nextRoots_32k_sse41':
- factor/qs/update_poly_roots_32k_sse4.1.c:57:6: warning: variable 'k' set but not used [-Wunused-but-set-variable]
- int k,numblocks;
- ^
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/qs/med_sieve_32k_sse4.1.o factor/qs/med_sieve_32k_sse4.1.c
- In file included from factor/qs/med_sieve_32k_sse4.1.c:23:0:
- factor/qs/sieve_macros_32k.h:96:65: warning: backslash and newline separated by space
- "movl %%edi,%%eax \n\t" /* logp pointer overwritten */ \
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/nfs/nfs_sieving.o factor/nfs/nfs_sieving.c
- factor/nfs/nfs_sieving.c: In function 'lasieve_launcher':
- factor/nfs/nfs_sieving.c:624:20: warning: '%s' directive writing up to 3 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(syscmd,"%s%s -f %u -c %u -o %s -n %d -%c %s ",
- ^~
- factor/nfs/nfs_sieving.c:624:2: note: 'sprintf' output between 25 and 2181 bytes into a destination of size 1024
- sprintf(syscmd,"%s%s -f %u -c %u -o %s -n %d -%c %s ",
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- thread_data->job.sievername, VFLAG>0?" -v":"", thread_data->job.startq,
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- thread_data->job.qrange, thread_data->outfilename, thread_data->tindex,
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- *side, fobj->nfs_obj.job_infile);
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/nfs/nfs_poly.o factor/nfs/nfs_poly.c
- factor/nfs/nfs_poly.c: In function 'snfs_choose_poly':
- factor/nfs/nfs_poly.c:88:7: warning: unused variable 'tmpstr' [-Wunused-variable]
- char tmpstr[1024];
- ^~~~~~
- factor/nfs/nfs_poly.c: In function 'do_msieve_polyselect':
- factor/nfs/nfs_poly.c:253:27: warning: '%s' directive writing up to 1023 bytes into a region of size 80 [-Wformat-overflow=]
- sprintf(master_polyfile,"%s.p",fobj->nfs_obj.outputfile);
- ^~
- factor/nfs/nfs_poly.c:253:2: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 80
- sprintf(master_polyfile,"%s.p",fobj->nfs_obj.outputfile);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs_poly.c:540:23: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
- sprintf(syscmd,"%s.%d",fobj->nfs_obj.logfile,tid);
- ^~
- factor/nfs/nfs_poly.c:540:4: note: 'sprintf' output between 3 and 1036 bytes into a destination of size 1024
- sprintf(syscmd,"%s.%d",fobj->nfs_obj.logfile,tid);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs_poly.c:544:23: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
- sprintf(syscmd,"%s.%d",fobj->nfs_obj.fbfile,tid);
- ^~
- factor/nfs/nfs_poly.c:544:4: note: 'sprintf' output between 3 and 1036 bytes into a destination of size 1024
- sprintf(syscmd,"%s.%d",fobj->nfs_obj.fbfile,tid);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/nfs/nfs_postproc.o factor/nfs/nfs_postproc.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/nfs/nfs_filemanip.o factor/nfs/nfs_filemanip.c
- factor/nfs/nfs_filemanip.c: In function 'get_spq':
- factor/nfs/nfs_filemanip.c:511:9: warning: variable 'ans' set but not used [-Wunused-but-set-variable]
- uint32 ans;
- ^~~
- factor/nfs/nfs_filemanip.c: In function 'find_best_msieve_poly':
- factor/nfs/nfs_filemanip.c:636:16: warning: '.p' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(line, "%s.p",fobj->nfs_obj.outputfile);
- ^~~~~~
- factor/nfs/nfs_filemanip.c:636:2: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024
- sprintf(line, "%s.p",fobj->nfs_obj.outputfile);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs_filemanip.c:737:16: warning: '.p' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(line, "%s.p",fobj->nfs_obj.outputfile);
- ^~~~~~
- factor/nfs/nfs_filemanip.c:737:2: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024
- sprintf(line, "%s.p",fobj->nfs_obj.outputfile);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs_filemanip.c: In function 'check_existing_files':
- factor/nfs/nfs_filemanip.c:246:28: warning: '%s' directive writing up to 1023 bytes into a region of size 80 [-Wformat-overflow=]
- sprintf(master_polyfile,"%s.p",fobj->nfs_obj.outputfile);
- ^~
- factor/nfs/nfs_filemanip.c:246:3: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 80
- sprintf(master_polyfile,"%s.p",fobj->nfs_obj.outputfile);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- factor/nfs/nfs_filemanip.c: In function 'parse_job_file':
- factor/nfs/nfs_filemanip.c:1106:29: warning: '.exe' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(job->sievername, "%s.exe", job->sievername);
- ^~~~~~~~
- factor/nfs/nfs_filemanip.c:1106:4: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
- sprintf(job->sievername, "%s.exe", job->sievername);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/nfs/nfs_threading.o factor/nfs/nfs_threading.c
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include -c -o factor/nfs/snfs.o factor/nfs/snfs.c
- factor/nfs/snfs.c: In function 'find_brent_form':
- factor/nfs/snfs.c:645:18: warning: unused variable 's2' [-Wunused-variable]
- char s2[2048];
- ^~
- factor/nfs/snfs.c:644:18: warning: unused variable 's' [-Wunused-variable]
- char s[2048];
- ^
- factor/nfs/snfs.c:671:18: warning: unused variable 's2' [-Wunused-variable]
- char s2[2048];
- ^~
- factor/nfs/snfs.c:670:18: warning: unused variable 's' [-Wunused-variable]
- char s[2048];
- ^
- factor/nfs/snfs.c: In function 'gen_brent_poly':
- factor/nfs/snfs.c:1114:10: warning: 'polys' may be used uninitialized in this function [-Wmaybe-uninitialized]
- snfs_t *polys;
- ^~~~~
- gcc -march=westmere -mtune=westmere -DUSE_AVX2 -mavx2 -mavx -DUSE_SSE41 -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Itop/aprcl -Itop/ -I../gmp/install-6.1.2/include/ -I../ecm/install-6.1.2/include 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/threadpool.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_med_32k.o factor/qs/tdiv_resieve_32k.o factor/qs/tdiv_large.o factor/qs/tdiv_scan.o factor/qs/large_sieve.o factor/qs/med_sieve_32k.o factor/qs/new_poly.o factor/qs/poly_roots_32k.o factor/qs/update_poly_roots_32k.o factor/qs/siqs_test.o factor/tinyqs/tinySIQS.o factor/qs/siqs_aux.o factor/qs/smallmpqs.o factor/qs/SIQS.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/presieve.o top/eratosthenes/wrapper.o factor/qs/update_poly_roots_32k_avx2.o factor/qs/med_sieve_32k_avx2.o factor/qs/tdiv_resieve_32k_avx2.o factor/qs/tdiv_med_32k_avx2.o factor/qs/update_poly_roots_32k_sse4.1.o factor/qs/med_sieve_32k_sse4.1.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-x64-mingw -L../gmp/install-6.1.2/lib/ -L../ecm/install-6.1.2/lib -L../msieve/lib/mingw/x86_64 -lecm -lmsieve -lgmp -lm
- C:/MinGW-W64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmsieve
- collect2.exe: error: ld returned 1 exit status
- Makefile.mingw:236: recipe for target `x86_64' failed
- make: *** [x86_64] Error 1
RAW Paste Data