somebodyelse

Msieve/Yafu

Oct 8th, 2017
53
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Jared@DESKTOP /home/jared/projects/factoring/msieve
  2. $ make all ECM=1 NO_ZLIB=1
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. common/lanczos/lanczos.c: In function 'dump_lanczos_state':
  13. common/lanczos/lanczos.c:485:21: warning: unused parameter 'packed_matrix' [-Wunused-parameter]
  14. packed_matrix_t *packed_matrix,
  15. ^~~~~~~~~~~~~
  16. common/lanczos/lanczos.c:488:11: warning: unused parameter 'n' [-Wunused-parameter]
  17. uint32 n, uint32 max_n, uint32 dim_solved, uint32 iter,
  18. ^
  19. common/lanczos/lanczos.c: In function 'read_lanczos_state':
  20. common/lanczos/lanczos.c:643:21: warning: unused parameter 'packed_matrix' [-Wunused-parameter]
  21. packed_matrix_t *packed_matrix,
  22. ^~~~~~~~~~~~~
  23. common/lanczos/lanczos.c:646:11: warning: unused parameter 'n' [-Wunused-parameter]
  24. uint32 n, uint32 max_n, uint32 *dim_solved,
  25. ^
  26. 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
  27. common/lanczos/lanczos_io.c: In function 'dump_matrix':
  28. common/lanczos/lanczos_io.c:173:10: warning: unused parameter 'sparse_weight' [-Wunused-parameter]
  29. uint64 sparse_weight) {
  30. ^~~~~~~~~~~~~
  31. common/lanczos/lanczos_io.c: In function 'file_cache_get_next':
  32. common/lanczos/lanczos_io.c:372:45: warning: unused parameter 'obj' [-Wunused-parameter]
  33. static void file_cache_get_next(msieve_obj *obj, FILE *fp,
  34. ^~~
  35. common/lanczos/lanczos_io.c:375:12: warning: unused parameter 'read_submatrix' [-Wunused-parameter]
  36. uint32 read_submatrix) {
  37. ^~~~~~~~~~~~~~
  38. common/lanczos/lanczos_io.c: In function 'read_matrix':
  39. common/lanczos/lanczos_io.c:438:23: warning: variable 'mpi_nrows' set but not used [-Wunused-but-set-variable]
  40. uint32 mpi_resclass, mpi_nrows;
  41. ^~~~~~~~~
  42. common/lanczos/lanczos_io.c:438:9: warning: variable 'mpi_resclass' set but not used [-Wunused-but-set-variable]
  43. uint32 mpi_resclass, mpi_nrows;
  44. ^~~~~~~~~~~~
  45. 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
  46. common/lanczos/lanczos_matmul0.c: In function 'packed_matrix_init':
  47. common/lanczos/lanczos_matmul0.c:419:12: warning: unused variable 'j' [-Wunused-variable]
  48. uint32 i, j;
  49. ^
  50. common/lanczos/lanczos_matmul0.c: In function 'mul_MxN_Nx64':
  51. common/lanczos/lanczos_matmul0.c:619:23: warning: unused parameter 'scratch' [-Wunused-parameter]
  52. uint64 *b, uint64 *scratch) {
  53. ^~~~~~~
  54. 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
  55. common/lanczos/lanczos_matmul1.c: In function 'mul_packed_core':
  56. common/lanczos/lanczos_matmul1.c:308:38: warning: unused parameter 'thread_num' [-Wunused-parameter]
  57. void mul_packed_core(void *data, int thread_num)
  58. ^~~~~~~~~~
  59. common/lanczos/lanczos_matmul1.c: In function 'mul_packed_small_core':
  60. common/lanczos/lanczos_matmul1.c:348:44: warning: unused parameter 'thread_num' [-Wunused-parameter]
  61. void mul_packed_small_core(void *data, int thread_num)
  62. ^~~~~~~~~~
  63. 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
  64. common/lanczos/lanczos_matmul2.c: In function 'mul_trans_packed_core':
  65. common/lanczos/lanczos_matmul2.c:319:44: warning: unused parameter 'thread_num' [-Wunused-parameter]
  66. void mul_trans_packed_core(void *data, int thread_num)
  67. ^~~~~~~~~~
  68. common/lanczos/lanczos_matmul2.c: In function 'mul_trans_packed_small_core':
  69. common/lanczos/lanczos_matmul2.c:358:50: warning: unused parameter 'thread_num' [-Wunused-parameter]
  70. void mul_trans_packed_small_core(void *data, int thread_num)
  71. ^~~~~~~~~~
  72. 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
  73. 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
  74. common/lanczos/lanczos_vv.c: In function 'mul_Nx64_64x64_acc':
  75. common/lanczos/lanczos_vv.c:201:9: warning: unused variable 'i' [-Wunused-variable]
  76. uint32 i;
  77. ^
  78. common/lanczos/lanczos_vv.c: In function 'outer_thread_run':
  79. common/lanczos/lanczos_vv.c:210:46: warning: unused parameter 'thread_num' [-Wunused-parameter]
  80. static void outer_thread_run(void *data, int thread_num)
  81. ^~~~~~~~~~
  82. common/lanczos/lanczos_vv.c: In function 'inner_thread_run':
  83. common/lanczos/lanczos_vv.c:427:46: warning: unused parameter 'thread_num' [-Wunused-parameter]
  84. static void inner_thread_run(void *data, int thread_num)
  85. ^~~~~~~~~~
  86. common/lanczos/lanczos_vv.c: In function 'tmul_64xN_Nx64':
  87. common/lanczos/lanczos_vv.c:441:12: warning: unused variable 'j' [-Wunused-variable]
  88. uint32 i, j;
  89. ^
  90. 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
  91. 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
  92. 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
  93. common/smallfact/smallfact.c: In function 'trial_factor':
  94. common/smallfact/smallfact.c:22:9: warning: variable 'factor_found' set but not used [-Wunused-but-set-variable]
  95. uint32 factor_found = 0;
  96. ^~~~~~~~~~~~
  97. 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
  98. 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
  99. 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
  100. 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
  101. 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
  102. 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
  103. common/driver.c: In function 'msieve_run':
  104. <command-line>:0:20: error: 'exported' undeclared (first use in this function)
  105. common/driver.c:195:5: note: in expansion of macro 'MSIEVE_SVN_VERSION'
  106. MSIEVE_SVN_VERSION);
  107. ^~~~~~~~~~~~~~~~~~
  108. <command-line>:0:20: note: each undeclared identifier is reported only once for each function it appears in
  109. common/driver.c:195:5: note: in expansion of macro 'MSIEVE_SVN_VERSION'
  110. MSIEVE_SVN_VERSION);
  111. ^~~~~~~~~~~~~~~~~~
  112. Makefile:292: recipe for target `common/driver.o' failed
  113. make: *** [common/driver.o] Error 1
  114.  
  115. Jared@DESKTOP /home/jared/projects/factoring/msieve
  116. $ cd ../yafu
  117.  
  118. Jared@DESKTOP /home/jared/projects/factoring/yafu
  119. $ make -f Makefile.mingw x86_64 NFS=1 USE_AVX2=1
  120. 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
  121. factor/qs/msieve/lanczos.c: In function 'yafu_block_lanczos_core':
  122. factor/qs/msieve/lanczos.c:1245:5: warning: null argument where non-null required (argument 1) [-Wnonnull]
  123. fprintf(NULL, "linear algebra completed %u "
  124. ^~~~~~~
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. 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
  131. 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
  132. 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
  133. top/driver.c: In function 'main':
  134. top/driver.c:119:9: warning: unused variable 'i' [-Wunused-variable]
  135. int i;
  136. ^
  137. top/driver.c: In function 'get_input':
  138. top/driver.c:367:30: warning: passing argument 1 of 'strlen' makes pointer from integer without a cast [-Wint-conversion]
  139. input_exp[strlen(*input_exp) - 1] = '\0';
  140. ^
  141. In file included from C:/MinGW-W64/mingw64/x86_64-w64-mingw32/include/guiddef.h:148:0,
  142. from C:/MinGW-W64/mingw64/x86_64-w64-mingw32/include/winnt.h:628,
  143. from C:/MinGW-W64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163,
  144. from C:/MinGW-W64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
  145. from C:/MinGW-W64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
  146. from include/types.h:39,
  147. from include/yafu.h:48,
  148. from top/driver.c:21:
  149. C:/MinGW-W64/mingw64/x86_64-w64-mingw32/include/string.h:64:18: note: expected 'const char *' but argument is of type 'char'
  150. size_t __cdecl strlen(const char *_Str);
  151. ^~~~~~
  152. top/driver.c:353:9: warning: unused variable 'n' [-Wunused-variable]
  153. int n = 0;
  154. ^
  155. top/driver.c:352:9: warning: unused variable 'c' [-Wunused-variable]
  156. int c;
  157. ^
  158. top/driver.c: In function 'print_splash':
  159. top/driver.c:977:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  160. if (VFLAG > 0 || !is_cmdline_run)
  161. ^~
  162. top/driver.c:1003:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  163. fprintf(logfile,"Using GMP-ECM %s, Powered by GMP %d.%d.%d\n", ECM_VERSION,
  164. ^~~~~~~
  165. top/driver.c: In function 'get_computer_info':
  166. top/driver.c:1089:27: warning: passing argument 2 of 'GetComputerNameA' from incompatible pointer type [-Wincompatible-pointer-types]
  167. GetComputerName(sysname,&sysname_sz);
  168. ^
  169. In file included from C:/MinGW-W64/mingw64/x86_64-w64-mingw32/include/windows.h:70:0,
  170. from include/types.h:39,
  171. from include/yafu.h:48,
  172. from top/driver.c:21:
  173. 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 *'
  174. WINBASEAPI WINBOOL WINAPI GetComputerNameA (LPSTR lpBuffer, LPDWORD nSize);
  175. ^~~~~~~~~~~~~~~~
  176. top/driver.c:1048:6: warning: unused variable 'ret' [-Wunused-variable]
  177. int ret;
  178. ^~~
  179. top/driver.c: In function 'applyOpt':
  180. top/driver.c:1975:36: warning: '.log' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  181. sprintf(fobj->nfs_obj.logfile, "%s.log",fobj->nfs_obj.outputfile);
  182. ^~~~~~~~
  183. top/driver.c:1975:5: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
  184. sprintf(fobj->nfs_obj.logfile, "%s.log",fobj->nfs_obj.outputfile);
  185. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  186. top/driver.c:1976:35: warning: '.fb' directive writing 3 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  187. sprintf(fobj->nfs_obj.fbfile, "%s.fb",fobj->nfs_obj.outputfile);
  188. ^~~~~~~
  189. top/driver.c:1976:5: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 1024
  190. sprintf(fobj->nfs_obj.fbfile, "%s.fb",fobj->nfs_obj.outputfile);
  191. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  192. 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
  193. top/utils.c: In function 'yafu_get_cpu_type':
  194. top/utils.c:1482:17: warning: variable 'model' set but not used [-Wunused-but-set-variable]
  195. uint8 family, model;
  196. ^~~~~
  197. top/utils.c: In function 'extended_cpuid':
  198. top/utils.c:1601:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  199. *((int*)CPUString) = CPUInfo[1];
  200. ^
  201. top/utils.c:1532:9: warning: variable 'nVirtualAddress' set but not used [-Wunused-but-set-variable]
  202. int nVirtualAddress = 0;
  203. ^~~~~~~~~~~~~~~
  204. top/utils.c:1531:9: warning: variable 'nPhysicalAddress' set but not used [-Wunused-but-set-variable]
  205. int nPhysicalAddress = 0;
  206. ^~~~~~~~~~~~~~~~
  207. 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
  208. 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
  209. top/calc.c: In function 'process_expression':
  210. top/calc.c:665:11: warning: unused variable 't' [-Wunused-variable]
  211. double t;
  212. ^
  213. top/calc.c:664:19: warning: unused variable 'stop' [-Wunused-variable]
  214. clock_t start, stop;
  215. ^~~~
  216. top/calc.c:664:12: warning: unused variable 'start' [-Wunused-variable]
  217. clock_t start, stop;
  218. ^~~~~
  219. top/calc.c: In function 'feval':
  220. top/calc.c:1852:27: warning: passing argument 2 of '__gmpz_export' from incompatible pointer type [-Wincompatible-pointer-types]
  221. mpz_export(a, &oldused, -1, 4, 0, 0, operands[0]);
  222. ^
  223. In file included from include/yafu.h:49:0,
  224. from top/calc.c:25:
  225. ../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 *'
  226. #define mpz_export __gmpz_export
  227. ^
  228. ../gmp/install-6.1.2/include/gmp.h:739:22: note: in expansion of macro 'mpz_export'
  229. __GMP_DECLSPEC void *mpz_export (void *, size_t *, int, size_t, int, size_t, mpz_srcptr);
  230. ^~~~~~~~~~
  231. top/calc.c:1853:27: warning: passing argument 2 of '__gmpz_export' from incompatible pointer type [-Wincompatible-pointer-types]
  232. mpz_export(m, &pa, -1, 4, 0, 0, operands[1]);
  233. ^
  234. In file included from include/yafu.h:49:0,
  235. from top/calc.c:25:
  236. ../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 *'
  237. #define mpz_export __gmpz_export
  238. ^
  239. ../gmp/install-6.1.2/include/gmp.h:739:22: note: in expansion of macro 'mpz_export'
  240. __GMP_DECLSPEC void *mpz_export (void *, size_t *, int, size_t, int, size_t, mpz_srcptr);
  241. ^~~~~~~~~~
  242. top/calc.c:1847:19: warning: unused variable 'strn' [-Wunused-variable]
  243. char *strn;
  244. ^~~~
  245. top/calc.c:1846:42: warning: unused variable 'j' [-Wunused-variable]
  246. int oldused, xx, y, pa, j;
  247. ^
  248. top/calc.c:1846:35: warning: variable 'y' set but not used [-Wunused-but-set-variable]
  249. int oldused, xx, y, pa, j;
  250. ^
  251. top/calc.c:1845:48: warning: variable 'mu' set but not used [-Wunused-but-set-variable]
  252. uint32 c[2 * 256 + 1], *_c, *tmpm, mu;
  253. ^~
  254. 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
  255. top/test.c: In function 'test_dlp_composites_par':
  256. top/test.c:317:11: warning: unused variable 'queue' [-Wunused-variable]
  257. int64 queue[100];
  258. ^~~~~
  259. top/test.c:308:19: warning: unused variable 'f64' [-Wunused-variable]
  260. uint64 *comp, f64;
  261. ^~~
  262. top/test.c: In function 'test_dlp_composites':
  263. top/test.c:423:8: warning: unused variable 'queue' [-Wunused-variable]
  264. int64 queue[100];
  265. ^~~~~
  266. top/test.c: In function 'richard_guy_problem_e7':
  267. top/test.c:1274:11: warning: implicit declaration of function 'GetPRIMESRange'; did you mean 'GetScrollRange'? [-Wimplicit-function-declaration]
  268. PRIMES = GetPRIMESRange(spSOEprimes, szSOEp, NULL, 0,
  269. ^~~~~~~~~~~~~~
  270. GetScrollRange
  271. top/test.c:1274:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  272. PRIMES = GetPRIMESRange(spSOEprimes, szSOEp, NULL, 0,
  273. ^
  274. top/test.c:1294:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  275. PRIMES = GetPRIMESRange(spSOEprimes, szSOEp, NULL, P_MAX+1,
  276. ^
  277. top/test.c: In function 'squfof_rds':
  278. top/test.c:114:18: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
  279. temp1 = temp / qlast;
  280. ~~~~~^~~~~~~
  281. 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
  282. top/threadpool.c: In function 'tpool_go':
  283. top/threadpool.c:302:24: warning: 'tid' may be used uninitialized in this function [-Wmaybe-uninitialized]
  284. thread_data[tid].num_threads,
  285. ^
  286. 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
  287. top/aprcl/mpz_aprcl.c: In function 'mpz_extrastrongselfridge_prp':
  288. top/aprcl/mpz_aprcl.c:1123:28: warning: variable 'q' set but not used [-Wunused-but-set-variable]
  289. long int d = 5, p = 1, q = 0;
  290. ^
  291. 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
  292. factor/factor_common.c: In function 'get_qs_time_estimate':
  293. factor/factor_common.c:840:3: warning: case value '10' not in enumerated type 'enum cpu_type' [-Wswitch]
  294. case 10:
  295. ^~~~
  296. factor/factor_common.c: In function 'get_gnfs_time_estimate':
  297. factor/factor_common.c:890:3: warning: case value '10' not in enumerated type 'enum cpu_type' [-Wswitch]
  298. case 10:
  299. ^~~~
  300. factor/factor_common.c: In function 'init_factor_work':
  301. factor/factor_common.c:2187:9: warning: enumeration value 'state_idle' not handled in switch [-Wswitch]
  302. switch (interp_state)
  303. ^~~~~~
  304. factor/factor_common.c:2187:9: warning: enumeration value 'state_trialdiv' not handled in switch [-Wswitch]
  305. factor/factor_common.c:2187:9: warning: enumeration value 'state_fermat' not handled in switch [-Wswitch]
  306. factor/factor_common.c:2187:9: warning: enumeration value 'state_rho' not handled in switch [-Wswitch]
  307. factor/factor_common.c:2187:9: warning: enumeration value 'state_pp1_lvl1' not handled in switch [-Wswitch]
  308. factor/factor_common.c:2187:9: warning: enumeration value 'state_pm1_lvl1' not handled in switch [-Wswitch]
  309. factor/factor_common.c:2187:9: warning: enumeration value 'state_pp1_lvl2' not handled in switch [-Wswitch]
  310. factor/factor_common.c:2187:9: warning: enumeration value 'state_pm1_lvl2' not handled in switch [-Wswitch]
  311. factor/factor_common.c:2187:9: warning: enumeration value 'state_pp1_lvl3' not handled in switch [-Wswitch]
  312. factor/factor_common.c:2187:9: warning: enumeration value 'state_pm1_lvl3' not handled in switch [-Wswitch]
  313. factor/factor_common.c:2187:9: warning: enumeration value 'state_ecm_15digit' not handled in switch [-Wswitch]
  314. factor/factor_common.c:2187:9: warning: enumeration value 'state_ecm_20digit' not handled in switch [-Wswitch]
  315. factor/factor_common.c:2187:9: warning: enumeration value 'state_qs' not handled in switch [-Wswitch]
  316. factor/factor_common.c:2187:9: warning: enumeration value 'state_nfs' not handled in switch [-Wswitch]
  317. factor/factor_common.c:2187:9: warning: enumeration value 'state_done' not handled in switch [-Wswitch]
  318. 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
  319. 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
  320. factor/squfof.c: In function 'sp_shanks_loop':
  321. factor/squfof.c:229:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  322. else
  323. ^~~~
  324. factor/squfof.c:232:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  325. for (i = 0; i < rounds; i++)
  326. ^~~
  327. factor/squfof.c:151:25: warning: variable 'big1' set but not used [-Wunused-but-set-variable]
  328. uint64 n64, nn64, f64, big1, big2;
  329. ^~~~
  330. factor/squfof.c: In function 'par_shanks_loop':
  331. factor/squfof.c:451:17: warning: unused variable 'result' [-Wunused-variable]
  332. int result;
  333. ^~~~~~
  334. factor/squfof.c:298:17: warning: unused variable 'nn64' [-Wunused-variable]
  335. uint64 n64, nn64, f64;
  336. ^~~~
  337. factor/squfof.c:298:12: warning: unused variable 'n64' [-Wunused-variable]
  338. uint64 n64, nn64, f64;
  339. ^~~
  340. factor/squfof.c:297:23: warning: variable 'all_done' set but not used [-Wunused-but-set-variable]
  341. int i, rounds, j, all_done, list_position, num_successes, num_processed, num_active;
  342. ^~~~~~~~
  343. factor/squfof.c:297:12: warning: unused variable 'rounds' [-Wunused-variable]
  344. int i, rounds, j, all_done, list_position, num_successes, num_processed, num_active;
  345. ^~~~~~
  346. factor/squfof.c: In function 'shanks_mult_unit':
  347. factor/squfof.c:867:6: warning: variable 'j' set but not used [-Wunused-but-set-variable]
  348. int j=0;
  349. ^
  350. factor/squfof.c: In function 'par_shanks_mult_unit':
  351. factor/squfof.c:1091:0: warning: ignoring #pragma ivdep [-Wunknown-pragmas]
  352. #pragma ivdep
  353.  
  354. factor/squfof.c:1092:0: warning: ignoring #pragma vector aligned [-Wunknown-pragmas]
  355. #pragma vector aligned
  356.  
  357. factor/squfof.c:1103:0: warning: ignoring #pragma ivdep [-Wunknown-pragmas]
  358. #pragma ivdep
  359.  
  360. factor/squfof.c:1104:0: warning: ignoring #pragma vector aligned [-Wunknown-pragmas]
  361. #pragma vector aligned
  362.  
  363. factor/squfof.c:1167:0: warning: ignoring #pragma ivdep [-Wunknown-pragmas]
  364. #pragma ivdep
  365.  
  366. factor/squfof.c:1168:0: warning: ignoring #pragma vector aligned [-Wunknown-pragmas]
  367. #pragma vector aligned
  368.  
  369. factor/squfof.c:1214:0: warning: ignoring #pragma ivdep [-Wunknown-pragmas]
  370. #pragma ivdep
  371.  
  372. factor/squfof.c:1215:0: warning: ignoring #pragma vector aligned [-Wunknown-pragmas]
  373. #pragma vector aligned
  374.  
  375. factor/squfof.c:1264:0: warning: ignoring #pragma ivdep [-Wunknown-pragmas]
  376. #pragma ivdep
  377.  
  378. factor/squfof.c:1265:0: warning: ignoring #pragma vector aligned [-Wunknown-pragmas]
  379. #pragma vector aligned
  380.  
  381. factor/squfof.c:1266:0: warning: ignoring #pragma unroll [-Wunknown-pragmas]
  382. #pragma unroll
  383.  
  384. factor/squfof.c:1329:0: warning: ignoring #pragma ivdep [-Wunknown-pragmas]
  385. #pragma ivdep
  386.  
  387. factor/squfof.c:1330:0: warning: ignoring #pragma vector aligned [-Wunknown-pragmas]
  388. #pragma vector aligned
  389.  
  390. factor/squfof.c:1379:0: warning: ignoring #pragma ivdep [-Wunknown-pragmas]
  391. #pragma ivdep
  392.  
  393. factor/squfof.c:1380:0: warning: ignoring #pragma vector aligned [-Wunknown-pragmas]
  394. #pragma vector aligned
  395.  
  396. factor/squfof.c:1071:9: warning: variable 'j' set but not used [-Wunused-but-set-variable]
  397. int j = 0;
  398. ^
  399. factor/squfof.c: In function 'par_shanks_mult_unit_asm':
  400. factor/squfof.c:1527:0: warning: ignoring #pragma novector [-Wunknown-pragmas]
  401. #pragma novector
  402.  
  403. factor/squfof.c:1541:0: warning: ignoring #pragma novector [-Wunknown-pragmas]
  404. #pragma novector
  405.  
  406. factor/squfof.c:1495:9: warning: variable 'j' set but not used [-Wunused-but-set-variable]
  407. int j = 0;
  408. ^
  409. factor/squfof.c:1491:12: warning: variable 'fudge' set but not used [-Wunused-but-set-variable]
  410. double fudge[4];
  411. ^~~~~
  412. 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
  413. 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
  414. 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
  415. factor/qs/filter.c: In function 'yafu_qs_filter_relations':
  416. factor/qs/filter.c:760:6: warning: variable 'first' set but not used [-Wunused-but-set-variable]
  417. int first, last_poly;
  418. ^~~~~
  419. factor/qs/filter.c:755:9: warning: variable 'poly_saved' set but not used [-Wunused-but-set-variable]
  420. uint32 poly_saved;
  421. ^~~~~~~~~~
  422. factor/qs/filter.c:752:21: warning: variable 'curr_poly_idx' set but not used [-Wunused-but-set-variable]
  423. uint32 curr_a_idx, curr_poly_idx, curr_rel;
  424. ^~~~~~~~~~~~~
  425. factor/qs/filter.c:966:25: warning: 'rel' may be used uninitialized in this function [-Wmaybe-uninitialized]
  426. if (rel->large_prime[0] == 0)
  427. ~~~~~~~~~~~~~~~~^~~
  428. 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
  429. factor/qs/tdiv.c: In function 'trial_divide_Q_siqs':
  430. factor/qs/tdiv.c:65:14: warning: unused variable 'f64' [-Wunused-variable]
  431. uint64 q64, f64;
  432. ^~~
  433. factor/qs/tdiv.c: In function 'buffer_relation':
  434. factor/qs/tdiv.c:244:18: warning: unused variable 'k' [-Wunused-variable]
  435. uint32 i, j, k;
  436. ^
  437. factor/qs/tdiv.c:244:15: warning: unused variable 'j' [-Wunused-variable]
  438. uint32 i, j, k;
  439. ^
  440. factor/qs/tdiv.c:244:12: warning: unused variable 'i' [-Wunused-variable]
  441. uint32 i, j, k;
  442. ^
  443. 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
  444. 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
  445. factor/qs/tdiv_med_32k.c: In function 'tdiv_medprimes_32k':
  446. factor/qs/tdiv_med_32k.c:74:9: warning: variable 'starti' set but not used [-Wunused-but-set-variable]
  447. int starti;
  448. ^~~~~~
  449. 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
  450. factor/qs/tdiv_resieve_32k.c: In function 'resieve_medprimes_32k':
  451. factor/qs/tdiv_resieve_32k.c:69:19: warning: variable 'fullfb_ptr' set but not used [-Wunused-but-set-variable]
  452. fb_element_siqs *fullfb_ptr, *fullfb = sconf->factor_base->list;
  453. ^~~~~~~~~~
  454. 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
  455. factor/qs/tdiv_large.c:104:84: warning: backslash and newline separated by space
  456. "orq %%r9,%%r8 \n\t" /* r8 now holds 8 comparisons in 32 bits */ \
  457.  
  458. factor/qs/tdiv_large.c:105:86: warning: backslash and newline separated by space
  459. "orq %%r10,%%r8 \n\t" /* r8 now holds 12 comparisons in 48 bits */ \
  460.  
  461. factor/qs/tdiv_large.c:107:112: warning: backslash and newline separated by space
  462. "andq %%r9,%%r8 \n\t" /* clear the bytemask results we don't care about */ \
  463.  
  464. factor/qs/tdiv_large.c:138:93: warning: backslash and newline separated by space
  465. "vpmovmskb %%ymm2, %%r9 \n\t" /* 2nd 4 comparisons in 16 bits of r9 */ \
  466.  
  467. factor/qs/tdiv_large.c:146:112: warning: backslash and newline separated by space
  468. "andq %%r9,%%r8 \n\t" /* clear the bytemask results we don't care about */ \
  469.  
  470. factor/qs/tdiv_large.c:201:84: warning: backslash and newline separated by space
  471. "orq %%r9,%%r8 \n\t" /* r8 now holds 8 comparisons in 32 bits */ \
  472.  
  473. factor/qs/tdiv_large.c:202:86: warning: backslash and newline separated by space
  474. "orq %%r10,%%r8 \n\t" /* r8 now holds 12 comparisons in 48 bits */ \
  475.  
  476. factor/qs/tdiv_large.c:204:112: warning: backslash and newline separated by space
  477. "andq %%r9,%%r8 \n\t" /* clear the bytemask results we don't care about */ \
  478.  
  479. factor/qs/tdiv_large.c: In function 'tdiv_LP':
  480. factor/qs/tdiv_large.c:539:16: warning: unused variable 'q' [-Wunused-variable]
  481. int r, q;
  482. ^
  483. 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
  484. factor/qs/tdiv_scan.c: In function 'check_relations_siqs_16':
  485. factor/qs/tdiv_scan.c:815:12: warning: unused variable 'num_reports' [-Wunused-variable]
  486. uint32 num_reports = 0;
  487. ^~~~~~~~~~~
  488. 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
  489. 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
  490. In file included from factor/qs/med_sieve_32k.c:24:0:
  491. factor/qs/sieve_macros_32k.h:96:65: warning: backslash and newline separated by space
  492. "movl %%edi,%%eax \n\t" /* logp pointer overwritten */ \
  493.  
  494. 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
  495. factor/qs/new_poly.c: In function 'computeBl':
  496. factor/qs/new_poly.c:497:16: warning: variable 'root2' set but not used [-Wunused-but-set-variable]
  497. uint32 root1, root2, prime, gamma;
  498. ^~~~~
  499. 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
  500. factor/qs/poly_roots_32k.c: In function 'testfirstRoots_32k':
  501. factor/qs/poly_roots_32k.c:41:51: warning: variable 'numblocks' set but not used [-Wunused-but-set-variable]
  502. int root1, root2, prime, amodp, bmodp, inv, bnum,numblocks;
  503. ^~~~~~~~~
  504. factor/qs/poly_roots_32k.c:40:11: warning: variable 'logp' set but not used [-Wunused-but-set-variable]
  505. uint32 i,logp;
  506. ^~~~
  507. factor/qs/poly_roots_32k.c: In function 'firstRoots_32k':
  508. factor/qs/poly_roots_32k.c:146:11: warning: unused variable 'out' [-Wunused-variable]
  509. FILE *out;
  510. ^~~
  511. 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
  512. factor/qs/update_poly_roots_32k.c: In function 'nextRoots_32k':
  513. factor/qs/update_poly_roots_32k.c:53:34: warning: unused variable 'nroot2' [-Wunused-variable]
  514. uint32 root1, root2, nroot1, nroot2, prime;
  515. ^~~~~~
  516. factor/qs/update_poly_roots_32k.c:53:26: warning: unused variable 'nroot1' [-Wunused-variable]
  517. uint32 root1, root2, nroot1, nroot2, prime;
  518. ^~~~~~
  519. factor/qs/update_poly_roots_32k.c:52:6: warning: variable 'k' set but not used [-Wunused-but-set-variable]
  520. int k,numblocks;
  521. ^
  522. factor/qs/update_poly_roots_32k.c: In function 'nextRoots_32k_generic_small':
  523. factor/qs/update_poly_roots_32k.c:1892:11: warning: unused variable 'logp' [-Wunused-variable]
  524. uint8 logp = 0;
  525. ^~~~
  526. factor/qs/update_poly_roots_32k.c:1890:9: warning: variable 'k' set but not used [-Wunused-but-set-variable]
  527. int k;
  528. ^
  529. factor/qs/update_poly_roots_32k.c:1887:12: warning: unused variable 'med_B' [-Wunused-variable]
  530. uint32 med_B = sconf->factor_base->med_B;
  531. ^~~~~
  532. factor/qs/update_poly_roots_32k.c: In function 'nextRoots_32k_generic_polybatch':
  533. factor/qs/update_poly_roots_32k.c:2056:17: warning: unused variable 'helperstruct' [-Wunused-variable]
  534. polysieve_t helperstruct;
  535. ^~~~~~~~~~~~
  536. factor/qs/update_poly_roots_32k.c:2026:12: warning: unused variable 'startprime' [-Wunused-variable]
  537. uint32 startprime = 2;
  538. ^~~~~~~~~~
  539. factor/qs/update_poly_roots_32k.c:2021:26: warning: unused variable 'fb_n' [-Wunused-variable]
  540. sieve_fb_compressed *fb_n = dconf->comp_sieve_n;
  541. ^~~~
  542. factor/qs/update_poly_roots_32k.c:2020:26: warning: unused variable 'fb_p' [-Wunused-variable]
  543. sieve_fb_compressed *fb_p = dconf->comp_sieve_p;
  544. ^~~~
  545. factor/qs/update_poly_roots_32k.c:2043:12: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
  546. uint32 j, interval;
  547. ^
  548. 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
  549. 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
  550. 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
  551. factor/qs/siqs_aux.c: In function 'make_fb_siqs':
  552. factor/qs/siqs_aux.c:37:23: warning: variable 'root2' set but not used [-Wunused-but-set-variable]
  553. uint32 prime, root1, root2;
  554. ^~~~~
  555. factor/qs/siqs_aux.c: In function 'get_params':
  556. factor/qs/siqs_aux.c:340:9: warning: unused variable 'param_table_bkup' [-Wunused-variable]
  557. int param_table_bkup[NUM_PARAM_ROWS][4] = {
  558. ^~~~~~~~~~~~~~~~
  559. 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
  560. factor/qs/smallmpqs.c: In function 'smpqs_make_fb_mpqs':
  561. factor/qs/smallmpqs.c:295:23: warning: variable 'root2' set but not used [-Wunused-but-set-variable]
  562. uint32 prime, root1, root2;
  563. ^~~~~
  564. factor/qs/smallmpqs.c: In function 'smallmpqs':
  565. factor/qs/smallmpqs.c:545:29: warning: variable 'max_bits' set but not used [-Wunused-but-set-variable]
  566. uint8 closnuf, small_bits, max_bits;
  567. ^~~~~~~~
  568. factor/qs/smallmpqs.c:541:24: warning: variable 'charcount' set but not used [-Wunused-but-set-variable]
  569. int digits_n, bits_n, charcount, pindex;
  570. ^~~~~~~~~
  571. factor/qs/smallmpqs.c: In function 'smpqs_trial_divide_Q':
  572. factor/qs/smallmpqs.c:1353:9: warning: variable 'r' set but not used [-Wunused-but-set-variable]
  573. uint32 r;
  574. ^
  575. factor/qs/smallmpqs.c: In function 'smpqs_computeRoots':
  576. factor/qs/smallmpqs.c:1870:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  577. if (x < 0) x += prime; root1 = x;
  578. ^~
  579. factor/qs/smallmpqs.c:1870:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  580. if (x < 0) x += prime; root1 = x;
  581. ^~~~~
  582. factor/qs/smallmpqs.c:1872:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  583. if (x < 0) x += prime; root2 = x;
  584. ^~
  585. factor/qs/smallmpqs.c:1872:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  586. if (x < 0) x += prime; root2 = x;
  587. ^~~~~
  588. factor/qs/smallmpqs.c: In function 'smpqs_BlockGauss':
  589. factor/qs/smallmpqs.c:2023:9: warning: variable 'r' set but not used [-Wunused-but-set-variable]
  590. uint32 r;
  591. ^
  592. 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
  593. factor/qs/SIQS.c: In function 'siqs_sync':
  594. factor/qs/SIQS.c:137:17: warning: variable 'poly_start_num' set but not used [-Wunused-but-set-variable]
  595. int poly_start_num = 0;
  596. ^~~~~~~~~~~~~~
  597. factor/qs/SIQS.c: In function 'siqs_dispatch':
  598. factor/qs/SIQS.c:238:17: warning: unused variable 'fobj' [-Wunused-variable]
  599. fact_obj_t *fobj = static_conf->obj;
  600. ^~~~
  601. factor/qs/SIQS.c: In function 'print_siqs_splash':
  602. factor/qs/SIQS.c:1062:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  603. printf("large prime hashtables have %d bytes\n",
  604. ~^
  605. %I64d
  606. dconf->buckets->list_size * BUCKET_ALLOC * sizeof(uint32));
  607. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  608. factor/qs/SIQS.c:1062:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
  609. printf("large prime hashtables have %d bytes\n",
  610. ~^
  611. %I64d
  612. dconf->buckets->list_size * BUCKET_ALLOC * sizeof(uint32));
  613. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  614. 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
  615. factor/gmp-ecm/ecm.c: In function 'ecm_loop':
  616. factor/gmp-ecm/ecm.c:213:6: warning: unused variable 'num_batches' [-Wunused-variable]
  617. int num_batches;
  618. ^~~~~~~~~~~
  619. factor/gmp-ecm/ecm.c:211:8: warning: unused variable 'j' [-Wunused-variable]
  620. int i,j;
  621. ^
  622. factor/gmp-ecm/ecm.c: In function 'ecm_deal_with_factor':
  623. factor/gmp-ecm/ecm.c:305:6: warning: unused variable 'curves_run' [-Wunused-variable]
  624. int curves_run = thread_data->curves_run;
  625. ^~~~~~~~~~
  626. 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
  627. factor/gmp-ecm/pp1.c: In function 'williams_loop':
  628. factor/gmp-ecm/pp1.c:127:9: warning: variable 'tt' set but not used [-Wunused-but-set-variable]
  629. double tt;
  630. ^~
  631. factor/gmp-ecm/pp1.c:124:8: warning: variable 'it' set but not used [-Wunused-but-set-variable]
  632. int i,it,trials = fobj->pp1_obj.numbases;
  633. ^~
  634. 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
  635. factor/gmp-ecm/pm1.c: In function 'pollard_loop':
  636. factor/gmp-ecm/pm1.c:125:9: warning: variable 'tt' set but not used [-Wunused-but-set-variable]
  637. double tt;
  638. ^~
  639. 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
  640. factor/nfs/nfs.c: In function 'check_for_sievers':
  641. factor/nfs/nfs.c:904:18: warning: 'ggnfs-lasieve4I' directive writing 15 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  642. sprintf(name, "%sggnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
  643. ^~~~~~~~~~~~~~~~~~~~~~
  644. factor/nfs/nfs.c:904:18: note: directive argument in the range [11, 17]
  645. factor/nfs/nfs.c:904:4: note: 'sprintf' output between 19 and 1042 bytes into a destination of size 1024
  646. sprintf(name, "%sggnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
  647. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  648. factor/nfs/nfs.c:917:27: warning: 'gnfs-lasieve4I' directive writing 14 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  649. sprintf(name, "%sgnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
  650. ^~~~~~~~~~~~~~~~~~~~~
  651. factor/nfs/nfs.c:917:27: note: directive argument in the range [11, 17]
  652. factor/nfs/nfs.c:917:13: note: 'sprintf' output between 18 and 1041 bytes into a destination of size 1024
  653. sprintf(name, "%sgnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
  654. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  655. factor/nfs/nfs.c: In function 'get_ggnfs_params':
  656. factor/nfs/nfs.c:1184:27: warning: 'gnfs-lasieve4I' directive writing 14 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  657. sprintf(job->sievername, "%sgnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, fobj->nfs_obj.siever);
  658. ^~~~~~~~~~~~~~~~~~~~~
  659. factor/nfs/nfs.c:1184:27: note: using the range [-2147483648, 2147483647] for directive argument
  660. factor/nfs/nfs.c:1184:2: note: 'sprintf' output between 17 and 1050 bytes into a destination of size 1024
  661. sprintf(job->sievername, "%sgnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, fobj->nfs_obj.siever);
  662. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  663. factor/nfs/nfs.c:1186:27: warning: '.exe' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  664. sprintf(job->sievername, "%s.exe", job->sievername);
  665. ^~~~~~~~
  666. factor/nfs/nfs.c:1186:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
  667. sprintf(job->sievername, "%s.exe", job->sievername);
  668. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  669. factor/nfs/nfs.c: In function 'nfs':
  670. factor/nfs/nfs.c:904:18: warning: 'ggnfs-lasieve4I' directive writing 15 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  671. sprintf(name, "%sggnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
  672. ^~~~~~~~~~~~~~~~~~~~~~
  673. factor/nfs/nfs.c:904:18: note: directive argument in the range [11, 17]
  674. factor/nfs/nfs.c:904:4: note: 'sprintf' output between 19 and 1042 bytes into a destination of size 1024
  675. sprintf(name, "%sggnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
  676. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  677. factor/nfs/nfs.c:917:27: warning: 'gnfs-lasieve4I' directive writing 14 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  678. sprintf(name, "%sgnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
  679. ^~~~~~~~~~~~~~~~~~~~~
  680. factor/nfs/nfs.c:917:27: note: directive argument in the range [11, 17]
  681. factor/nfs/nfs.c:917:13: note: 'sprintf' output between 18 and 1041 bytes into a destination of size 1024
  682. sprintf(name, "%sgnfs-lasieve4I%de", fobj->nfs_obj.ggnfs_dir, i);
  683. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  684. factor/nfs/nfs.c:451:22: warning: '.dep' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  685. sprintf(tmpstr, "%s.dep", fobj->nfs_obj.outputfile);
  686. ^~~~~~~~
  687. factor/nfs/nfs.c:451:6: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
  688. sprintf(tmpstr, "%s.dep", fobj->nfs_obj.outputfile);
  689. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  690. factor/nfs/nfs.c:564:20: warning: '.p' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  691. sprintf(tmpstr, "%s.p",fobj->nfs_obj.outputfile); remove(tmpstr);
  692. ^~~~~~
  693. factor/nfs/nfs.c:564:4: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024
  694. sprintf(tmpstr, "%s.p",fobj->nfs_obj.outputfile); remove(tmpstr);
  695. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  696. factor/nfs/nfs.c:565:20: warning: '.br' directive writing 3 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  697. sprintf(tmpstr, "%s.br",fobj->nfs_obj.outputfile); remove(tmpstr);
  698. ^~~~~~~
  699. factor/nfs/nfs.c:565:4: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 1024
  700. sprintf(tmpstr, "%s.br",fobj->nfs_obj.outputfile); remove(tmpstr);
  701. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  702. factor/nfs/nfs.c:566:20: warning: '.cyc' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  703. sprintf(tmpstr, "%s.cyc",fobj->nfs_obj.outputfile); remove(tmpstr);
  704. ^~~~~~~~
  705. factor/nfs/nfs.c:566:4: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
  706. sprintf(tmpstr, "%s.cyc",fobj->nfs_obj.outputfile); remove(tmpstr);
  707. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  708. factor/nfs/nfs.c:567:20: warning: '.dep' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  709. sprintf(tmpstr, "%s.dep",fobj->nfs_obj.outputfile); remove(tmpstr);
  710. ^~~~~~~~
  711. factor/nfs/nfs.c:567:4: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
  712. sprintf(tmpstr, "%s.dep",fobj->nfs_obj.outputfile); remove(tmpstr);
  713. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  714. factor/nfs/nfs.c:568:20: warning: '.hc' directive writing 3 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  715. sprintf(tmpstr, "%s.hc",fobj->nfs_obj.outputfile); remove(tmpstr);
  716. ^~~~~~~
  717. factor/nfs/nfs.c:568:4: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 1024
  718. sprintf(tmpstr, "%s.hc",fobj->nfs_obj.outputfile); remove(tmpstr);
  719. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  720. factor/nfs/nfs.c:569:20: warning: '.mat' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  721. sprintf(tmpstr, "%s.mat",fobj->nfs_obj.outputfile); remove(tmpstr);
  722. ^~~~~~~~
  723. factor/nfs/nfs.c:569:4: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
  724. sprintf(tmpstr, "%s.mat",fobj->nfs_obj.outputfile); remove(tmpstr);
  725. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  726. factor/nfs/nfs.c:570:20: warning: '.lp' directive writing 3 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  727. sprintf(tmpstr, "%s.lp",fobj->nfs_obj.outputfile); remove(tmpstr);
  728. ^~~~~~~
  729. factor/nfs/nfs.c:570:4: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 1024
  730. sprintf(tmpstr, "%s.lp",fobj->nfs_obj.outputfile); remove(tmpstr);
  731. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  732. factor/nfs/nfs.c:571:20: warning: '.d' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  733. sprintf(tmpstr, "%s.d",fobj->nfs_obj.outputfile); remove(tmpstr);
  734. ^~~~~~
  735. factor/nfs/nfs.c:571:4: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024
  736. sprintf(tmpstr, "%s.d",fobj->nfs_obj.outputfile); remove(tmpstr);
  737. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  738. factor/nfs/nfs.c:572:20: warning: '.mat.chk' directive writing 8 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  739. sprintf(tmpstr, "%s.mat.chk",fobj->nfs_obj.outputfile); remove(tmpstr);
  740. ^~~~~~~~~~~~
  741. factor/nfs/nfs.c:572:4: note: 'sprintf' output between 9 and 1032 bytes into a destination of size 1024
  742. sprintf(tmpstr, "%s.mat.chk",fobj->nfs_obj.outputfile); remove(tmpstr);
  743. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  744. 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
  745. arith/arith0.c: In function 'zCopy':
  746. arith/arith0.c:151:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  747. for (i = 0; i < su; i++)
  748. ^~~
  749. arith/arith0.c:153:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  750. dest->size = src->size;
  751. ^~~~
  752. arith/arith0.c: In function 'zCopy32':
  753. arith/arith0.c:170:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  754. for (i = 0; i < su; i++)
  755. ^~~
  756. arith/arith0.c:172:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  757. dest->size = src->size;
  758. ^~~~
  759. arith/arith0.c: In function 'ndigits':
  760. arith/arith0.c:569:11: warning: variable 'r' set but not used [-Wunused-but-set-variable]
  761. fp_digit r;
  762. ^
  763. 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
  764. arith/arith1.c: In function 'zSub':
  765. arith/arith1.c:424:18: warning: variable 'sw' set but not used [-Wunused-but-set-variable]
  766. int i,j,m,su,sv,sw,sign=0;
  767. ^~
  768. 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
  769. 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
  770. 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
  771. top/eratosthenes/count.c: In function 'count_line':
  772. top/eratosthenes/count.c:25:10: warning: unused variable 'flagblock64' [-Wunused-variable]
  773. uint64 *flagblock64 = (uint64 *)line;
  774. ^~~~~~~~~~~
  775. 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
  776. top/eratosthenes/offsets.c: In function 'get_offsets':
  777. top/eratosthenes/offsets.c:45:17: warning: unused variable 'lmp' [-Wunused-variable]
  778. uint32 *lmp = sdata->lower_mod_prime;
  779. ^~~
  780. 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
  781. top/eratosthenes/primes.c: In function '_reset_lsb':
  782. top/eratosthenes/primes.c:38:19: warning: type of 'x' defaults to 'int' [-Wimplicit-int]
  783. __inline uint32_t _reset_lsb(x) { \
  784. ^~~~~~~~~~
  785. 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
  786. top/eratosthenes/roots.c: In function 'compute_roots_work_fcn':
  787. top/eratosthenes/roots.c:42:23: warning: unused variable 'sdata' [-Wunused-variable]
  788. soe_staticdata_t *sdata = udata->sdata;
  789. ^~~~~
  790. top/eratosthenes/roots.c: In function 'getRoots':
  791. top/eratosthenes/roots.c:96:12: warning: unused variable 'k' [-Wunused-variable]
  792. int j, k;
  793. ^
  794. 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
  795. top/eratosthenes/linesieve.c: In function 'sieve_line':
  796. top/eratosthenes/linesieve.c:38:9: warning: variable 'maxP' set but not used [-Wunused-but-set-variable]
  797. uint32 maxP;
  798. ^~~~
  799. 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
  800. top/eratosthenes/soe.c: In function 'sieve_work_fcn':
  801. top/eratosthenes/soe.c:78:9: warning: unused variable 'i' [-Wunused-variable]
  802. int i;
  803. ^
  804. top/eratosthenes/soe.c: In function 'do_soe_sieving':
  805. top/eratosthenes/soe.c:185:9: warning: unused variable 'numclasses' [-Wunused-variable]
  806. uint64 numclasses = sdata->numclasses;
  807. ^~~~~~~~~~
  808. top/eratosthenes/soe.c:184:15: warning: unused variable 'num_p' [-Wunused-variable]
  809. uint64 i,j,k,num_p=0;
  810. ^~~~~
  811. top/eratosthenes/soe.c:184:13: warning: unused variable 'k' [-Wunused-variable]
  812. uint64 i,j,k,num_p=0;
  813. ^
  814. top/eratosthenes/soe.c:184:11: warning: unused variable 'j' [-Wunused-variable]
  815. uint64 i,j,k,num_p=0;
  816. ^
  817. 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
  818. 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
  819. top/eratosthenes/worker.c: In function 'soe_worker_thread_main':
  820. top/eratosthenes/worker.c:175:25: warning: implicit declaration of function 'mpz_extrastrongbpsw_prp' [-Wimplicit-function-declaration]
  821. if (mpz_extrastrongbpsw_prp(t->tmpz))
  822. ^~~~~~~~~~~~~~~~~~~~~~~
  823. 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
  824. top/eratosthenes/soe_util.c: In function 'check_input':
  825. top/eratosthenes/soe_util.c:140:17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  826. sdata->offset = offset;
  827. ^
  828. 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
  829. top/eratosthenes/presieve.c: In function 'pre_sieve_avx2':
  830. top/eratosthenes/presieve.c:1310:24: warning: unused variable 'vmask2' [-Wunused-variable]
  831. __m256i vmask, vmask2;
  832. ^~~~~~
  833. top/eratosthenes/presieve.c:1308:17: warning: unused variable 'vzero' [-Wunused-variable]
  834. __m256i vzero = _mm256_set1_epi32(0);
  835. ^~~~~
  836. top/eratosthenes/presieve.c:1161:41: warning: unused variable 'mask_num4' [-Wunused-variable]
  837. int mask_num, mask_num2, mask_num3, mask_num4;
  838. ^~~~~~~~~
  839. top/eratosthenes/presieve.c:1161:30: warning: unused variable 'mask_num3' [-Wunused-variable]
  840. int mask_num, mask_num2, mask_num3, mask_num4;
  841. ^~~~~~~~~
  842. top/eratosthenes/presieve.c:1160:44: warning: unused variable 'mask_step4' [-Wunused-variable]
  843. int mask_step, mask_step2, mask_step3, mask_step4;
  844. ^~~~~~~~~~
  845. top/eratosthenes/presieve.c:1160:32: warning: unused variable 'mask_step3' [-Wunused-variable]
  846. int mask_step, mask_step2, mask_step3, mask_step4;
  847. ^~~~~~~~~~
  848. top/eratosthenes/presieve.c:1159:9: warning: unused variable 'i' [-Wunused-variable]
  849. int i, j;
  850. ^
  851. top/eratosthenes/presieve.c: In function 'pre_sieve':
  852. top/eratosthenes/presieve.c:1468:41: warning: unused variable 'mask_num4' [-Wunused-variable]
  853. int mask_num, mask_num2, mask_num3, mask_num4;
  854. ^~~~~~~~~
  855. top/eratosthenes/presieve.c:1468:30: warning: unused variable 'mask_num3' [-Wunused-variable]
  856. int mask_num, mask_num2, mask_num3, mask_num4;
  857. ^~~~~~~~~
  858. top/eratosthenes/presieve.c:1467:44: warning: unused variable 'mask_step4' [-Wunused-variable]
  859. int mask_step, mask_step2, mask_step3, mask_step4;
  860. ^~~~~~~~~~
  861. top/eratosthenes/presieve.c:1467:32: warning: unused variable 'mask_step3' [-Wunused-variable]
  862. int mask_step, mask_step2, mask_step3, mask_step4;
  863. ^~~~~~~~~~
  864. top/eratosthenes/presieve.c:1466:12: warning: unused variable 'j' [-Wunused-variable]
  865. int i, j;
  866. ^
  867. top/eratosthenes/presieve.c:1466:9: warning: unused variable 'i' [-Wunused-variable]
  868. int i, j;
  869. ^
  870. 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
  871. top/eratosthenes/wrapper.c: In function 'compute_prps_work_fcn':
  872. top/eratosthenes/wrapper.c:59:17: warning: implicit declaration of function 'mpz_extrastrongbpsw_prp' [-Wimplicit-function-declaration]
  873. if (mpz_extrastrongbpsw_prp(t->tmpz))
  874. ^~~~~~~~~~~~~~~~~~~~~~~
  875. top/eratosthenes/wrapper.c:41:23: warning: unused variable 'sdata' [-Wunused-variable]
  876. soe_staticdata_t *sdata = udata->sdata;
  877. ^~~~~
  878. 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
  879. factor/qs/update_poly_roots_32k_avx2.c: In function 'nextRoots_32k_avx2':
  880. factor/qs/update_poly_roots_32k_avx2.c:226:6: warning: variable 'k' set but not used [-Wunused-but-set-variable]
  881. int k,numblocks;
  882. ^
  883. factor/qs/update_poly_roots_32k_avx2.c:209:9: warning: unused variable 'it' [-Wunused-variable]
  884. int it;
  885. ^~
  886. factor/qs/update_poly_roots_32k_avx2.c: In function 'nextRoots_32k_avx2_small':
  887. factor/qs/update_poly_roots_32k_avx2.c:1944:17: warning: unused variable 'helperstruct' [-Wunused-variable]
  888. polysieve_t helperstruct;
  889. ^~~~~~~~~~~~
  890. factor/qs/update_poly_roots_32k_avx2.c:1943:11: warning: unused variable 'logp' [-Wunused-variable]
  891. uint8 logp = 0;
  892. ^~~~
  893. factor/qs/update_poly_roots_32k_avx2.c:1940:12: warning: variable 'numblocks' set but not used [-Wunused-but-set-variable]
  894. int k, numblocks;
  895. ^~~~~~~~~
  896. factor/qs/update_poly_roots_32k_avx2.c:1940:9: warning: variable 'k' set but not used [-Wunused-but-set-variable]
  897. int k, numblocks;
  898. ^
  899. factor/qs/update_poly_roots_32k_avx2.c:1925:9: warning: unused variable 'it' [-Wunused-variable]
  900. int it;
  901. ^~
  902. 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
  903. In file included from factor/qs/med_sieve_32k_avx2.c:30:0:
  904. factor/qs/sieve_macros_32k.h:96:65: warning: backslash and newline separated by space
  905. "movl %%edi,%%eax \n\t" /* logp pointer overwritten */ \
  906.  
  907. factor/qs/med_sieve_32k_avx2.c:654:88: warning: backslash and newline separated by space
  908. "addq $8, %%r8 \n\t" /* get ready for next iteration */ \
  909.  
  910. 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
  911. factor/qs/tdiv_resieve_32k_avx2.c: In function 'resieve_medprimes_32k_avx2':
  912. factor/qs/tdiv_resieve_32k_avx2.c:404:22: warning: variable 'fullfb_ptr' set but not used [-Wunused-but-set-variable]
  913. fb_element_siqs *fullfb_ptr, *fullfb = sconf->factor_base->list;
  914. ^~~~~~~~~~
  915. factor/qs/tdiv_resieve_32k_avx2.c:400:12: warning: unused variable 'bound' [-Wunused-variable]
  916. uint32 bound, report_num;
  917. ^~~~~
  918. 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
  919. 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
  920. factor/qs/update_poly_roots_32k_sse4.1.c: In function 'nextRoots_32k_sse41':
  921. factor/qs/update_poly_roots_32k_sse4.1.c:57:6: warning: variable 'k' set but not used [-Wunused-but-set-variable]
  922. int k,numblocks;
  923. ^
  924. 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
  925. In file included from factor/qs/med_sieve_32k_sse4.1.c:23:0:
  926. factor/qs/sieve_macros_32k.h:96:65: warning: backslash and newline separated by space
  927. "movl %%edi,%%eax \n\t" /* logp pointer overwritten */ \
  928.  
  929. 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
  930. factor/nfs/nfs_sieving.c: In function 'lasieve_launcher':
  931. 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=]
  932. sprintf(syscmd,"%s%s -f %u -c %u -o %s -n %d -%c %s ",
  933. ^~
  934. factor/nfs/nfs_sieving.c:624:2: note: 'sprintf' output between 25 and 2181 bytes into a destination of size 1024
  935. sprintf(syscmd,"%s%s -f %u -c %u -o %s -n %d -%c %s ",
  936. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  937. thread_data->job.sievername, VFLAG>0?" -v":"", thread_data->job.startq,
  938. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  939. thread_data->job.qrange, thread_data->outfilename, thread_data->tindex,
  940. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  941. *side, fobj->nfs_obj.job_infile);
  942. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  943. 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
  944. factor/nfs/nfs_poly.c: In function 'snfs_choose_poly':
  945. factor/nfs/nfs_poly.c:88:7: warning: unused variable 'tmpstr' [-Wunused-variable]
  946. char tmpstr[1024];
  947. ^~~~~~
  948. factor/nfs/nfs_poly.c: In function 'do_msieve_polyselect':
  949. factor/nfs/nfs_poly.c:253:27: warning: '%s' directive writing up to 1023 bytes into a region of size 80 [-Wformat-overflow=]
  950. sprintf(master_polyfile,"%s.p",fobj->nfs_obj.outputfile);
  951. ^~
  952. factor/nfs/nfs_poly.c:253:2: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 80
  953. sprintf(master_polyfile,"%s.p",fobj->nfs_obj.outputfile);
  954. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  955. 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=]
  956. sprintf(syscmd,"%s.%d",fobj->nfs_obj.logfile,tid);
  957. ^~
  958. factor/nfs/nfs_poly.c:540:4: note: 'sprintf' output between 3 and 1036 bytes into a destination of size 1024
  959. sprintf(syscmd,"%s.%d",fobj->nfs_obj.logfile,tid);
  960. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  961. 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=]
  962. sprintf(syscmd,"%s.%d",fobj->nfs_obj.fbfile,tid);
  963. ^~
  964. factor/nfs/nfs_poly.c:544:4: note: 'sprintf' output between 3 and 1036 bytes into a destination of size 1024
  965. sprintf(syscmd,"%s.%d",fobj->nfs_obj.fbfile,tid);
  966. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  967. 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
  968. 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
  969. factor/nfs/nfs_filemanip.c: In function 'get_spq':
  970. factor/nfs/nfs_filemanip.c:511:9: warning: variable 'ans' set but not used [-Wunused-but-set-variable]
  971. uint32 ans;
  972. ^~~
  973. factor/nfs/nfs_filemanip.c: In function 'find_best_msieve_poly':
  974. factor/nfs/nfs_filemanip.c:636:16: warning: '.p' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  975. sprintf(line, "%s.p",fobj->nfs_obj.outputfile);
  976. ^~~~~~
  977. factor/nfs/nfs_filemanip.c:636:2: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024
  978. sprintf(line, "%s.p",fobj->nfs_obj.outputfile);
  979. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  980. factor/nfs/nfs_filemanip.c:737:16: warning: '.p' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  981. sprintf(line, "%s.p",fobj->nfs_obj.outputfile);
  982. ^~~~~~
  983. factor/nfs/nfs_filemanip.c:737:2: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 1024
  984. sprintf(line, "%s.p",fobj->nfs_obj.outputfile);
  985. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  986. factor/nfs/nfs_filemanip.c: In function 'check_existing_files':
  987. factor/nfs/nfs_filemanip.c:246:28: warning: '%s' directive writing up to 1023 bytes into a region of size 80 [-Wformat-overflow=]
  988. sprintf(master_polyfile,"%s.p",fobj->nfs_obj.outputfile);
  989. ^~
  990. factor/nfs/nfs_filemanip.c:246:3: note: 'sprintf' output between 3 and 1026 bytes into a destination of size 80
  991. sprintf(master_polyfile,"%s.p",fobj->nfs_obj.outputfile);
  992. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  993. factor/nfs/nfs_filemanip.c: In function 'parse_job_file':
  994. factor/nfs/nfs_filemanip.c:1106:29: warning: '.exe' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  995. sprintf(job->sievername, "%s.exe", job->sievername);
  996. ^~~~~~~~
  997. factor/nfs/nfs_filemanip.c:1106:4: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
  998. sprintf(job->sievername, "%s.exe", job->sievername);
  999. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1000. 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
  1001. 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
  1002. factor/nfs/snfs.c: In function 'find_brent_form':
  1003. factor/nfs/snfs.c:645:18: warning: unused variable 's2' [-Wunused-variable]
  1004. char s2[2048];
  1005. ^~
  1006. factor/nfs/snfs.c:644:18: warning: unused variable 's' [-Wunused-variable]
  1007. char s[2048];
  1008. ^
  1009. factor/nfs/snfs.c:671:18: warning: unused variable 's2' [-Wunused-variable]
  1010. char s2[2048];
  1011. ^~
  1012. factor/nfs/snfs.c:670:18: warning: unused variable 's' [-Wunused-variable]
  1013. char s[2048];
  1014. ^
  1015. factor/nfs/snfs.c: In function 'gen_brent_poly':
  1016. factor/nfs/snfs.c:1114:10: warning: 'polys' may be used uninitialized in this function [-Wmaybe-uninitialized]
  1017. snfs_t *polys;
  1018. ^~~~~
  1019. 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
  1020. C:/MinGW-W64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmsieve
  1021. collect2.exe: error: ld returned 1 exit status
  1022. Makefile.mingw:236: recipe for target `x86_64' failed
  1023. make: *** [x86_64] Error 1
RAW Paste Data