* 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 >>> 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 -j1 -j1 x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -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’ [-Wunused-parameter] 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 -falign-functions=32:25:16 -fno-common -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 [-Wunused-but-set-variable] 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’ [-Wunused-parameter] 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 [-Wpointer-sign] 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 < 0 is always false [-Wtype-limits] 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 < 0 is always false [-Wtype-limits] 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’} [-Wsign-compare] 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 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -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 -falign-functions=32:25:16 -fno-common -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’} [-Wsign-compare] 358 | for (i=0; inumRels; i++) { | ^ rels.c:348:8: warning: variable ‘index’ set but not used [-Wunused-but-set-variable] 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’} [-Wsign-compare] 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’} [-Wsign-compare] 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’} [-Wsign-compare] 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’} [-Wsign-compare] 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’} [-Wsign-compare] 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 [-Wpointer-sign] 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 [-Wpointer-sign] 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 [-Wpointer-sign] 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 [-Wpointer-sign] 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 [-Wunused-but-set-variable] 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 [-Wunused-result] 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 [-Wunused-result] 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 [-Wunused-result] 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 -falign-functions=32:25:16 -fno-common -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 [-Wpointer-sign] 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 [-Wpointer-sign] 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 [-Wpointer-sign] 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 [-Wpointer-sign] 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’} [-Wsign-compare] 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’} [-Wsign-compare] 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’} [-Wsign-compare] 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’} [-Wsign-compare] 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’} [-Wsign-compare] 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 [-Wpointer-sign] 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’ [-Wunused-parameter] 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’ [-Wunused-parameter] 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’ [-Wunused-parameter] 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 [-Wunused-but-set-variable] 2169 | double lastNormA, lastNormN, lastNormNum, lastNormDen; | ^~~~~~~~~~~ montgomery_sqrt.c:2169:39: warning: variable ‘lastNormNum’ set but not used [-Wunused-but-set-variable] 2169 | double lastNormA, lastNormN, lastNormNum, lastNormDen; | ^~~~~~~~~~~ montgomery_sqrt.c:2169:28: warning: variable ‘lastNormN’ set but not used [-Wunused-but-set-variable] 2169 | double lastNormA, lastNormN, lastNormNum, lastNormDen; | ^~~~~~~~~ montgomery_sqrt.c:2169:17: warning: variable ‘lastNormA’ set but not used [-Wunused-but-set-variable] 2169 | double lastNormA, lastNormN, lastNormNum, lastNormDen; | ^~~~~~~~~ montgomery_sqrt.c:2168:23: warning: variable ‘lastDiff’ set but not used [-Wunused-but-set-variable] 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 [-Wunused-result] 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 [-Wunused-result] 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 [-Wunused-result] 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 [-Wunused-result] 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 [-Wunused-result] 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 [-Wunused-result] 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 [-Wunused-result] 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 [-Wunused-result] 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 [-Wunused-result] 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 [-Wunused-result] 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 [-Wunused-result] 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 [-Wformat-overflow=] 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 [-Wformat-overflow=] 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 [-Wformat-overflow=] 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 [-Wformat-overflow=] 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 [-Wformat-overflow=] 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 [-Wformat-overflow=] 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 -falign-functions=32:25:16 -fno-common -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 [-Wunused-result] 98 | fread(&M->numRows, sizeof(s32), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matstuff.c:99:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 99 | fread(&M->numCols, sizeof(s32), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matstuff.c:100:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 100 | fread(&M->maxDataSize, sizeof(s32), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matstuff.c:101:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 101 | fread(&M->numDenseBlocks, sizeof(s32), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matstuff.c:102:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 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 [-Wunused-result] 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 [-Wunused-result] 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 [-Wunused-result] 110 | fread(M->denseBlocks[i], sizeof(u64), M->numCols, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -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 -falign-functions=32:25:16 -fno-common -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 -falign-functions=32:25:16 -fno-common -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 [-Wunused-result] 432 | fread(&C->numFields, sizeof(s32), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ llist.c:436:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 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 [-Wunused-result] 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 -falign-functions=32:25:16 -fno-common -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 [-Wunused-result] 171 | vasprintf(&output_str, fmt, arglist); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -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 [-Wpointer-sign] 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 [-Wpointer-sign] 147 | RL->relData = RL->relIndex = NULL; | ^ rellist.c: In function ‘pruneRelLists’: rellist.c:203:30: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits] 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 [-Wunused-result] 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 [-Wformat-overflow=] 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 [-Wformat-overflow=] 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 [-Wformat-overflow=] 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 -falign-functions=32:25:16 -fno-common -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 -falign-functions=32:25:16 -fno-common -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 -falign-functions=32:25:16 -fno-common -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 [-Wunused-but-set-variable] 3859 | int ret; | ^~~ dlmalloc.c: In function ‘mallinfo’: dlmalloc.c:4666:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4666 | for (i = 0; i < NFASTBINS; ++i) { | ^ x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -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 -falign-functions=32:25:16 -fno-common -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 [-Wpointer-sign] 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 [-Wpointer-sign] 121 | tmpPtr = getPList(&size); | ^~~~~ | | | int32_t * {aka int *} In file included from makefb.c:27: ../include/ggnfs.h:691:8: 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 [-Wpointer-sign] 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’} [-Wsign-compare] 123 | if (size < FB->rfb_size) { | ^ x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -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’ [-Wunused-parameter] 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’ [-Wsign-compare] 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’ [-Wsign-compare] 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’ [-Wsign-compare] 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’ [-Wsign-compare] 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’ [-Wsign-compare] 105 | if (job->FB.maxP_a == -1) { | ^~ sieve.c: In function ‘main’: sieve.c:231:22: warning: variable ‘fbLoaded’ set but not used [-Wunused-but-set-variable] 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 [-Wunused-result] 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 [-Wstringop-truncation] 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’} [-Wsign-compare] 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’} [-Wsign-compare] 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’} [-Wsign-compare] 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 [-Wsign-compare] 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’ [-Wunused-parameter] 723 | void fillHashtableOdd(sieve_conf_t *conf, s32 b, s32 sign) clsieve.c: In function ‘fillHashtableEven’: clsieve.c:803:48: warning: unused parameter ‘b’ [-Wunused-parameter] 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’} [-Wsign-compare] 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’} [-Wsign-compare] 1136 | if (h < sieve_size) | ^ /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: lasieve4/mpz-ull.o: multiple definition of 'modulo32' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: fbgen.o: previous definition here /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: modinv32.o: multiple definition of 'modulo32' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: fbgen.o: previous definition here 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/portage/sci-mathematics:ggnfs-0.77.1-r2:20200506-144754.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'