* Package: sci-mathematics/ggnfs-0.77.1-r2 * Repository: gentoo * Maintainer: patrick@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/0409a1d03f8e27c1a4a76a35c191610c13d064eb @@@@@ END @@@@@ >>> Unpacking source... >>> Unpacking ggnfs-0.77.1.zip to /var/tmp/portage/sci-mathematics/ggnfs-0.77.1-r2/work >>> Unpacking def-par.txt to /var/tmp/portage/sci-mathematics/ggnfs-0.77.1-r2/work unpack def-par.txt: file format not recognized. Ignoring. >>> Unpacking def-nm-params.txt to /var/tmp/portage/sci-mathematics/ggnfs-0.77.1-r2/work unpack def-nm-params.txt: file format not recognized. Ignoring. >>> Unpacking ggnfs-doc.pdf to /var/tmp/portage/sci-mathematics/ggnfs-0.77.1-r2/work unpack ggnfs-doc.pdf: file format not recognized. Ignoring. >>> Source unpacked in /var/tmp/portage/sci-mathematics/ggnfs-0.77.1-r2/work >>> Preparing source in /var/tmp/portage/sci-mathematics/ggnfs-0.77.1-r2/work/ggnfs-master ... * Applying ggnfs-0.77.1-gentoo.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-mathematics/ggnfs-0.77.1-r2/work/ggnfs-master ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-mathematics/ggnfs-0.77.1-r2/work/ggnfs-master ... make -j4 -j1 x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o getprimes.o -c getprimes.c getprimes.c: In function ‘pSieve’: getprimes.c:160:24: warning: unused parameter ‘Psize’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parameter-Wunused-parameter]8;;] 160 | u32 pSieve(u32 *p, u32 Psize, u32 a, u32 b) x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o fbmisc.o -c fbmisc.c fbmisc.c: In function ‘readPoly’: fbmisc.c:83:24: warning: variable ‘read’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 83 | int cont=1 ,set_y=0, read[]={0,0,0,0,0,0,0}; | ^~~~ fbmisc.c: In function ‘setLogs’: fbmisc.c:200:47: warning: unused parameter ‘b0’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parameter-Wunused-parameter]8;;] 200 | int setLogs(nfs_fb_t *FB, s32 a0, s32 a1, s32 b0, s32 b1) fbmisc.c: In function ‘generateAFB’: fbmisc.c:393:28: warning: pointer targets in passing argument 1 of ‘root_finder’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 393 | numZeros = root_finder(zeros, (mpz_t*)FB->f->coef, d, thisP); | ^~~~~ | | | int32_t * {aka int *} In file included from fbmisc.c:29: ../include/ggnfs.h:789:23: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int32_t *’ {aka ‘int *’} 789 | u32 root_finder(u32 * root_buf, mpz_t * A, u32 adeg, u32 p); | ^ fbmisc.c: In function ‘isSmooth_rat_withInfo_par’: fbmisc.c:722:37: warning: comparison of unsigned expression in ‘< 0’ is always false []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wtype-limits-Wtype-limits]8;;] 722 | if ((P > FB->maxP_r) || (P<0)) { /* Latter is for signed overflow checking. */ | ^ fbmisc.c: In function ‘isSmooth_alg_withInfo_par’: fbmisc.c:814:37: warning: comparison of unsigned expression in ‘< 0’ is always false []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wtype-limits-Wtype-limits]8;;] 814 | if ((P > FB->maxP_a) || (P<0)) R[j].b=0; | ^ fbmisc.c:828:39: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 828 | if ((FB->afb[2*locIndex]==P) && (FB->afb[2*locIndex+1]==r)) { | ^~ In file included from /usr/include/string.h:495, from fbmisc.c:28: In function ‘strncpy’, inlined from ‘readPoly’ at fbmisc.c:121:9: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 256 bytes from a string of length 511 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Wstringop-truncation]8;;] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o squfof.o -c squfof.c x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o rels.o -c rels.c rels.c: In function ‘writeRelList’: rels.c:358:14: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 358 | for (i=0; inumRels; i++) { | ^ rels.c:348:8: warning: variable ‘index’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 348 | { s32 index, i; | ^~~~~ rels.c: In function ‘readRelList’: rels.c:396:16: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 396 | while ((size < L->maxDataSize) && (relsRead < L->numRels)) { | ^ rels.c:396:47: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 396 | while ((size < L->maxDataSize) && (relsRead < L->numRels)) { | ^ rels.c:420:17: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 420 | if ((relsRead < L->numRels)&&(size < L->maxDataSize)) { | ^ rels.c:420:38: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 420 | if ((relsRead < L->numRels)&&(size < L->maxDataSize)) { | ^ rels.c:425:12: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 425 | if (size >= L->maxDataSize) { | ^~ rels.c: In function ‘factRel’: rels.c:509:24: warning: pointer targets in passing argument 1 of ‘factor’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 509 | numpFacts = factor(pFacts, temp1, 0); | ^~~~~~ | | | int32_t * {aka int *} In file included from rels.c:33: ../include/ggnfs.h:661:19: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int32_t *’ {aka ‘int *’} 661 | int factor(u32 *factors, mpz_t n, int useTrialDivision); | ^ rels.c:615:24: warning: pointer targets in passing argument 1 of ‘factor’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 615 | numpFacts = factor(pFacts, norm, 0); | ^~~~~~ | | | int32_t * {aka int *} In file included from rels.c:33: ../include/ggnfs.h:661:19: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int32_t *’ {aka ‘int *’} 661 | int factor(u32 *factors, mpz_t n, int useTrialDivision); | ^ rels.c: In function ‘completeRelFact’: rels.c:764:24: warning: pointer targets in passing argument 1 of ‘factor’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 764 | numpFacts = factor(pFacts, temp1, 0); | ^~~~~~ | | | int32_t * {aka int *} In file included from rels.c:33: ../include/ggnfs.h:661:19: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int32_t *’ {aka ‘int *’} 661 | int factor(u32 *factors, mpz_t n, int useTrialDivision); | ^ rels.c:841:24: warning: pointer targets in passing argument 1 of ‘factor’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 841 | numpFacts = factor(pFacts, norm, 0); | ^~~~~~ | | | int32_t * {aka int *} In file included from rels.c:33: ../include/ggnfs.h:661:19: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int32_t *’ {aka ‘int *’} 661 | int factor(u32 *factors, mpz_t n, int useTrialDivision); | ^ rels.c: In function ‘factRels_clsieved’: rels.c:938:18: warning: variable ‘e’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 938 | { int sorted=1, e, res; | ^ In file included from rels.c:33: rels.c: In function ‘readRel’: ../include/ggnfs.h:742:26: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 742 | #define readRaw32(w,fp) fread((w),sizeof(s32),1,(fp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rels.c:320:3: note: in expansion of macro ‘readRaw32’ 320 | readRaw32(&sF, fp); | ^~~~~~~~~ rels.c:330:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 330 | fread(&data[1], sizeof(s32), dataSize, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rels.c:33: rels.c: In function ‘readRelList’: ../include/ggnfs.h:742:26: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 742 | #define readRaw32(w,fp) fread((w),sizeof(s32),1,(fp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rels.c:384:3: note: in expansion of macro ‘readRaw32’ 384 | readRaw32(&L->numRels, fp); | ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o blanczos64-no-mmx.o -c blanczos64-no-mmx.c blanczos64-no-mmx.c: In function ‘MultB64’: blanczos64-no-mmx.c:229:14: warning: pointer targets in initialization of ‘uint32_t *’ {aka ‘unsigned int *’} from ‘int32_t *’ {aka ‘int *’} differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 229 | u32 *p = M->cEntry; | ^ blanczos64-no-mmx.c:252:9: warning: pointer targets in assignment from ‘int32_t *’ {aka ‘int *’} to ‘uint32_t *’ {aka ‘unsigned int *’} differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 252 | s = M->cEntry + M->cIndex[i + 1]; | ^ blanczos64-no-mmx.c: In function ‘MultB_T64’: blanczos64-no-mmx.c:309:14: warning: pointer targets in initialization of ‘uint32_t *’ {aka ‘unsigned int *’} from ‘int32_t *’ {aka ‘int *’} differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 309 | u32 *p = M->cEntry; | ^ blanczos64-no-mmx.c:332:9: warning: pointer targets in assignment from ‘int32_t *’ {aka ‘int *’} to ‘uint32_t *’ {aka ‘unsigned int *’} differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 332 | s = M->cEntry + M->cIndex[i + 1]; | ^ blanczos64-no-mmx.c: In function ‘blockLanczos64’: blanczos64-no-mmx.c:409:14: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 409 | for (j=0; j= n) | ^~ blanczos64-no-mmx.c:2269:14: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 2269 | for (i=0; i<2*n; i++) | ^ blanczos64-no-mmx.c:2273:20: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 2273 | for (col=0; col= n) | ^~ blanczos64-no-mmx.c:2373:14: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 2373 | for (i=0; iN->FB->rfb_size; i++) | ^ montgomery_sqrt.c:706:16: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 706 | for (i=0; iFB->rfb_size; i++) { | ^ montgomery_sqrt.c: In function ‘initMsqrt’: montgomery_sqrt.c:998:26: warning: pointer targets in passing argument 1 of ‘factor’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 998 | numpFacts = factor(pFacts, tmp, 1); | ^~~~~~ | | | int32_t * {aka int *} In file included from montgomery_sqrt.c:29: ../include/ggnfs.h:661:19: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int32_t *’ {aka ‘int *’} 661 | int factor(u32 *factors, mpz_t n, int useTrialDivision); | ^ montgomery_sqrt.c: In function ‘logNorm’: montgomery_sqrt.c:1644:41: warning: unused parameter ‘M’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parameter-Wunused-parameter]8;;] 1644 | double logNorm(mpz_mat_t *HNF, msqrt_t *M) | ~~~~~~~~~^ montgomery_sqrt.c: In function ‘evalOmegaPoly’: montgomery_sqrt.c:2115:50: warning: unused parameter ‘x’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parameter-Wunused-parameter]8;;] 2115 | void evalOmegaPoly(mpz_t eval, mpz_poly h, mpz_t x, mpz_t modulus, msqrt_t *M) | ~~~~~~^ montgomery_sqrt.c:2115:59: warning: unused parameter ‘modulus’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parameter-Wunused-parameter]8;;] 2115 | void evalOmegaPoly(mpz_t eval, mpz_poly h, mpz_t x, mpz_t modulus, msqrt_t *M) | ~~~~~~^~~~~~~ montgomery_sqrt.c: In function ‘montgomerySqrt’: montgomery_sqrt.c:2169:52: warning: variable ‘lastNormDen’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 2169 | double lastNormA, lastNormN, lastNormNum, lastNormDen; | ^~~~~~~~~~~ montgomery_sqrt.c:2169:39: warning: variable ‘lastNormNum’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 2169 | double lastNormA, lastNormN, lastNormNum, lastNormDen; | ^~~~~~~~~~~ montgomery_sqrt.c:2169:28: warning: variable ‘lastNormN’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 2169 | double lastNormA, lastNormN, lastNormNum, lastNormDen; | ^~~~~~~~~ montgomery_sqrt.c:2169:17: warning: variable ‘lastNormA’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 2169 | double lastNormA, lastNormN, lastNormNum, lastNormDen; | ^~~~~~~~~ montgomery_sqrt.c:2168:23: warning: variable ‘lastDiff’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 2168 | double diff, lastDiff; | ^~~~~~~~ In file included from montgomery_sqrt.c:29: montgomery_sqrt.c: In function ‘setupPrimes’: ../include/ggnfs.h:742:26: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 742 | #define readRaw32(w,fp) fread((w),sizeof(s32),1,(fp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c:473:9: note: in expansion of macro ‘readRaw32’ 473 | readRaw32(&h1, fp); | ^~~~~~~~~ ../include/ggnfs.h:742:26: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 742 | #define readRaw32(w,fp) fread((w),sizeof(s32),1,(fp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c:474:9: note: in expansion of macro ‘readRaw32’ 474 | readRaw32(&p1, fp); | ^~~~~~~~~ ../include/ggnfs.h:742:26: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 742 | #define readRaw32(w,fp) fread((w),sizeof(s32),1,(fp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c:475:9: note: in expansion of macro ‘readRaw32’ 475 | readRaw32(&r1, fp); | ^~~~~~~~~ ../include/ggnfs.h:742:26: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 742 | #define readRaw32(w,fp) fread((w),sizeof(s32),1,(fp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c:476:9: note: in expansion of macro ‘readRaw32’ 476 | readRaw32(&i1, fp); | ^~~~~~~~~ ../include/ggnfs.h:742:26: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 742 | #define readRaw32(w,fp) fread((w),sizeof(s32),1,(fp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c:477:9: note: in expansion of macro ‘readRaw32’ 477 | readRaw32(&ct1, fp); | ^~~~~~~~~ ../include/ggnfs.h:742:26: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 742 | #define readRaw32(w,fp) fread((w),sizeof(s32),1,(fp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c:479:9: note: in expansion of macro ‘readRaw32’ 479 | readRaw32(&p1, fp); | ^~~~~~~~~ ../include/ggnfs.h:742:26: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 742 | #define readRaw32(w,fp) fread((w),sizeof(s32),1,(fp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c:480:9: note: in expansion of macro ‘readRaw32’ 480 | readRaw32(&r1, fp); | ^~~~~~~~~ ../include/ggnfs.h:742:26: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 742 | #define readRaw32(w,fp) fread((w),sizeof(s32),1,(fp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c:481:9: note: in expansion of macro ‘readRaw32’ 481 | readRaw32(&i1, fp); | ^~~~~~~~~ ../include/ggnfs.h:742:26: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 742 | #define readRaw32(w,fp) fread((w),sizeof(s32),1,(fp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c:482:9: note: in expansion of macro ‘readRaw32’ 482 | readRaw32(&ct1, fp); | ^~~~~~~~~ montgomery_sqrt.c: In function ‘initMsqrt’: ../include/ggnfs.h:742:26: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 742 | #define readRaw32(w,fp) fread((w),sizeof(s32),1,(fp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c:944:3: note: in expansion of macro ‘readRaw32’ 944 | readRaw32(&R1, fp); | ^~~~~~~~~ ../include/ggnfs.h:742:26: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 742 | #define readRaw32(w,fp) fread((w),sizeof(s32),1,(fp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c:962:9: note: in expansion of macro ‘readRaw32’ 962 | readRaw32(&R1, fp); R1 += R0; | ^~~~~~~~~ montgomery_sqrt.c: In function ‘setupPrimes’: montgomery_sqrt.c:442:23: warning: ‘%s’ directive writing up to 999 bytes into a region of size 64 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 442 | sprintf(fName, "%s.L", lpF->prefix); | ^~ In file included from /usr/include/stdio.h:867, from montgomery_sqrt.c:23: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 1002 bytes into a destination of size 64 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c:440:23: warning: ‘%s’ directive writing up to 999 bytes into a region of size 64 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 440 | sprintf(fName, "%s.%" PRId32, lpF->prefix, i); | ^~ montgomery_sqrt.c:440:22: note: directive argument in the range [0, 2147483647] 440 | sprintf(fName, "%s.%" PRId32, lpF->prefix, i); | ^~~~~~ In file included from /usr/include/stdio.h:867, from montgomery_sqrt.c:23: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 1011 bytes into a destination of size 64 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c:465:23: warning: ‘%s’ directive writing up to 999 bytes into a region of size 64 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 465 | sprintf(fName, "%s.L", lpF->prefix); | ^~ In file included from /usr/include/stdio.h:867, from montgomery_sqrt.c:23: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 1002 bytes into a destination of size 64 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c:463:23: warning: ‘%s’ directive writing up to 999 bytes into a region of size 64 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 463 | sprintf(fName, "%s.%" PRId32, lpF->prefix, i); | ^~ montgomery_sqrt.c:463:22: note: directive argument in the range [0, 2147483647] 463 | sprintf(fName, "%s.%" PRId32, lpF->prefix, i); | ^~~~~~ In file included from /usr/include/stdio.h:867, from montgomery_sqrt.c:23: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 1011 bytes into a destination of size 64 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c: In function ‘initMsqrt’: montgomery_sqrt.c:937:19: warning: ‘%s’ directive writing up to 999 bytes into a region of size 64 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 937 | sprintf(fName, "%s.0", prelF->prefix); | ^~ In file included from /usr/include/stdio.h:867, from montgomery_sqrt.c:23: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 1002 bytes into a destination of size 64 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ montgomery_sqrt.c:955:25: warning: ‘%s’ directive writing up to 999 bytes into a region of size 64 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 955 | sprintf(fName, "%s.%d", prelF->prefix, fileNum); | ^~ montgomery_sqrt.c:955:24: note: directive argument in the range [1, 2147483647] 955 | sprintf(fName, "%s.%d", prelF->prefix, fileNum); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from montgomery_sqrt.c:23: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 1011 bytes into a destination of size 64 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o matstuff.o -c matstuff.c matstuff.c: In function ‘readSparseMat’: matstuff.c:98:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 98 | fread(&M->numRows, sizeof(s32), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matstuff.c:99:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 99 | fread(&M->numCols, sizeof(s32), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matstuff.c:100:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 100 | fread(&M->maxDataSize, sizeof(s32), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matstuff.c:101:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 101 | fread(&M->numDenseBlocks, sizeof(s32), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matstuff.c:102:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 102 | fread(M->denseBlockIndex, sizeof(s32), M->numDenseBlocks, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matstuff.c:104:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 104 | fread(M->cIndex, sizeof(s32), M->numCols+1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matstuff.c:107:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 107 | fread(M->cEntry, sizeof(s32), M->cIndex[M->numCols], fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matstuff.c:110:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 110 | fread(M->denseBlocks[i], sizeof(u64), M->numCols, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o dickman.o -c dickman.c x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o fbgen.o -c fbgen.c fbgen.c:128:29: warning: ‘modmul32’ is static but used in inline function ‘poldivnormmod32’ which is not static 128 | P[i] = modsub32(P[i], modmul32(D[i - j], a)); | ^~~~~~~~ fbgen.c:128:14: warning: ‘modsub32’ is static but used in inline function ‘poldivnormmod32’ which is not static 128 | P[i] = modsub32(P[i], modmul32(D[i - j], a)); | ^~~~~~~~ fbgen.c:64:12: warning: ‘modsq32’ is static but used in inline function ‘polmodsq32’ which is not static 64 | P[0] = modsq32(P[0]); | ^~~~~~~ fbgen.c:60:37: warning: ‘modadd32’ is static but used in inline function ‘polmodsq32’ which is not static 60 | P[j + i] = modadd32(P[j + i], modadd32(a, a)); | ^~~~~~~~ fbgen.c:60:18: warning: ‘modadd32’ is static but used in inline function ‘polmodsq32’ which is not static 60 | P[j + i] = modadd32(P[j + i], modadd32(a, a)); | ^~~~~~~~ fbgen.c:59:11: warning: ‘modmul32’ is static but used in inline function ‘polmodsq32’ which is not static 59 | a = modmul32(m, P[i]); | ^~~~~~~~ fbgen.c:57:12: warning: ‘modadd32’ is static but used in inline function ‘polmodsq32’ which is not static 57 | P[j] = modadd32(a, a); | ^~~~~~~~ fbgen.c:56:9: warning: ‘modmul32’ is static but used in inline function ‘polmodsq32’ which is not static 56 | a = modmul32(m, P[0]); | ^~~~~~~~ fbgen.c:55:37: warning: ‘modsq32’ is static but used in inline function ‘polmodsq32’ which is not static 55 | P[j << 1] = modadd32(P[j << 1], modsq32(m)); | ^~~~~~~ fbgen.c:55:17: warning: ‘modadd32’ is static but used in inline function ‘polmodsq32’ which is not static 55 | P[j << 1] = modadd32(P[j << 1], modsq32(m)); | ^~~~~~~~ fbgen.c:51:17: warning: ‘modadd32’ is static but used in inline function ‘polmodsq32’ which is not static 51 | P[dP + i] = modadd32(a, a); | ^~~~~~~~ fbgen.c:50:9: warning: ‘modmul32’ is static but used in inline function ‘polmodsq32’ which is not static 50 | a = modmul32(m, P[i]); | ^~~~~~~~ fbgen.c:48:16: warning: ‘modsq32’ is static but used in inline function ‘polmodsq32’ which is not static 48 | P[dP << 1] = modsq32(m); | ^~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o llist.o -c llist.c llist.c: In function ‘ll_read’: llist.c:432:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 432 | fread(&C->numFields, sizeof(s32), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ llist.c:436:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 436 | fread(C->index, sizeof(s32), C->numFields+1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ llist.c:440:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 440 | fread(C->data, sizeof(s32), C->index[C->numFields], fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o if.o -c if.c if.c: In function ‘logbook’: if.c:171:5: warning: ignoring return value of ‘vasprintf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 171 | vasprintf(&output_str, fmt, arglist); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o rellist.o -c rellist.c rellist.c: In function ‘allocateRelList’: rellist.c:70:21: warning: pointer targets in assignment from ‘int32_t *’ {aka ‘int *’} to ‘uint32_t *’ {aka ‘unsigned int *’} differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 70 | if (!(RL->relIndex = (s32 *)lxmalloc(RL->maxRels * sizeof(s32), 0))) | ^ rellist.c: In function ‘clearRelList’: rellist.c:147:14: warning: pointer targets in assignment from ‘uint32_t *’ {aka ‘unsigned int *’} to ‘int32_t *’ {aka ‘int *’} differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 147 | RL->relData = RL->relIndex = NULL; | ^ rellist.c: In function ‘pruneRelLists’: rellist.c:203:30: warning: comparison of unsigned expression in ‘>= 0’ is always true []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wtype-limits-Wtype-limits]8;;] 203 | for (j = MAX_PR_SIZE-1; (j >=0 ) && (t > 0); j--) | ^~ In file included from rellist.h:25, from rellist.c:23: rellist.c: In function ‘getRelList’: ../include/ggnfs.h:742:26: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 742 | #define readRaw32(w,fp) fread((w),sizeof(s32),1,(fp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rellist.c:107:3: note: in expansion of macro ‘readRaw32’ 107 | readRaw32(&RL->maxRels, fp); | ^~~~~~~~~ rellist.c: In function ‘allocateRelList’: rellist.c:49:22: warning: ‘%s’ directive writing up to 999 bytes into a region of size 512 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 49 | sprintf(prelName, "%s.%d", prelF->prefix, i); | ^~ rellist.c:49:21: note: directive argument in the range [0, 2147483647] 49 | sprintf(prelName, "%s.%d", prelF->prefix, i); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/ggnfs.h:38, from rellist.h:25, from rellist.c:23: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 1011 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rellist.c: In function ‘getRelList’: rellist.c:95:18: warning: ‘%s’ directive writing up to 999 bytes into a region of size 256 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 95 | sprintf(fName, "%s.%d", prelF->prefix, index); | ^~ In file included from /usr/include/stdio.h:867, from ../include/ggnfs.h:38, from rellist.h:25, from rellist.c:23: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 1012 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rellist.c: In function ‘pruneRelLists’: rellist.c:254:17: warning: ‘%s’ directive writing up to 999 bytes into a region of size 128 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 254 | sprintf(str, "%s.%d", prelF->prefix, i); | ^~ rellist.c:254:16: note: directive argument in the range [0, 2147483646] 254 | sprintf(str, "%s.%d", prelF->prefix, i); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/ggnfs.h:38, from rellist.h:25, from rellist.c:23: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 1011 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o intutils.o -c intutils.c x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o lasieve4/mpz-ull.o -c lasieve4/mpz-ull.c x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o dlmalloc.o -c dlmalloc.c dlmalloc.c: In function ‘free’: dlmalloc.c:3859:11: warning: variable ‘ret’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 3859 | int ret; | ^~~ dlmalloc.c: In function ‘mallinfo’: dlmalloc.c:4666:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 4666 | for (i = 0; i < NFASTBINS; ++i) { | ^ x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o modinv32.o -c modinv32.c x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o makefb.o -c makefb.c makefb.c: In function ‘makefb’: makefb.c:117:19: warning: pointer targets in passing argument 1 of ‘pSieve’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 117 | size = pSieve(tmpPtr, size, 1, FB->rLim); | ^~~~~~ | | | int32_t * {aka int *} In file included from makefb.c:27: ../include/ggnfs.h:690:19: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int32_t *’ {aka ‘int *’} 690 | u32 pSieve(u32 *p, u32 Psize, u32 a, u32 b); | ^ makefb.c:121:23: warning: pointer targets in passing argument 1 of ‘getPList’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 121 | tmpPtr = getPList(&size); | ^~~~~ | | | int32_t * {aka int *} In file included from makefb.c:27: ../include/ggnfs.h:691:22: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int32_t *’ {aka ‘int *’} 691 | u32 *getPList(u32 *numPrimes); | ^ makefb.c:121:12: warning: pointer targets in assignment from ‘uint32_t *’ {aka ‘unsigned int *’} to ‘int32_t *’ {aka ‘int *’} differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 121 | tmpPtr = getPList(&size); | ^ makefb.c:123:12: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 123 | if (size < FB->rfb_size) { | ^ x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ../bin/sieve sieve.c clsieve.c getprimes.o fbmisc.o squfof.o rels.o blanczos64-no-mmx.o poly.o mpz_poly.o mpz_mat.o smintfact.o misc.o ecm4c.o nfmisc.o matsave.o montgomery_sqrt.o matstuff.o dickman.o fbgen.o llist.o if.o rellist.o intutils.o lasieve4/mpz-ull.o dlmalloc.o modinv32.o makefb.o -lgmp -lm sieve.c: In function ‘catch_term’: sieve.c:71:21: warning: unused parameter ‘sig’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parameter-Wunused-parameter]8;;] 71 | void catch_term(int sig) | ~~~~^~~ sieve.c: In function ‘setDependentDefaults’: sieve.c:93:25: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | if ((job->FB.rfb_size == -1)&&(job->FB.rLim == -1)) { | ^~ sieve.c:97:25: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 97 | if ((job->FB.afb_size == -1)&&(job->FB.aLim == -1)) { | ^~ sieve.c:97:47: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 97 | if ((job->FB.afb_size == -1)&&(job->FB.aLim == -1)) { | ^~ sieve.c:101:22: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 101 | if (job->FB.maxP_r == -1) { | ^~ sieve.c:105:22: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 105 | if (job->FB.maxP_a == -1) { | ^~ sieve.c: In function ‘parseJobFile’: sieve.c:150:18: warning: overflow in conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘int32_t’ {aka ‘int’} changes value from ‘job->FB.aLim = 4294967295’ to ‘-1’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Woverflow-Woverflow]8;;] 150 | job->FB.rLim = job->FB.aLim = -1; | ^~~ sieve.c: In function ‘main’: sieve.c:231:22: warning: variable ‘fbLoaded’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 231 | int i, fbLoaded=0; | ^~~~~~~~ sieve.c: In function ‘parseJobFile’: sieve.c:159:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 159 | fgets(thisLine, 1023, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from sieve.c:25: In function ‘strncpy’, inlined from ‘parseJobFile’ at sieve.c:180:9: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 255 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Wstringop-truncation]8;;] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clsieve.c: In function ‘clSieve’: clsieve.c:238:18: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 238 | for (i=j=k=0; irfb_size; i++) { | ^ clsieve.c:307:18: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 307 | for (i=j=k=0; iafb_size; i++) { | ^ In file included from clsieve.c:26: ../include/ggnfs.h:214:27: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 214 | #define MAX(_a, _b) ((_a) > (_b) ? (_a) : (_b)) | ^ clsieve.c:385:24: note: in expansion of macro ‘MAX’ 385 | conf.block_window = (MAX(FB->rLim, FB->aLim)+(BLOCK_SIZE-1))/ | ^~~ ../include/ggnfs.h:214:36: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 214 | #define MAX(_a, _b) ((_a) > (_b) ? (_a) : (_b)) | ^~~~ clsieve.c:385:24: note: in expansion of macro ‘MAX’ 385 | conf.block_window = (MAX(FB->rLim, FB->aLim)+(BLOCK_SIZE-1))/ | ^~~ clsieve.c: In function ‘fillHashtableOdd’: clsieve.c:723:47: warning: unused parameter ‘b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parameter-Wunused-parameter]8;;] 723 | void fillHashtableOdd(sieve_conf_t *conf, s32 b, s32 sign) clsieve.c: In function ‘fillHashtableEven’: clsieve.c:803:48: warning: unused parameter ‘b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parameter-Wunused-parameter]8;;] 803 | void fillHashtableEven(sieve_conf_t *conf, s32 b, s32 sign) clsieve.c: In function ‘fillSieve’: clsieve.c:1111:13: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1111 | if (h < sieve_size) | ^ clsieve.c:1136:13: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1136 | if (h < sieve_size) | ^ /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: fbgen.o: in function `polXpotmodPmod32': fbgen.c:(.text+0x396): undefined reference to `polmodsq32' collect2: error: ld returned 1 exit status make: *** [Makefile:100: ../bin/sieve] Error 1 * ERROR: sci-mathematics/ggnfs-0.77.1-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-mathematics/ggnfs-0.77.1-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-mathematics/ggnfs-0.77.1-r2::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/sci-mathematics/ggnfs-0.77.1-r2:20200612-051453.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-mathematics/ggnfs-0.77.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/ggnfs-0.77.1-r2/temp/environment'. * Working directory: '/var/tmp/portage/sci-mathematics/ggnfs-0.77.1-r2/work/ggnfs-master/src' * S: '/var/tmp/portage/sci-mathematics/ggnfs-0.77.1-r2/work/ggnfs-master' emerge --info: Portage 2.3.100 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r5, 5.4.0-1011-aws x86_64) ================================================================= System uname: Linux-5.4.0-1011-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 16011348 total, 4708740 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Fri, 12 Jun 2020 07:05:22 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0-r1::gentoo sys-devel/gcc-config: 2.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fcommon" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fcommon" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fcommon" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fcommon" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS