* Package: sci-mathematics/msieve-1.51 * Repository: gentoo * Maintainer: patrick@gentoo.org * USE: abi_x86_64 amd64 ecm elibc_glibc kernel_linux mpi userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking msieve151.tar.gz to /var/tmp/portage/sci-mathematics/msieve-1.51/work >>> Source unpacked in /var/tmp/portage/sci-mathematics/msieve-1.51/work >>> Preparing source in /var/tmp/portage/sci-mathematics/msieve-1.51/work/msieve-1.51 ... * Applying msieve-1.51-reduce-printf.patch ... [ ok ] * Applying fix-version.patch ... [ ok ] * Applying fix-version2.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-mathematics/msieve-1.51/work/msieve-1.51 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-mathematics/msieve-1.51/work/msieve-1.51 ... make -j1 CC=x86_64-pc-linux-gnu-gcc AR=x86_64-pc-linux-gnu-ar 'OPT_FLAGS=-O2 -pipe -march=native' all x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/filter/clique.o common/filter/clique.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/filter/filter.o common/filter/filter.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/filter/merge.o common/filter/merge.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/filter/merge_post.o common/filter/merge_post.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/filter/merge_pre.o common/filter/merge_pre.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/filter/merge_util.o common/filter/merge_util.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/filter/singleton.o common/filter/singleton.c common/filter/singleton.c: In function ‘filter_read_lp_file’: common/filter/singleton.c:155:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&tmp, sizeof(uint32), header_words, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/filter/singleton.c:160:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&curr_ideal, sizeof(uint32), (size_t)1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/filter/singleton.c:211:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(r, sizeof(uint32), header_words, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/filter/singleton.c:217:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&curr_ideal, sizeof(uint32), (size_t)1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/filter/singleton.c: In function ‘filter_read_lp_file_1pass’: common/filter/singleton.c:41:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(filter->relation_array, (size_t)1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t)filter->lp_file_size, fp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/filter/singleton.c: In function ‘filter_purge_lp_singletons’: common/filter/singleton.c:296:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&tmp, sizeof(uint32), header_words, in_fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/filter/singleton.c:297:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(ideal_list, sizeof(uint32), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t)tmp.ideal_count, in_fp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/filter/singleton.c:318:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&tmp, sizeof(uint32), header_words, in_fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/filter/singleton.c:319:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(ideal_list, sizeof(uint32), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t)tmp.ideal_count, in_fp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/filter/singleton.c:369:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&tmp, sizeof(uint32), header_words, in_fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/filter/singleton.c:370:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(ideal_list, sizeof(uint32), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t)tmp.ideal_count, in_fp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/lanczos/lanczos.o common/lanczos/lanczos.c common/lanczos/lanczos.c: In function ‘read_lanczos_state’: common/lanczos/lanczos.c:662:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&read_n, sizeof(uint32), (size_t)1, dump_fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/lanczos/lanczos_io.o common/lanczos/lanczos_io.c common/lanczos/lanczos_io.c: In function ‘read_cycles’: common/lanczos/lanczos_io.c:257:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&num_cycles, sizeof(uint32), (size_t)1, cycle_fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/lanczos/lanczos_io.c: In function ‘read_matrix’: common/lanczos/lanczos_io.c:461:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&max_nrows, sizeof(uint32), (size_t)1, matrix_fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/lanczos/lanczos_io.c:462:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&dense_rows, sizeof(uint32), (size_t)1, matrix_fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/lanczos/lanczos_io.c:463:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&max_ncols, sizeof(uint32), (size_t)1, matrix_fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/lanczos/lanczos_io.c: In function ‘find_submatrix_bounds’: common/lanczos/lanczos_io.c:117:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&max_grid_cols, sizeof(uint32), (size_t)1, matrix_idx_fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/lanczos/lanczos_io.c:130:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&mat_block, sizeof(mat_block_t), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t)1, matrix_idx_fp); ~~~~~~~~~~~~~~~~~~~~~~~~~ common/lanczos/lanczos_io.c:132:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&next_mat_block, sizeof(mat_block_t), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t)1, matrix_idx_fp); ~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/lanczos/lanczos_matmul0.o common/lanczos/lanczos_matmul0.c common/lanczos/lanczos_matmul0.c:235:12: warning: ‘compare_uint16’ defined but not used [-Wunused-function] static int compare_uint16(const void *x, const void *y) { ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/lanczos/lanczos_matmul1.o common/lanczos/lanczos_matmul1.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/lanczos/lanczos_matmul2.o common/lanczos/lanczos_matmul2.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/lanczos/lanczos_pre.o common/lanczos/lanczos_pre.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/lanczos/lanczos_vv.o common/lanczos/lanczos_vv.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/lanczos/matmul_util.o common/lanczos/matmul_util.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/smallfact/gmp_ecm.o common/smallfact/gmp_ecm.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -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; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/smallfact/squfof.o common/smallfact/squfof.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/smallfact/tinyqs.o common/smallfact/tinyqs.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/batch_factor.o common/batch_factor.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/cuda_xface.o common/cuda_xface.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/dickman.o common/dickman.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/driver.o common/driver.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/expr_eval.o common/expr_eval.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/hashtable.o common/hashtable.c In file included from common/hashtable.c:15:0: include/common.h: In function ‘hash_function’: include/common.h:183:11: warning: this statement may fall through [-Wimplicit-fallthrough=] hashval ^= HASH2(data[3] ^ 0x0f0f0f0f); ^ include/common.h:184:2: note: here case 3: ^~~~ include/common.h:185:11: warning: this statement may fall through [-Wimplicit-fallthrough=] hashval ^= HASH1(data[2] ^ 0x0f0f0f0f); ^ include/common.h:186:2: note: here case 2: ^~~~ include/common.h:187:11: warning: this statement may fall through [-Wimplicit-fallthrough=] hashval ^= HASH2(data[1]); ^ include/common.h:188:2: note: here case 1: ^~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/integrate.o common/integrate.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/minimize.o common/minimize.c common/minimize.c: In function ‘solve_dmatrix’: common/minimize.c:421:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < n; i++) ^ common/minimize.c:424:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < n - 1; i++) { ^ common/minimize.c:431:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = i + 1; j < n; j++) { ^ common/minimize.c:444:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = i + 1; j < n; j++) { ^ common/minimize.c:448:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (k = i + 1; k < n; k++) { ^ common/minimize.c:460:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = i + 1; j < n; j++) { ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/minimize_global.o common/minimize_global.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/mp.o common/mp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/polyroot.o common/polyroot.c common/polyroot.c:38:21: warning: ‘are’ defined but not used [-Wunused-const-variable=] static const double are = DBL_EPSILON; ^~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/prime_delta.o common/prime_delta.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/prime_sieve.o common/prime_sieve.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/savefile.o common/savefile.c common/savefile.c: In function ‘savefile_open’: common/savefile.c:122:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] s->fp = gzopen(name_gz, open_string); ^ common/savefile.c:148:10: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] s->fp = gzopen(s->name, "a"); ^ common/savefile.c:154:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] s->fp = gzopen(s->name, open_string); ^ common/savefile.c: In function ‘savefile_close’: common/savefile.c:173:49: warning: passing argument 1 of ‘gzclose’ from incompatible pointer type [-Wincompatible-pointer-types] s->is_a_FILE ? fclose((FILE *)s->fp) : gzclose(s->fp); ^ In file included from include/util.h:46:0, from include/msieve.h:24, from include/common.h:18, from common/savefile.c:15: /usr/include/zlib.h:1631:24: note: expected ‘gzFile {aka struct gzFile_s *}’ but argument is of type ‘struct gzFile_s **’ ZEXTERN int ZEXPORT gzclose _Z_OF((gzFile file)); ^~~~~~~ common/savefile.c: In function ‘savefile_eof’: common/savefile.c:184:53: warning: passing argument 1 of ‘gzeof’ from incompatible pointer type [-Wincompatible-pointer-types] return (s->is_a_FILE ? feof((FILE *)s->fp) : gzeof(s->fp)); ^ In file included from include/util.h:46:0, from include/msieve.h:24, from include/common.h:18, from common/savefile.c:15: /usr/include/zlib.h:1595:21: note: expected ‘gzFile {aka struct gzFile_s *}’ but argument is of type ‘struct gzFile_s **’ ZEXTERN int ZEXPORT gzeof _Z_OF((gzFile file)); ^~~~~ common/savefile.c: In function ‘savefile_read_line’: common/savefile.c:242:9: warning: passing argument 1 of ‘gzgets’ from incompatible pointer type [-Wincompatible-pointer-types] gzgets(s->fp, buf, (int)max_len); ^ In file included from include/util.h:46:0, from include/msieve.h:24, from include/common.h:18, from common/savefile.c:15: /usr/include/zlib.h:1492:24: note: expected ‘gzFile {aka struct gzFile_s *}’ but argument is of type ‘struct gzFile_s **’ ZEXTERN char * ZEXPORT gzgets _Z_OF((gzFile file, char *buf, int len)); ^~~~~~ common/savefile.c: In function ‘savefile_flush’: common/savefile.c:270:10: warning: passing argument 1 of ‘gzputs’ from incompatible pointer type [-Wincompatible-pointer-types] gzputs(s->fp, s->buf); ^ In file included from include/util.h:46:0, from include/msieve.h:24, from include/common.h:18, from common/savefile.c:15: /usr/include/zlib.h:1484:21: note: expected ‘gzFile {aka struct gzFile_s *}’ but argument is of type ‘struct gzFile_s **’ ZEXTERN int ZEXPORT gzputs _Z_OF((gzFile file, const char *s)); ^~~~~~ common/savefile.c: In function ‘savefile_rewind’: common/savefile.c:289:50: warning: passing argument 1 of ‘gzrewind’ from incompatible pointer type [-Wincompatible-pointer-types] s->is_a_FILE ? rewind((FILE *)s->fp) : gzrewind(s->fp); ^ In file included from include/util.h:46:0, from include/msieve.h:24, from include/common.h:18, from common/savefile.c:15: /usr/include/zlib.h:1567:24: note: expected ‘gzFile {aka struct gzFile_s *}’ but argument is of type ‘struct gzFile_s **’ ZEXTERN int ZEXPORT gzrewind _Z_OF((gzFile file)); ^~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/strtoll.o common/strtoll.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/thread.o common/thread.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o common/util.o common/util.c common/util.c: In function ‘get_cpu_type’: common/util.c:456:17: warning: variable ‘model’ set but not used [-Wunused-but-set-variable] uint8 family, model; ^~~~~ common/util.c: In function ‘set_idle_priority’: common/util.c:120:2: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result] nice(100); ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o mpqs/gf2.qo mpqs/gf2.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o mpqs/mpqs.qo mpqs/mpqs.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o mpqs/poly.qo mpqs/poly.c mpqs/poly.c: In function ‘poly_init’: mpqs/poly.c:193:25: warning: this statement may fall through [-Wimplicit-fallthrough=] conf->factor_bits[2]--; ~~~~~~~~~~~~~~~~~~~~^~ mpqs/poly.c:194:4: note: here case 9: ^~~~ mpqs/poly.c:203:37: warning: this statement may fall through [-Wimplicit-fallthrough=] conf->factor_bits[num_factors-3]--; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ mpqs/poly.c:204:4: note: here case 9: ^~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o mpqs/relation.qo mpqs/relation.c mpqs/relation.c: In function ‘qs_filter_relations’: mpqs/relation.c:807:9: warning: variable ‘poly_saved’ set but not used [-Wunused-but-set-variable] uint32 poly_saved; ^~~~~~~~~~ mpqs/relation.c:804:21: warning: variable ‘curr_poly_idx’ set but not used [-Wunused-but-set-variable] uint32 curr_a_idx, curr_poly_idx, curr_rel; ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o mpqs/sieve.qo mpqs/sieve.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -c -o mpqs/sqrt.qo mpqs/sqrt.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -DBLOCK_KB=32 -DHAS_SSE2 \ -DROUTINE_NAME=qs_core_sieve_generic_32k \ -c -o mpqs/sieve_core_generic_32k.qo mpqs/sieve_core.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -DBLOCK_KB=64 -DHAS_SSE2 \ -DROUTINE_NAME=qs_core_sieve_generic_64k \ -c -o mpqs/sieve_core_generic_64k.qo mpqs/sieve_core.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/poly.no gnfs/poly/poly.c gnfs/poly/poly.c: In function ‘read_poly’: gnfs/poly/poly.c:28:8: warning: variable ‘status’ set but not used [-Wunused-but-set-variable] int32 status = 0; ^~~~~~ gnfs/poly/poly.c:35:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf, (int)sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/poly/poly.c:60:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf, (int)sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/poly/poly.c:64:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf, (int)sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/poly_param.no gnfs/poly/poly_param.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/poly_skew.no gnfs/poly/poly_skew.c gnfs/poly/poly_skew.c: In function ‘sizeopt_callback’: gnfs/poly/poly_skew.c:85:37: warning: unused parameter ‘deg’ [-Wunused-parameter] static void sizeopt_callback(uint32 deg, mpz_t *alg_coeffs, mpz_t *rat_coeffs, ^~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/polyutil.no gnfs/poly/polyutil.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/root_score.no gnfs/poly/root_score.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/size_score.no gnfs/poly/size_score.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/stage1/stage1.no gnfs/poly/stage1/stage1.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/stage1/stage1_roots.no gnfs/poly/stage1/stage1_roots.c gnfs/poly/stage1/stage1_roots.c: In function ‘combine_roots’: gnfs/poly/stage1/stage1_roots.c:449:13: warning: this statement may fall through [-Wimplicit-fallthrough=] accum[6] = accum[7] + (uint64)prod[6] * roots[6][i6]; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/poly/stage1/stage1_roots.c:450:2: note: here case 6: ^~~~ gnfs/poly/stage1/stage1_roots.c:452:13: warning: this statement may fall through [-Wimplicit-fallthrough=] accum[5] = accum[6] + (uint64)prod[5] * roots[5][i5]; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/poly/stage1/stage1_roots.c:453:2: note: here case 5: ^~~~ gnfs/poly/stage1/stage1_roots.c:455:13: warning: this statement may fall through [-Wimplicit-fallthrough=] accum[4] = accum[5] + (uint64)prod[4] * roots[4][i4]; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/poly/stage1/stage1_roots.c:456:2: note: here case 4: ^~~~ gnfs/poly/stage1/stage1_roots.c:458:13: warning: this statement may fall through [-Wimplicit-fallthrough=] accum[3] = accum[4] + (uint64)prod[3] * roots[3][i3]; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/poly/stage1/stage1_roots.c:459:2: note: here case 3: ^~~~ gnfs/poly/stage1/stage1_roots.c:461:13: warning: this statement may fall through [-Wimplicit-fallthrough=] accum[2] = accum[3] + (uint64)prod[2] * roots[2][i2]; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/poly/stage1/stage1_roots.c:462:2: note: here case 2: ^~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/stage2/optimize.no gnfs/poly/stage2/optimize.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/stage2/optimize_deg6.no gnfs/poly/stage2/optimize_deg6.c gnfs/poly/stage2/optimize_deg6.c: In function ‘poly_eval’: gnfs/poly/stage2/optimize_deg6.c:208:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (k = 0; k < pow; k++) ^ gnfs/poly/stage2/optimize_deg6.c: In function ‘fill_powers’: gnfs/poly/stage2/optimize_deg6.c:406:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 2; j <= max_pow; j++) ^~ gnfs/poly/stage2/optimize_deg6.c: In function ‘optimize_initial_deg6’: gnfs/poly/stage2/optimize_deg6.c:722:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < (1 << (num_vars - 1)); i++) { ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/stage2/root_sieve.no gnfs/poly/stage2/root_sieve.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/stage2/root_sieve_deg45_x.no gnfs/poly/stage2/root_sieve_deg45_x.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/stage2/root_sieve_deg5_xy.no gnfs/poly/stage2/root_sieve_deg5_xy.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/stage2/root_sieve_deg6_x.no gnfs/poly/stage2/root_sieve_deg6_x.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/stage2/root_sieve_deg6_xy.no gnfs/poly/stage2/root_sieve_deg6_xy.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/stage2/root_sieve_deg6_xyz.no gnfs/poly/stage2/root_sieve_deg6_xyz.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/stage2/root_sieve_line.no gnfs/poly/stage2/root_sieve_line.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/stage2/root_sieve_util.no gnfs/poly/stage2/root_sieve_util.c gnfs/poly/stage2/root_sieve_util.c: In function ‘compute_lattices’: gnfs/poly/stage2/root_sieve_util.c:140:2: warning: this statement may fall through [-Wimplicit-fallthrough=] for (j = 0; j < dim; j++) { \ ^ gnfs/poly/stage2/root_sieve_util.c:174:4: note: in expansion of macro ‘CRT_ACCUM’ CRT_ACCUM(9) ^~~~~~~~~ gnfs/poly/stage2/root_sieve_util.c:175:2: note: here case 9: ^~~~ gnfs/poly/stage2/root_sieve_util.c:140:2: warning: this statement may fall through [-Wimplicit-fallthrough=] for (j = 0; j < dim; j++) { \ ^ gnfs/poly/stage2/root_sieve_util.c:177:4: note: in expansion of macro ‘CRT_ACCUM’ CRT_ACCUM(8) ^~~~~~~~~ gnfs/poly/stage2/root_sieve_util.c:178:2: note: here case 8: ^~~~ gnfs/poly/stage2/root_sieve_util.c:140:2: warning: this statement may fall through [-Wimplicit-fallthrough=] for (j = 0; j < dim; j++) { \ ^ gnfs/poly/stage2/root_sieve_util.c:180:4: note: in expansion of macro ‘CRT_ACCUM’ CRT_ACCUM(7) ^~~~~~~~~ gnfs/poly/stage2/root_sieve_util.c:181:2: note: here case 7: ^~~~ gnfs/poly/stage2/root_sieve_util.c:140:2: warning: this statement may fall through [-Wimplicit-fallthrough=] for (j = 0; j < dim; j++) { \ ^ gnfs/poly/stage2/root_sieve_util.c:183:4: note: in expansion of macro ‘CRT_ACCUM’ CRT_ACCUM(6) ^~~~~~~~~ gnfs/poly/stage2/root_sieve_util.c:184:2: note: here case 6: ^~~~ gnfs/poly/stage2/root_sieve_util.c:140:2: warning: this statement may fall through [-Wimplicit-fallthrough=] for (j = 0; j < dim; j++) { \ ^ gnfs/poly/stage2/root_sieve_util.c:186:4: note: in expansion of macro ‘CRT_ACCUM’ CRT_ACCUM(5) ^~~~~~~~~ gnfs/poly/stage2/root_sieve_util.c:187:2: note: here case 5: ^~~~ gnfs/poly/stage2/root_sieve_util.c:140:2: warning: this statement may fall through [-Wimplicit-fallthrough=] for (j = 0; j < dim; j++) { \ ^ gnfs/poly/stage2/root_sieve_util.c:189:4: note: in expansion of macro ‘CRT_ACCUM’ CRT_ACCUM(4) ^~~~~~~~~ gnfs/poly/stage2/root_sieve_util.c:190:2: note: here case 4: ^~~~ gnfs/poly/stage2/root_sieve_util.c:140:2: warning: this statement may fall through [-Wimplicit-fallthrough=] for (j = 0; j < dim; j++) { \ ^ gnfs/poly/stage2/root_sieve_util.c:192:4: note: in expansion of macro ‘CRT_ACCUM’ CRT_ACCUM(3) ^~~~~~~~~ gnfs/poly/stage2/root_sieve_util.c:193:2: note: here case 3: ^~~~ gnfs/poly/stage2/root_sieve_util.c:140:2: warning: this statement may fall through [-Wimplicit-fallthrough=] for (j = 0; j < dim; j++) { \ ^ gnfs/poly/stage2/root_sieve_util.c:195:4: note: in expansion of macro ‘CRT_ACCUM’ CRT_ACCUM(2) ^~~~~~~~~ gnfs/poly/stage2/root_sieve_util.c:196:2: note: here case 2: ^~~~ gnfs/poly/stage2/root_sieve_util.c:140:2: warning: this statement may fall through [-Wimplicit-fallthrough=] for (j = 0; j < dim; j++) { \ ^ gnfs/poly/stage2/root_sieve_util.c:198:4: note: in expansion of macro ‘CRT_ACCUM’ CRT_ACCUM(1) ^~~~~~~~~ gnfs/poly/stage2/root_sieve_util.c:199:2: note: here default: ^~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/stage2/stage2.no gnfs/poly/stage2/stage2.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/filter/duplicate.no gnfs/filter/duplicate.c gnfs/filter/duplicate.c: In function ‘purge_duplicates_pass2’: gnfs/filter/duplicate.c:113:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&next_bad_relation, (size_t)1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(uint32), bad_relation_fp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/filter/duplicate.c:138:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&next_bad_relation, (size_t)1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(uint32), bad_relation_fp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/filter/filter.no gnfs/filter/filter.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/filter/singleton.no gnfs/filter/singleton.c gnfs/filter/singleton.c: In function ‘nfs_write_lp_file’: gnfs/filter/singleton.c:73:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&next_relation, (size_t)1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(uint32), relation_fp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/filter/singleton.c:92:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&next_relation, sizeof(uint32), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t)1, relation_fp); ~~~~~~~~~~~~~~~~~~~~~~~ gnfs/filter/singleton.c:103:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&next_relation, sizeof(uint32), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t)1, relation_fp); ~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/sieve/sieve_line.no gnfs/sieve/sieve_line.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/sieve/sieve_util.no gnfs/sieve/sieve_util.c gnfs/sieve/sieve_util.c: In function ‘read_last_line’: gnfs/sieve/sieve_util.c:143:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf, (int)sizeof(buf), linefile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/sieve/sieve_util.c:148:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf, (int)sizeof(buf), linefile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/sqrt/sqrt.no gnfs/sqrt/sqrt.c gnfs/sqrt/sqrt.c: In function ‘nfs_find_factors’: gnfs/sqrt/sqrt.c:350:8: warning: ‘lower_limit’ may be used uninitialized in this function [-Wmaybe-uninitialized] lo = strtoul(lower_limit, NULL, 10); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/sqrt/sqrt_a.no gnfs/sqrt/sqrt_a.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/fb.no gnfs/fb.c gnfs/fb.c: In function ‘read_factor_base’: gnfs/fb.c:182:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf, (int)sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/fb.c:193:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf, (int)sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/fb.c:224:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf, (int)sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/fb.c:247:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf, (int)sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/fb.c:249:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf, (int)sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/fb.c:274:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf, (int)sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnfs/fb.c:300:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf, (int)sizeof(buf), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/ffpoly.no gnfs/ffpoly.c gnfs/ffpoly.c: In function ‘poly_expo_square’: gnfs/ffpoly.c:484:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: acc[7] = sqr_mac(OP1(7), OP1(i), acc[6], ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q, MOD(7), psq); ~~~~~~~~~~~~~~~ gnfs/ffpoly.c:486:3: note: here case 6: acc[6] = sqr_mac(OP1(6), OP1(i), acc[5], ^~~~ gnfs/ffpoly.c:486:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: acc[6] = sqr_mac(OP1(6), OP1(i), acc[5], ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q, MOD(6), psq); ~~~~~~~~~~~~~~~ gnfs/ffpoly.c:488:3: note: here case 5: acc[5] = sqr_mac(OP1(5), OP1(i), acc[4], ^~~~ gnfs/ffpoly.c:488:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: acc[5] = sqr_mac(OP1(5), OP1(i), acc[4], ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q, MOD(5), psq); ~~~~~~~~~~~~~~~ gnfs/ffpoly.c:490:3: note: here case 4: acc[4] = sqr_mac(OP1(4), OP1(i), acc[3], ^~~~ gnfs/ffpoly.c:490:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: acc[4] = sqr_mac(OP1(4), OP1(i), acc[3], ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q, MOD(4), psq); ~~~~~~~~~~~~~~~ gnfs/ffpoly.c:492:3: note: here case 3: acc[3] = sqr_mac(OP1(3), OP1(i), acc[2], ^~~~ gnfs/ffpoly.c:492:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: acc[3] = sqr_mac(OP1(3), OP1(i), acc[2], ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q, MOD(3), psq); ~~~~~~~~~~~~~~~ gnfs/ffpoly.c:494:3: note: here case 2: acc[2] = sqr_mac(OP1(2), OP1(i), acc[1], ^~~~ gnfs/ffpoly.c:494:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: acc[2] = sqr_mac(OP1(2), OP1(i), acc[1], ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q, MOD(2), psq); ~~~~~~~~~~~~~~~ gnfs/ffpoly.c:496:3: note: here case 1: acc[1] = sqr_mac(OP1(1), OP1(i), acc[0], ^~~~ gnfs/ffpoly.c:496:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 1: acc[1] = sqr_mac(OP1(1), OP1(i), acc[0], ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q, MOD(1), psq); ~~~~~~~~~~~~~~~ gnfs/ffpoly.c:498:3: note: here case 0: acc[0] = sqr_mac0(OP1(0), OP1(i), q, MOD(0), psq); ^~~~ gnfs/ffpoly.c: In function ‘poly_expo_modmul’: gnfs/ffpoly.c:456:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: OP1(7) = mul_mac(OP1(7), shift, OP1(6), q, MOD(7), p, psq); ^ gnfs/ffpoly.c:457:2: note: here case 6: OP1(6) = mul_mac(OP1(6), shift, OP1(5), q, MOD(6), p, psq); ^~~~ gnfs/ffpoly.c:457:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: OP1(6) = mul_mac(OP1(6), shift, OP1(5), q, MOD(6), p, psq); ^ gnfs/ffpoly.c:458:2: note: here case 5: OP1(5) = mul_mac(OP1(5), shift, OP1(4), q, MOD(5), p, psq); ^~~~ gnfs/ffpoly.c:458:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: OP1(5) = mul_mac(OP1(5), shift, OP1(4), q, MOD(5), p, psq); ^ gnfs/ffpoly.c:459:2: note: here case 4: OP1(4) = mul_mac(OP1(4), shift, OP1(3), q, MOD(4), p, psq); ^~~~ gnfs/ffpoly.c:459:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: OP1(4) = mul_mac(OP1(4), shift, OP1(3), q, MOD(4), p, psq); ^ gnfs/ffpoly.c:460:2: note: here case 3: OP1(3) = mul_mac(OP1(3), shift, OP1(2), q, MOD(3), p, psq); ^~~~ gnfs/ffpoly.c:460:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: OP1(3) = mul_mac(OP1(3), shift, OP1(2), q, MOD(3), p, psq); ^ gnfs/ffpoly.c:461:2: note: here case 2: OP1(2) = mul_mac(OP1(2), shift, OP1(1), q, MOD(2), p, psq); ^~~~ gnfs/ffpoly.c:461:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: OP1(2) = mul_mac(OP1(2), shift, OP1(1), q, MOD(2), p, psq); ^ gnfs/ffpoly.c:462:2: note: here case 1: OP1(1) = mul_mac(OP1(1), shift, OP1(0), q, MOD(1), p, psq); ^~~~ gnfs/ffpoly.c:462:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 1: OP1(1) = mul_mac(OP1(1), shift, OP1(0), q, MOD(1), p, psq); ^ gnfs/ffpoly.c:463:2: note: here case 0: OP1(0) = mul_mac(OP1(0), shift, zero, q, MOD(0), p, psq); ^~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/gf2.no gnfs/gf2.c gnfs/gf2.c: In function ‘nfs_solve_linear_system’: gnfs/gf2.c:636:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (obj->mpi_size != mpi_nrows * mpi_ncols) { ^~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/gnfs.no gnfs/gnfs.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/relation.no gnfs/relation.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI -Ignfs -c -o gnfs/poly/stage1/stage1_sieve_cpu.no gnfs/poly/stage1/stage1_sieve_cpu.c rm -f libmsieve.a ar r libmsieve.a common/filter/clique.o common/filter/filter.o common/filter/merge.o common/filter/merge_post.o common/filter/merge_pre.o common/filter/merge_util.o common/filter/singleton.o common/lanczos/lanczos.o common/lanczos/lanczos_io.o common/lanczos/lanczos_matmul0.o common/lanczos/lanczos_matmul1.o common/lanczos/lanczos_matmul2.o common/lanczos/lanczos_pre.o common/lanczos/lanczos_vv.o common/lanczos/matmul_util.o common/smallfact/gmp_ecm.o common/smallfact/smallfact.o common/smallfact/squfof.o common/smallfact/tinyqs.o common/batch_factor.o common/cuda_xface.o common/dickman.o common/driver.o common/expr_eval.o common/hashtable.o common/integrate.o common/minimize.o common/minimize_global.o common/mp.o common/polyroot.o common/prime_delta.o common/prime_sieve.o common/savefile.o common/strtoll.o common/thread.o common/util.o mpqs/gf2.qo mpqs/mpqs.qo mpqs/poly.qo mpqs/relation.qo mpqs/sieve.qo mpqs/sqrt.qo mpqs/sieve_core_generic_32k.qo mpqs/sieve_core_generic_64k.qo gnfs/poly/poly.no gnfs/poly/poly_param.no gnfs/poly/poly_skew.no gnfs/poly/polyutil.no gnfs/poly/root_score.no gnfs/poly/size_score.no gnfs/poly/stage1/stage1.no gnfs/poly/stage1/stage1_roots.no gnfs/poly/stage2/optimize.no gnfs/poly/stage2/optimize_deg6.no gnfs/poly/stage2/root_sieve.no gnfs/poly/stage2/root_sieve_deg45_x.no gnfs/poly/stage2/root_sieve_deg5_xy.no gnfs/poly/stage2/root_sieve_deg6_x.no gnfs/poly/stage2/root_sieve_deg6_xy.no gnfs/poly/stage2/root_sieve_deg6_xyz.no gnfs/poly/stage2/root_sieve_line.no gnfs/poly/stage2/root_sieve_util.no gnfs/poly/stage2/stage2.no gnfs/filter/duplicate.no gnfs/filter/filter.no gnfs/filter/singleton.no gnfs/sieve/sieve_line.no gnfs/sieve/sieve_util.no gnfs/sqrt/sqrt.no gnfs/sqrt/sqrt_a.no gnfs/fb.no gnfs/ffpoly.no gnfs/gf2.no gnfs/gnfs.no gnfs/relation.no gnfs/poly/stage1/stage1_sieve_cpu.no gnfs/poly/stage1/stage1_sieve_cpu.no ar: creating libmsieve.a ranlib libmsieve.a x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -march=native -Wall -W -DMSIEVE_SVN_VERSION="\"Unversioned directory\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -DHAVE_GMP_ECM -DHAVE_MPI demo.c -o msieve -Wl,-O1 -Wl,--as-needed \ libmsieve.a -lecm -lgomp -ldl -lz -lgmp -lm -lpthread demo.c: In function ‘get_random_seeds’: demo.c:54:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&tmp_seed1, sizeof(uint32), (size_t)1, rand_device); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ demo.c:55:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&tmp_seed2, sizeof(uint32), (size_t)1, rand_device); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ demo.c: In function ‘main’: demo.c:436:13: warning: this statement may fall through [-Wimplicit-fallthrough=] flags |= MSIEVE_FLAG_NFS_LA_RESTART; ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ demo.c:437:6: note: here case '2': /* fall through */ ^~~~ demo.c:566:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf, (int)sizeof(buf), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ demo.c:586:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf, (int)sizeof(buf), infile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: libmsieve.a(matmul_util.o): warning: relocation against `ompi_mpi_comm_world' in readonly section `.text' libmsieve.a(driver.o): In function `msieve_run': driver.c:(.text+0x109d): undefined reference to `ompi_mpi_comm_world' driver.c:(.text+0x10a5): undefined reference to `MPI_Comm_size' driver.c:(.text+0x10bb): undefined reference to `ompi_mpi_comm_world' driver.c:(.text+0x10c0): undefined reference to `MPI_Comm_rank' driver.c:(.text+0x135a): undefined reference to `ompi_mpi_comm_world' driver.c:(.text+0x1362): undefined reference to `MPI_Abort' driver.c:(.text+0x1392): undefined reference to `ompi_mpi_comm_world' driver.c:(.text+0x139a): undefined reference to `MPI_Abort' libmsieve.a(lanczos.o): In function `read_lanczos_state': lanczos.c:(.text+0x49a): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x4d7): undefined reference to `MPI_Scatterv' lanczos.c:(.text+0x500): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x521): undefined reference to `MPI_Scatterv' lanczos.c:(.text+0x54a): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x56b): undefined reference to `MPI_Scatterv' lanczos.c:(.text+0x595): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x5b7): undefined reference to `MPI_Scatterv' lanczos.c:(.text+0x5e2): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x604): undefined reference to `MPI_Scatterv' lanczos.c:(.text+0x64b): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x678): undefined reference to `MPI_Scatterv' lanczos.c:(.text+0x692): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x6c4): undefined reference to `MPI_Scatterv' lanczos.c:(.text+0x6ea): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x70e): undefined reference to `MPI_Scatterv' lanczos.c:(.text+0x749): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x758): undefined reference to `MPI_Scatterv' lanczos.c:(.text+0x782): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x7a6): undefined reference to `MPI_Scatterv' lanczos.c:(.text+0x8e2): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x8e9): undefined reference to `MPI_Abort' lanczos.c:(.text+0x91a): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x922): undefined reference to `MPI_Abort' lanczos.c:(.text+0x95b): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x963): undefined reference to `MPI_Abort' lanczos.c:(.text+0x99b): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x9a3): undefined reference to `MPI_Abort' lanczos.c:(.text+0x9db): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x9e3): undefined reference to `MPI_Abort' lanczos.c:(.text+0xa1b): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0xa23): undefined reference to `MPI_Abort' lanczos.c:(.text+0xa52): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0xa5a): undefined reference to `MPI_Abort' lanczos.c:(.text+0xa93): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0xa9b): undefined reference to `MPI_Abort' lanczos.c:(.text+0xad3): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0xadb): undefined reference to `MPI_Abort' lanczos.c:(.text+0xb13): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0xb1b): undefined reference to `MPI_Abort' libmsieve.a(lanczos.o): In function `block_lanczos': lanczos.c:(.text+0xc5c): undefined reference to `ompi_mpi_int' lanczos.c:(.text+0xc61): undefined reference to `MPI_Bcast' lanczos.c:(.text+0xc8d): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0xc94): undefined reference to `MPI_Abort' lanczos.c:(.text+0xd03): undefined reference to `ompi_mpi_int' lanczos.c:(.text+0xd2c): undefined reference to `MPI_Allgather' lanczos.c:(.text+0xd5d): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0xd65): undefined reference to `MPI_Abort' lanczos.c:(.text+0xd6c): undefined reference to `ompi_mpi_int' lanczos.c:(.text+0xd95): undefined reference to `MPI_Allgather' lanczos.c:(.text+0xdc5): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0xdcd): undefined reference to `MPI_Abort' lanczos.c:(.text+0xdf9): undefined reference to `ompi_mpi_int' lanczos.c:(.text+0xe22): undefined reference to `MPI_Allgather' lanczos.c:(.text+0xe51): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0xe59): undefined reference to `MPI_Abort' lanczos.c:(.text+0xe60): undefined reference to `ompi_mpi_int' lanczos.c:(.text+0xe89): undefined reference to `MPI_Allgather' lanczos.c:(.text+0xeb7): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0xebe): undefined reference to `MPI_Abort' lanczos.c:(.text+0xf02): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0xf24): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0xf54): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0xf5b): undefined reference to `MPI_Abort' lanczos.c:(.text+0x1886): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x1896): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x18c6): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x18cd): undefined reference to `MPI_Abort' lanczos.c:(.text+0x18f8): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x1918): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x1948): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x194f): undefined reference to `MPI_Abort' lanczos.c:(.text+0x197a): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x199b): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x19cb): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x19d2): undefined reference to `MPI_Abort' lanczos.c:(.text+0x19fd): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x1a1e): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x1a4e): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x1a55): undefined reference to `MPI_Abort' lanczos.c:(.text+0x1a95): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x1aae): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x1acb): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x1b04): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x1b68): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x1b6d): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x1b9e): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x1bc7): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x2285): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x22ec): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x231d): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x2325): undefined reference to `MPI_Abort' lanczos.c:(.text+0x233d): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x2377): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x23a8): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x23b0): undefined reference to `MPI_Abort' lanczos.c:(.text+0x23c8): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x2402): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x2433): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x243b): undefined reference to `MPI_Abort' lanczos.c:(.text+0x2453): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x248d): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x24be): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x24c6): undefined reference to `MPI_Abort' lanczos.c:(.text+0x24db): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x2515): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x2546): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x254e): undefined reference to `MPI_Abort' lanczos.c:(.text+0x2581): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x25ad): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x25c4): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x2605): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x2629): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x265d): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x269c): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x26b5): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x26d9): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x270a): undefined reference to `MPI_Gatherv' lanczos.c:(.text+0x2af9): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x2afe): undefined reference to `MPI_Abort' lanczos.c:(.text+0x2d50): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x2d77): undefined reference to `MPI_Scatterv' lanczos.c:(.text+0x2d91): undefined reference to `ompi_mpi_long_long_int' lanczos.c:(.text+0x2dd5): undefined reference to `MPI_Scatterv' lanczos.c:(.text+0x31c2): undefined reference to `ompi_mpi_int' lanczos.c:(.text+0x31ce): undefined reference to `MPI_Bcast' lanczos.c:(.text+0x36a8): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x36af): undefined reference to `MPI_Abort' lanczos.c:(.text+0x36da): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x36e1): undefined reference to `MPI_Abort' lanczos.c:(.text+0x373d): undefined reference to `ompi_mpi_int' lanczos.c:(.text+0x3769): undefined reference to `MPI_Gather' lanczos.c:(.text+0x3797): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x379e): undefined reference to `MPI_Abort' lanczos.c:(.text+0x37a5): undefined reference to `ompi_mpi_int' lanczos.c:(.text+0x37d1): undefined reference to `MPI_Gather' lanczos.c:(.text+0x3805): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x380c): undefined reference to `MPI_Abort' lanczos.c:(.text+0x3820): undefined reference to `ompi_mpi_int' lanczos.c:(.text+0x384c): undefined reference to `MPI_Gather' lanczos.c:(.text+0x387c): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x3883): undefined reference to `MPI_Abort' lanczos.c:(.text+0x388a): undefined reference to `ompi_mpi_int' lanczos.c:(.text+0x38b6): undefined reference to `MPI_Gather' lanczos.c:(.text+0x38e8): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x38ef): undefined reference to `MPI_Abort' lanczos.c:(.text+0x3be2): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x3be9): undefined reference to `MPI_Abort' lanczos.c:(.text+0x3c24): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x3c2b): undefined reference to `MPI_Abort' lanczos.c:(.text+0x3c56): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x3c5d): undefined reference to `MPI_Abort' lanczos.c:(.text+0x3c88): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x3c90): undefined reference to `MPI_Abort' lanczos.c:(.text+0x3cc9): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x3cd1): undefined reference to `MPI_Abort' lanczos.c:(.text+0x3d05): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x3d0d): undefined reference to `MPI_Abort' lanczos.c:(.text+0x3d41): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x3d49): undefined reference to `MPI_Abort' lanczos.c:(.text+0x3d7d): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x3d85): undefined reference to `MPI_Abort' lanczos.c:(.text+0x3e37): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x3e3e): undefined reference to `MPI_Abort' lanczos.c:(.text+0x3f00): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x3f0a): undefined reference to `MPI_Abort' lanczos.c:(.text+0x3fa8): undefined reference to `ompi_mpi_comm_world' lanczos.c:(.text+0x3fb0): undefined reference to `MPI_Abort' libmsieve.a(lanczos_io.o): In function `read_matrix': lanczos_io.c:(.text+0xe7e): undefined reference to `ompi_mpi_int' lanczos_io.c:(.text+0xe87): undefined reference to `MPI_Bcast' lanczos_io.c:(.text+0xec1): undefined reference to `ompi_mpi_int' lanczos_io.c:(.text+0xecd): undefined reference to `MPI_Bcast' lanczos_io.c:(.text+0xefd): undefined reference to `ompi_mpi_comm_world' lanczos_io.c:(.text+0xf04): undefined reference to `MPI_Abort' lanczos_io.c:(.text+0xff9): undefined reference to `ompi_mpi_comm_world' lanczos_io.c:(.text+0x1001): undefined reference to `MPI_Abort' /var/tmp/portage/sci-mathematics/msieve-1.51/temp/cc9C72br.o: In function `main': demo.c:(.text.startup+0xac): undefined reference to `MPI_Init_thread' demo.c:(.text.startup+0x26f): undefined reference to `MPI_Finalize' demo.c:(.text.startup+0x501): undefined reference to `ompi_mpi_comm_world' demo.c:(.text.startup+0x508): undefined reference to `MPI_Abort' libmsieve.a(gf2.no): In function `nfs_solve_linear_system': gf2.c:(.text+0x121b): undefined reference to `ompi_mpi_comm_world' gf2.c:(.text+0x1220): undefined reference to `MPI_Abort' gf2.c:(.text+0x1249): undefined reference to `ompi_mpi_comm_world' gf2.c:(.text+0x1251): undefined reference to `MPI_Cart_create' gf2.c:(.text+0x126a): undefined reference to `MPI_Comm_rank' gf2.c:(.text+0x128a): undefined reference to `MPI_Cart_coords' gf2.c:(.text+0x12cf): undefined reference to `MPI_Cart_sub' gf2.c:(.text+0x1302): undefined reference to `MPI_Cart_sub' gf2.c:(.text+0x1420): undefined reference to `MPI_Comm_free' gf2.c:(.text+0x1432): undefined reference to `MPI_Comm_free' gf2.c:(.text+0x1445): undefined reference to `MPI_Comm_free' gf2.c:(.text+0x1610): undefined reference to `ompi_mpi_comm_world' gf2.c:(.text+0x1615): undefined reference to `MPI_Abort' gf2.c:(.text+0x1642): undefined reference to `ompi_mpi_comm_world' gf2.c:(.text+0x1649): undefined reference to `MPI_Abort' gf2.c:(.text+0x167a): undefined reference to `ompi_mpi_comm_world' gf2.c:(.text+0x1682): undefined reference to `MPI_Abort' gf2.c:(.text+0x16b2): undefined reference to `ompi_mpi_comm_world' gf2.c:(.text+0x16ba): undefined reference to `MPI_Abort' gf2.c:(.text+0x16f1): undefined reference to `ompi_mpi_comm_world' gf2.c:(.text+0x16f9): undefined reference to `MPI_Abort' gf2.c:(.text+0x1731): undefined reference to `ompi_mpi_comm_world' gf2.c:(.text+0x1739): undefined reference to `MPI_Abort' gf2.c:(.text+0x176a): undefined reference to `ompi_mpi_comm_world' gf2.c:(.text+0x1771): undefined reference to `MPI_Abort' gf2.c:(.text+0x17c2): undefined reference to `ompi_mpi_comm_world' gf2.c:(.text+0x17c9): undefined reference to `MPI_Abort' gf2.c:(.text+0x17fa): undefined reference to `ompi_mpi_comm_world' gf2.c:(.text+0x1801): undefined reference to `MPI_Abort' gf2.c:(.text+0x1841): undefined reference to `MPI_Barrier' gf2.c:(.text+0x1878): undefined reference to `ompi_mpi_comm_world' gf2.c:(.text+0x1880): undefined reference to `MPI_Abort' libmsieve.a(matmul_util.o): In function `global_xor': matmul_util.c:(.text+0x1ae): undefined reference to `ompi_mpi_long_long_int' matmul_util.c:(.text+0x1be): undefined reference to `MPI_Recv' matmul_util.c:(.text+0x1e9): undefined reference to `MPI_Wait' matmul_util.c:(.text+0x230): undefined reference to `ompi_mpi_long_long_int' matmul_util.c:(.text+0x23d): undefined reference to `MPI_Isend' matmul_util.c:(.text+0x271): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0x278): undefined reference to `MPI_Abort' matmul_util.c:(.text+0x2aa): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0x2b2): undefined reference to `MPI_Abort' matmul_util.c:(.text+0x2eb): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0x2f3): undefined reference to `MPI_Abort' matmul_util.c:(.text+0x308): undefined reference to `ompi_mpi_op_bxor' matmul_util.c:(.text+0x314): undefined reference to `ompi_mpi_long_long_int' matmul_util.c:(.text+0x31e): undefined reference to `MPI_Allreduce' matmul_util.c:(.text+0x366): undefined reference to `ompi_mpi_long_long_int' matmul_util.c:(.text+0x3cb): undefined reference to `MPI_Recv' matmul_util.c:(.text+0x3e4): undefined reference to `MPI_Wait' matmul_util.c:(.text+0x419): undefined reference to `MPI_Isend' matmul_util.c:(.text+0x44b): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0x452): undefined reference to `MPI_Abort' matmul_util.c:(.text+0x48b): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0x493): undefined reference to `MPI_Abort' matmul_util.c:(.text+0x4cc): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0x4d4): undefined reference to `MPI_Abort' matmul_util.c:(.text+0x502): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0x509): undefined reference to `MPI_Abort' libmsieve.a(matmul_util.o): In function `global_xor_scatter': matmul_util.c:(.text+0x637): undefined reference to `ompi_mpi_long_long_int' matmul_util.c:(.text+0x64a): undefined reference to `MPI_Recv' matmul_util.c:(.text+0x680): undefined reference to `MPI_Wait' matmul_util.c:(.text+0x6b9): undefined reference to `ompi_mpi_long_long_int' matmul_util.c:(.text+0x6c6): undefined reference to `MPI_Isend' matmul_util.c:(.text+0x6fa): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0x701): undefined reference to `MPI_Abort' matmul_util.c:(.text+0x73f): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0x747): undefined reference to `MPI_Abort' matmul_util.c:(.text+0x771): undefined reference to `ompi_mpi_long_long_int' matmul_util.c:(.text+0x77a): undefined reference to `MPI_Isend' matmul_util.c:(.text+0x7a9): undefined reference to `ompi_mpi_long_long_int' matmul_util.c:(.text+0x7bc): undefined reference to `MPI_Recv' matmul_util.c:(.text+0x7ed): undefined reference to `MPI_Wait' matmul_util.c:(.text+0x842): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0x84a): undefined reference to `MPI_Abort' matmul_util.c:(.text+0x87a): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0x881): undefined reference to `MPI_Abort' matmul_util.c:(.text+0x8c2): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0x8ca): undefined reference to `MPI_Abort' matmul_util.c:(.text+0x8fa): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0x904): undefined reference to `MPI_Abort' libmsieve.a(matmul_util.o): In function `global_allgather': matmul_util.c:(.text+0xa52): undefined reference to `ompi_mpi_long_long_int' matmul_util.c:(.text+0xa5f): undefined reference to `MPI_Recv' matmul_util.c:(.text+0xa78): undefined reference to `MPI_Wait' matmul_util.c:(.text+0xaac): undefined reference to `ompi_mpi_long_long_int' matmul_util.c:(.text+0xab1): undefined reference to `MPI_Isend' matmul_util.c:(.text+0xae3): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0xaea): undefined reference to `MPI_Abort' matmul_util.c:(.text+0xb27): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0xb2f): undefined reference to `MPI_Abort' matmul_util.c:(.text+0xb8c): undefined reference to `ompi_mpi_comm_world' matmul_util.c:(.text+0xb94): undefined reference to `MPI_Abort' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in a shared object. collect2: error: ld returned 1 exit status make: *** [Makefile:270: all] Error 1 * ERROR: sci-mathematics/msieve-1.51::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-mathematics/msieve-1.51::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-mathematics/msieve-1.51::gentoo'`. * The complete build log is located at '/var/log/portage/sci-mathematics:msieve-1.51:20180207-064644.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-mathematics/msieve-1.51/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/msieve-1.51/temp/environment'. * Working directory: '/var/tmp/portage/sci-mathematics/msieve-1.51/work/msieve-1.51' * S: '/var/tmp/portage/sci-mathematics/msieve-1.51/work/msieve-1.51'