Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 612132 Details for
Bug 708508
sci-mathematics/ggnfs-0.77.1-r2 : fails to build with -fno-common or gcc-10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sci-mathematics:ggnfs-0.77.1-r2:20200205-222323.log
sci-mathematics:ggnfs-0.77.1-r2:20200205-222323.log (text/plain), 57.71 KB, created by
Toralf Förster
on 2020-02-06 22:20:10 UTC
(
hide
)
Description:
sci-mathematics:ggnfs-0.77.1-r2:20200205-222323.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-02-06 22:20:10 UTC
Size:
57.71 KB
patch
obsolete
> * 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 splitdebug 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 -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 -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:494, > 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 -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 -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; i<L->numRels; 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 -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; j++) { > | ^ >blanczos64-no-mmx.c:488:16: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 488 | for (j=0; j<n; j++) > | ^ >blanczos64-no-mmx.c:562:16: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 562 | for (i=0; i<n; i++) > | ^ >blanczos64-no-mmx.c:572:16: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 572 | for (j=0; j<n; j++) { > | ^ >blanczos64-no-mmx.c:580:16: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 580 | for (j=0; j<n; j++) > | ^ >blanczos64-no-mmx.c:584:16: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 584 | for (j=0; j<n; j++) > | ^ >blanczos64-no-mmx.c:592:16: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 592 | for (i=0; i<n; i++) > | ^ >blanczos64-no-mmx.c:597:16: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 597 | while ((j<n) && ((AZ[2*j + i/64]&BIT64(i%64))==0)) > | ^ >blanczos64-no-mmx.c:599:12: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 599 | if (j==n) { > | ^~ >blanczos64-no-mmx.c:601:20: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 601 | for (j=0; j<n; j++) { > | ^ >blanczos64-no-mmx.c:611:12: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 611 | while ((j<n)&&(X[j]==0)) > | ^ >blanczos64-no-mmx.c:613:8: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 613 | if (j==n) > | ^~ >blanczos64-no-mmx.c:624:14: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 624 | for (i=0; i<n; i++) > | ^ >blanczos64-no-mmx.c:632:26: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 632 | for (j=0, isZero=1; j<n; j++) > | ^ >blanczos64-no-mmx.c:637:28: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 637 | for (j=0, isZero=1; j<n; j++) { > | ^ >blanczos64-no-mmx.c:657:25: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 657 | for (i=0, isZero=1; (i<n)&&(isZero); i++) > | ^ >blanczos64-no-mmx.c:355:13: warning: variable âmâ set but not used [-Wunused-but-set-variable] > 355 | u64 i, j, m, mask, isZero, r1,r2; > | ^ >blanczos64-no-mmx.c: In function âisZeroVâ: >blanczos64-no-mmx.c:2095:14: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 2095 | for (i=0; i<size; i++) > | ^ >blanczos64-no-mmx.c: In function âdoColumnOpsâ: >blanczos64-no-mmx.c:2212:18: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 2212 | for (row=0; row<n; row++) { > | ^ >blanczos64-no-mmx.c:2263:29: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 2263 | } while ((cont) && (col < n)); > | ^ >blanczos64-no-mmx.c:2264:13: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 2264 | if (col >= 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; col++) { > | ^ >blanczos64-no-mmx.c: In function âdoColumnOps64â: >blanczos64-no-mmx.c:2323:18: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 2323 | for (row=0; row<n; row++) { > | ^ >blanczos64-no-mmx.c:2368:29: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 2368 | } while ((cont) && (col < n)); > | ^ >blanczos64-no-mmx.c:2369:13: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 2369 | if (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; i<n; i++) > | ^ >blanczos64-no-mmx.c:2377:20: warning: comparison of integer expressions of different signedness: âuint64_tâ {aka âlong unsigned intâ} and âint32_tâ {aka âintâ} [-Wsign-compare] > 2377 | for (col=0; col<n; col++) { > | ^ >x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -fno-common -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o poly.o -c poly.c >x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -fno-common -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o mpz_poly.o -c mpz_poly.c >x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -fno-common -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o mpz_mat.o -c mpz_mat.c >mpz_mat.c: In function âmpz_mat_getKernelâ: >mpz_mat.c:445:39: warning: variable âmâ set but not used [-Wunused-but-set-variable] > 445 | { int i, j, k, k_max, l, res=0, m, n, f[256], r; > | ^ >x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -fno-common -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o smintfact.o -c smintfact.c >smintfact.c: In function âfactorâ: >smintfact.c:142:30: warning: pointer targets in passing argument 1 of âdoTrialDivâ differ in signedness [-Wpointer-sign] > 142 | numFactors += doTrialDiv(&factors[numFactors], remain); > | ^~~~~~~~~~~~~~~~~~~~ > | | > | uint32_t * {aka unsigned int *} >smintfact.c:83:21: note: expected âint32_t *â {aka âint *â} but argument is of type âuint32_t *â {aka âunsigned int *â} > 83 | int doTrialDiv(s32 *factors, mpz_t n) >smintfact.c:171:6: warning: âresâ may be used uninitialized in this function [-Wmaybe-uninitialized] > 171 | if (res) { > | ^ >x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -fno-common -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o misc.o -c misc.c >misc.c: In function âmpz_fact_removeSFâ: >misc.c:834:13: warning: variable âtwoLocâ set but not used [-Wunused-but-set-variable] > 834 | int j, e, twoLoc=-1; > | ^~~~~~ >misc.c: In function âmpz_fact_factorEasyâ: >misc.c:736:7: warning: ignoring return value of âfgetsâ, declared with attribute warn_unused_result [-Wunused-result] > 736 | fgets(str, 256, fp); > | ^~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -fno-common -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o ecm4c.o -c ecm4c.c >ecm4c.c: In function âecmâ: >ecm4c.c:361:20: warning: pointer targets in passing argument 2 of âbestDâ differ in signedness [-Wpointer-sign] > 361 | D=bestD(B2/iter,&K,&phi); > | ^~ > | | > | unsigned int * >ecm4c.c:252:27: note: expected âint *â but argument is of type âunsigned int *â > 252 | int bestD(double B2, int *fft_size, int *phi) > | ~~~~~^~~~~~~~ >ecm4c.c:361:23: warning: pointer targets in passing argument 3 of âbestDâ differ in signedness [-Wpointer-sign] > 361 | D=bestD(B2/iter,&K,&phi); > | ^~~~ > | | > | unsigned int * >ecm4c.c:252:42: note: expected âint *â but argument is of type âunsigned int *â > 252 | int bestD(double B2, int *fft_size, int *phi) > | ~~~~~^~~ >ecm4c.c: In function âstep1â: >ecm4c.c:491:12: warning: comparison of integer expressions of different signedness: âunsigned intâ and âintâ [-Wsign-compare] > 491 | for (q=2;q<=B1;q*=2) duplicate(x,z,x,z); > | ^~ >ecm4c.c:492:13: warning: comparison of integer expressions of different signedness: âunsigned intâ and âintâ [-Wsign-compare] > 492 | for (q=3;q<=B1;q*=3) { duplicate(x1,z1,x,z); add3(x,z,x,z,x1,z1,x,z); } > | ^~ >ecm4c.c:509:19: warning: comparison of integer expressions of different signedness: âintâ and âunsigned intâ [-Wsign-compare] > 509 | imax = ((B1+1)<(l+1)*bb) ? B1+1-l*bb : bb; > | ^ >ecm4c.c: In function âprintpolâ: >ecm4c.c:780:13: warning: comparison of integer expressions of different signedness: âintâ and âunsigned intâ [-Wsign-compare] > 780 | for (i=0;i<k;i++) { > | ^ >ecm4c.c: In function âstep2â: >ecm4c.c:860:27: warning: comparison of integer expressions of different signedness: âintâ and âunsigned intâ [-Wsign-compare] > 860 | if (igcd(i,D)==1 || j<=extra) { > | ^~ >ecm4c.c:940:23: warning: comparison of integer expressions of different signedness: âintâ and âlong unsigned intâ [-Wsign-compare] > 940 | if (!go) for (i=1;i<lgK+1;i++) { > | ^ >ecm4c.c: In function âbuildFâ: >ecm4c.c:1304:4: warning: this âifâ clause does not guard... [-Wmisleading-indentation] > 1304 | if (verbose) st=cputime(); d=0; D=1; while (D<n) { > | ^~ >ecm4c.c:1304:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the âifâ > 1304 | if (verbose) st=cputime(); d=0; D=1; while (D<n) { > | ^ >ecm4c.c:1306:17: warning: comparison of integer expressions of different signedness: âintâ and âunsigned intâ [-Wsign-compare] > 1306 | for (i=0;i<=n;i++) mpz_init(F[d+1][i]); > | ^~ >ecm4c.c:1308:17: warning: comparison of integer expressions of different signedness: âintâ and âunsigned intâ [-Wsign-compare] > 1308 | for (i=0;i<n;i+=2*D) polymul(F[d+1]+i,F[d]+i,F[d]+i+D,D,T); > | ^ >ecm4c.c: In function âbuildGâ: >ecm4c.c:1326:18: warning: comparison of integer expressions of different signedness: âintâ and âunsigned intâ [-Wsign-compare] > 1326 | for (i=0;i<n;i+=2*D) polymul(T+i,G+i,G+i+D,D,T+n); > | ^ >ecm4c.c:1328:18: warning: comparison of integer expressions of different signedness: âintâ and âunsigned intâ [-Wsign-compare] > 1328 | for (i=0;i<n;i+=2*D) polymul(G+i,T+i,T+i+D,D,T+n); > | ^ >ecm4c.c:1331:23: warning: comparison of integer expressions of different signedness: âintâ and âunsigned intâ [-Wsign-compare] > 1331 | if (d%2) for (i=0;i<n;i++) mpz_set(G[i],T[i]); > | ^ >ecm4c.c:1332:14: warning: comparison of integer expressions of different signedness: âintâ and âunsigned intâ [-Wsign-compare] > 1332 | for (i=0;i<n-1;i++) mpz_set(G[i], G[i+1]); mpz_set_ui(G[n-1], 1); > | ^ >ecm4c.c: In function âkaratsubaâ: >ecm4c.c:1373:13: warning: comparison of integer expressions of different signedness: âintâ and âunsigned intâ [-Wsign-compare] > 1373 | for (i=0;i<2*K-1;i++) mpz_mod(a[i], a[i], n); > | ^ >ecm4c.c: In function âkaratsuba1â: >ecm4c.c:1388:17: warning: comparison of integer expressions of different signedness: âintâ and âunsigned intâ [-Wsign-compare] > 1388 | for (i=0;i<K-1;i++) { > | ^ >ecm4c.c:1391:17: warning: comparison of integer expressions of different signedness: âintâ and âunsigned intâ [-Wsign-compare] > 1391 | for (i=0;i<K-1;i++) mpz_add(a[k+i],a[k+i],t[K+i]); > | ^ >ecm4c.c: In function âDivThreeLongHalvesByTwoâ: >ecm4c.c:1438:15: warning: comparison of integer expressions of different signedness: âintâ and âunsigned intâ [-Wsign-compare] > 1438 | for (i=0;i<=2*K-2;i++) { > | ^~ >x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -fno-common -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o nfmisc.o -c nfmisc.c >x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -fno-common -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o matsave.o -c matsave.c >x86_64-pc-linux-gnu-gcc -I. -I.. -I../include -O2 -pipe -march=native -fno-common -DNDEBUG -W -Wall -DGGNFS_HOST_GENERIC -DMALLOC_REPORTING -o montgomery_sqrt.o -c montgomery_sqrt.c >montgomery_sqrt.c: In function âfix_for_cdâ: >montgomery_sqrt.c:158:14: warning: comparison of integer expressions of different signedness: âintâ and âunsigned intâ [-Wsign-compare] > 158 | for (i=0; i<F.size; i++) { > | ^ >montgomery_sqrt.c: In function âratSqrtâ: >montgomery_sqrt.c:651:16: warning: comparison of integer expressions of different signedness: âint32_tâ {aka âintâ} and âuint32_tâ {aka âunsigned intâ} [-Wsign-compare] > 651 | for (i=0; i<M->N->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; i<M->FB->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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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:494, > 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; i<FB->rfb_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; i<FB->afb_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.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lasieve4/mpz-ull.o:(.bss+0x0): multiple definition of `modulo32'; fbgen.o:(.bss+0xa4): first defined here >/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: modinv32.o:(.bss+0x0): multiple definition of `modulo32'; fbgen.o:(.bss+0xa4): first defined 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:20200205-222323.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'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 708508
:
612122
|
612124
|
612126
|
612128
|
612130
| 612132