these 2 derivations will be built: /nix/store/2hhj10ygjjfz5lczpr8chhz6d68brgk1-p95v308b15.source.zip.drv /nix/store/p6yjdsz2043m9lnrmf8vyhywlajps6q6-mprime-30.8b15.drv these 3 paths will be fetched (564.1 KiB download, 2.3 MiB unpacked): /nix/store/vbprk1f4my9pgr5ccs5xfqjv90r007zq-hwloc-2.9.0 /nix/store/pk3gssql13h2acb6ihzb4lkq2y9hi3cg-hwloc-2.9.0-dev /nix/store/0qs40wn0dv9s7rbk67lh4s0w35gqdjzx-hwloc-2.9.0-lib building '/nix/store/aj61w4ym6b9jimqbpcwyg5ybb16cqy4m-p95v308b15.source.zip.drv' p95v308b15.source.zip> p95v308b15.source.zip> trying https://www.mersenne.org/ftp_root/gimps/p95v308b15.source.zip p95v308b15.source.zip> % Total % Received % Xferd Average Speed Time Time Time Current p95v308b15.source.zip> Dload Upload Total Spent Left Speed p95v308b15.source.zip> 100 196 100 196 0 0 253 0 --:--:-- --:--:-- --:--:-- 253 p95v308b15.source.zip> 100 48.9M 100 48.9M 0 0 8182k 0 0:00:06 0:00:06 --:--:-- 10.0M building '/nix/store/p6yjdsz2043m9lnrmf8vyhywlajps6q6-mprime-30.8b15.drv' mprime-30.8b15> unpacking sources mprime-30.8b15> unpacking source archive /nix/store/613frhd9nqzdbg4hiarzm4g1yaw24czh-p95v308b15.source.zip mprime-30.8b15> source root is . mprime-30.8b15> setting SOURCE_DATE_EPOCH to timestamp 1651850022 of file ./macosx64/makefile mprime-30.8b15> patching sources mprime-30.8b15> configuring mprime-30.8b15> no configure script, doing nothing mprime-30.8b15> building mprime-30.8b15> make: Entering directory '/build/gwnum' mprime-30.8b15> gcc -I.. -I../sqlite-amalgamation-3180000 -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -c cpuid.c mprime-30.8b15> gcc -I.. -I../sqlite-amalgamation-3180000 -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -c gwnum.c mprime-30.8b15> gcc -I.. -I../sqlite-amalgamation-3180000 -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -c gwtables.c mprime-30.8b15> gcc -I.. -I../sqlite-amalgamation-3180000 -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -c gwthread.c mprime-30.8b15> gcc -I.. -I../sqlite-amalgamation-3180000 -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -c gwini.c mprime-30.8b15> gcc -I.. -I../sqlite-amalgamation-3180000 -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -c gwbench.c mprime-30.8b15> In file included from gwbench.c:90: mprime-30.8b15> ../sqlite-amalgamation-3180000/sqlite3.c: In function 'sqlite3SelectNew': mprime-30.8b15> ../sqlite-amalgamation-3180000/sqlite3.c:116401:10: warning: function may return address of local variable [-Wreturn-local-addr] mprime-30.8b15> 116401 | return pNew; mprime-30.8b15> | ^~~~ mprime-30.8b15> ../sqlite-amalgamation-3180000/sqlite3.c:116361:10: note: declared here mprime-30.8b15> 116361 | Select standin; mprime-30.8b15> | ^~~~~~~ mprime-30.8b15> gcc -I.. -I../sqlite-amalgamation-3180000 -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -c gwutil.c mprime-30.8b15> g++ -I.. -I../qd -std=c++11 -O2 -march=i486 -malign-double -c gwdbldbl.cpp mprime-30.8b15> gcc -I.. -I../sqlite-amalgamation-3180000 -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -c giants.c mprime-30.8b15> gcc -I.. -I../sqlite-amalgamation-3180000 -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -c radix.c mprime-30.8b15> gcc -I.. -I../sqlite-amalgamation-3180000 -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -c ecmstag1.c mprime-30.8b15> cp linux/gwnum.a . mprime-30.8b15> ar -rs gwnum.a cpuid.o gwnum.o gwtables.o gwthread.o gwini.o gwbench.o gwutil.o gwdbldbl.o giants.o radix.o ecmstag1.o mprime-30.8b15> gcc -I.. -I../sqlite-amalgamation-3180000 -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -c polymult.c mprime-30.8b15> gcc -I.. -I../sqlite-amalgamation-3180000 -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -Dsse2 -msse2 -c -o polymult_sse2.o polymult.c mprime-30.8b15> gcc -I.. -I../sqlite-amalgamation-3180000 -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -DAVX -mavx -c -o polymult_avx.o polymult.c mprime-30.8b15> gcc -I.. -I../sqlite-amalgamation-3180000 -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -DFMA -mfma -c -o polymult_fma.o polymult.c mprime-30.8b15> ar -rs polymult.a polymult.o polymult_sse2.o polymult_avx.o polymult_fma.o mprime-30.8b15> ar: creating polymult.a mprime-30.8b15> make: Leaving directory '/build/gwnum' mprime-30.8b15> make: Entering directory '/build/linux' mprime-30.8b15> [ ! -e ../security.h ] && touch ../security.h || true mprime-30.8b15> [ ! -e ../security.c ] && touch ../security.c || true mprime-30.8b15> [ ! -e ../secure5.c ] && touch ../secure5.c || true mprime-30.8b15> gcc -I.. -I../gwnum -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -DPORT=2 -c prime.c mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c: In function 'openWriteSaveFile': mprime-30.8b15> ../commonb.c:3727:44: warning: '%s' directive writing up to 79 bytes into a region of size 32 [-Wformat-overflow=] mprime-30.8b15> 3727 | sprintf (output_filename, "%s.write", state->base_filename); mprime-30.8b15> | ^~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 86 bytes into a destination of size 32 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c: In function 'closeWriteSaveFile': mprime-30.8b15> ../commonb.c:3767:39: warning: '%s' directive writing up to 79 bytes into a region of size 32 [-Wformat-overflow=] mprime-30.8b15> 3767 | else sprintf (dest_filename, "%s.bu%d", state->base_filename, rename_count-1); mprime-30.8b15> | ^~ mprime-30.8b15> ../commonb.c:3767:38: note: using the range [-2147483648, 2147483647] for directive argument mprime-30.8b15> 3767 | else sprintf (dest_filename, "%s.bu%d", state->base_filename, rename_count-1); mprime-30.8b15> | ^~~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 94 bytes into a destination of size 32 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:3766:62: warning: '%s' directive writing up to 79 bytes into a region of size 32 [-Wformat-overflow=] mprime-30.8b15> 3766 | else if (rename_count == 2) sprintf (dest_filename, "%s.bu", state->base_filename); mprime-30.8b15> | ^~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 83 bytes into a destination of size 32 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:3776:46: warning: '%s' directive writing up to 79 bytes into a region of size 32 [-Wformat-overflow=] mprime-30.8b15> 3776 | else sprintf (src_filename, "%s.bu%d", state->base_filename, rename_count-1); mprime-30.8b15> | ^~ mprime-30.8b15> ../commonb.c:3776:45: note: using the range [-2147483648, 2147483647] for directive argument mprime-30.8b15> 3776 | else sprintf (src_filename, "%s.bu%d", state->base_filename, rename_count-1); mprime-30.8b15> | ^~~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 94 bytes into a destination of size 32 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:3775:69: warning: '%s' directive writing up to 79 bytes into a region of size 32 [-Wformat-overflow=] mprime-30.8b15> 3775 | else if (rename_count == 2) sprintf (src_filename, "%s.bu", state->base_filename); mprime-30.8b15> | ^~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 83 bytes into a destination of size 32 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:3773:64: warning: '%s' directive writing up to 79 bytes into a region of size 32 [-Wformat-overflow=] mprime-30.8b15> 3773 | if (rename_count == 0) sprintf (src_filename, "%s.write", state->base_filename); mprime-30.8b15> | ^~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 86 bytes into a destination of size 32 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c: In function 'deleteWriteSaveFile': mprime-30.8b15> ../commonb.c:3805:44: warning: '%s' directive writing up to 79 bytes into a region of size 32 [-Wformat-overflow=] mprime-30.8b15> 3805 | sprintf (output_filename, "%s.write", state->base_filename); mprime-30.8b15> | ^~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 86 bytes into a destination of size 32 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c: In function 'unlinkSaveFiles': mprime-30.8b15> ../commonb.c:3819:46: warning: '.bad' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] mprime-30.8b15> 3819 | sprintf (unlink_filename, "%s.bad%d", state->base_filename, i); mprime-30.8b15> | ^~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 6 and 95 bytes into a destination of size 80 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:3825:59: warning: '.bu' directive writing 3 bytes into a region of size between 1 and 80 [-Wformat-overflow=] mprime-30.8b15> 3825 | else sprintf (unlink_filename, "%s.bu%d", state->base_filename, i); mprime-30.8b15> | ^~~ mprime-30.8b15> ../commonb.c:3825:56: note: using the range [-2147483648, 2147483647] for directive argument mprime-30.8b15> 3825 | else sprintf (unlink_filename, "%s.bu%d", state->base_filename, i); mprime-30.8b15> | ^~~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 94 bytes into a destination of size 80 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:3824:66: warning: '.bu' directive writing 3 bytes into a region of size between 1 and 80 [-Wformat-overflow=] mprime-30.8b15> 3824 | if (i == 1) sprintf (unlink_filename, "%s.bu", state->base_filename); mprime-30.8b15> | ^~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 83 bytes into a destination of size 80 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:3835:38: warning: '.write' directive writing 6 bytes into a region of size between 1 and 80 [-Wformat-overflow=] mprime-30.8b15> 3835 | sprintf (unlink_filename, "%s.write", state->base_filename); mprime-30.8b15> | ^~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 86 bytes into a destination of size 80 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:103: mprime-30.8b15> ../primenet.c: In function 'primenet_parse_page': mprime-30.8b15> ../primenet.c:1079:36: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] mprime-30.8b15> 1079 | sprintf (buf, "%s\n", errtxt); mprime-30.8b15> | ^ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 4097 bytes into a destination of size 4096 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:103: mprime-30.8b15> ../primenet.c:1070:32: warning: '%s' directive writing up to 4095 bytes into a region of size 2000 [-Wformat-overflow=] mprime-30.8b15> 1070 | sprintf (buf, "%s\n", errtxt); mprime-30.8b15> | ^~ ~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 4097 bytes into a destination of size 2000 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c: In function 'saveFileExists': mprime-30.8b15> ../commonb.c:3608:62: warning: '.bad' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] mprime-30.8b15> 3608 | sprintf (state->current_filename, "%s.bad%d", state->base_filename, maxbad - (state->read_attempt - 50)); mprime-30.8b15> | ^~~~ mprime-30.8b15> ../commonb.c:3608:59: note: directive argument in the range [-2147483596, 2147483597] mprime-30.8b15> 3608 | sprintf (state->current_filename, "%s.bad%d", state->base_filename, maxbad - (state->read_attempt - 50)); mprime-30.8b15> | ^~~~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 6 and 95 bytes into a destination of size 80 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:3596:62: warning: '.write' directive writing 6 bytes into a region of size between 1 and 80 [-Wformat-overflow=] mprime-30.8b15> 3596 | sprintf (state->current_filename, "%s.write", state->base_filename); mprime-30.8b15> | ^~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 86 bytes into a destination of size 80 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:3587:62: warning: '.bu' directive writing 3 bytes into a region of size between 1 and 80 [-Wformat-overflow=] mprime-30.8b15> 3587 | sprintf (state->current_filename, "%s.bu%d", state->base_filename, state->read_attempt - 1); mprime-30.8b15> | ^~~ mprime-30.8b15> ../commonb.c:3587:59: note: using the range [-2147483648, 2147483647] for directive argument mprime-30.8b15> 3587 | sprintf (state->current_filename, "%s.bu%d", state->base_filename, state->read_attempt - 1); mprime-30.8b15> | ^~~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 94 bytes into a destination of size 80 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:3579:62: warning: '.bu' directive writing 3 bytes into a region of size between 1 and 80 [-Wformat-overflow=] mprime-30.8b15> 3579 | sprintf (state->current_filename, "%s.bu", state->base_filename); mprime-30.8b15> | ^~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 83 bytes into a destination of size 80 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c: In function 'saveFileBad': mprime-30.8b15> ../commonb.c:3678:46: warning: '.bad' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] mprime-30.8b15> 3678 | sprintf (oldname, "%s.bad%d", state->base_filename, i); mprime-30.8b15> | ^~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 6 and 95 bytes into a destination of size 80 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:3688:39: warning: '%s' directive writing up to 255 bytes into a region of size between 164 and 243 [-Wformat-overflow=] mprime-30.8b15> 3688 | sprintf (buf, "Renaming %s to %s\n", state->current_filename, filename); mprime-30.8b15> | ^~ ~~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 15 and 349 bytes into a destination of size 256 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:106: mprime-30.8b15> ../gwtest.c: In function 'test_it_all': mprime-30.8b15> ../gwtest.c:317:47: warning: '%s' directive writing up to 199 bytes into a region of size between 184 and 243 [-Wformat-overflow=] mprime-30.8b15> 317 | sprintf (buf, "QA of %s using %s\n", gwmodulo_as_string (&gwdata), fft_desc); mprime-30.8b15> | ^~ ~~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 15 and 273 bytes into a destination of size 256 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c: In function 'selfTestInternal': mprime-30.8b15> ../commonb.c:7841:31: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] mprime-30.8b15> 7841 | sprintf (buf, SELF1, iter, addl_msg, ll_iters, in_place ? "in-place " : "", p, fft_desc); mprime-30.8b15> | ^~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 58 or more bytes (assuming 257) into a destination of size 256 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c: In function 'primeSieveTest': mprime-30.8b15> ../commonb.c:8748:62: warning: ' different factor found. mprime-30.8b15> ' directive writing 25 bytes into a region of size between 9 and 498 [-Wformat-overflow=] mprime-30.8b15> 8748 | sprintf (buf, "%ld %s different factor found.\n", p, fac); mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 28 and 517 bytes into a destination of size 500 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:8762:58: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] mprime-30.8b15> 8762 | bad: sprintf (buf, "%ld %s factor not found.\n", p, fac); mprime-30.8b15> | ^ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 22 and 511 bytes into a destination of size 500 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:8674:66: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] mprime-30.8b15> 8674 | sprintf (buf, "%ld %s factor too small.\n", p, fac); mprime-30.8b15> | ^ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 22 and 511 bytes into a destination of size 500 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c: In function 'generateProofFile': mprime-30.8b15> ../commonb.c:10918:93: warning: '%s' directive writing up to 499 bytes into a region of size 467 [-Wformat-overflow=] mprime-30.8b15> 10918 | sprintf (buf, "Cannot open PRP proof interim residues file: %s\n", ps->residues_filename); mprime-30.8b15> | ^~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 47 and 546 bytes into a destination of size 512 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:11087:68: warning: '%s' directive writing up to 503 bytes into a region of size 492 [-Wformat-overflow=] mprime-30.8b15> 11087 | sprintf (buf, "Error renaming from %s to %s\n", tmp_proof_filename, proof_filename); mprime-30.8b15> | ^~ ~~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 26 and 1028 bytes into a destination of size 512 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:10932:70: warning: '%s' directive writing up to 499 bytes into a region of size 482 [-Wformat-overflow=] mprime-30.8b15> 10932 | sprintf (buf, "Cannot create PRP proof file: %s\n", proof_filename); mprime-30.8b15> | ^~ ~~~~~~~~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 32 and 531 bytes into a destination of size 512 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c: In function 'prime': mprime-30.8b15> ../commonb.c:7217:51: warning: '%03ld' directive writing between 3 and 11 bytes into a region of size between 0 and 31 [-Wformat-overflow=] mprime-30.8b15> 7217 | sprintf (interimfile, "%s.%03ld", filename, counter / INTERIM_FILES); mprime-30.8b15> | ^~~~~ mprime-30.8b15> ../commonb.c:7217:47: note: using the range [-2147483648, 2147483647] for directive argument mprime-30.8b15> 7217 | sprintf (interimfile, "%s.%03ld", filename, counter / INTERIM_FILES); mprime-30.8b15> | ^~~~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 44 bytes into a destination of size 32 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c: In function 'SetPriority': mprime-30.8b15> ../commonb.c:566:87: warning: '%s' directive writing up to 254 bytes into a region of size 224 [-Wformat-overflow=] mprime-30.8b15> 566 | sprintf (buf, "Error parsing affinity string: %s\n", logical_CPU_string); mprime-30.8b15> | ^~ ~~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 33 and 287 bytes into a destination of size 255 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c:597:62: warning: '%s' directive writing up to 254 bytes into a region of size 242 [-Wformat-overflow=] mprime-30.8b15> 597 | else sprintf (buf+strlen(buf), "logical CPUs %s (zero-based)\n", logical_CPU_substring); mprime-30.8b15> | ^~ ~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 28 and 282 bytes into a destination of size 255 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from prime.c:101: mprime-30.8b15> ../commonb.c: In function 'prp': mprime-30.8b15> ../commonb.c:12992:51: warning: '%03ld' directive writing between 3 and 11 bytes into a region of size between 0 and 31 [-Wformat-overflow=] mprime-30.8b15> 12992 | sprintf (interimfile, "%s.%03ld", filename, ps.counter / INTERIM_FILES); mprime-30.8b15> | ^~~~~ mprime-30.8b15> ../commonb.c:12992:47: note: using the range [-2147483648, 2147483647] for directive argument mprime-30.8b15> 12992 | sprintf (interimfile, "%s.%03ld", filename, ps.counter / INTERIM_FILES); mprime-30.8b15> | ^~~~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from prime.c:11: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 44 bytes into a destination of size 32 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> gcc -I.. -I../gwnum -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -DPORT=2 -c menu.c mprime-30.8b15> gcc -c ../cJSON.c mprime-30.8b15> g++ -I.. -I../gwnum -I../../boost_1_76_0 -Wno-unused-result -march=i486 -malign-double -std=c++11 -O2 -DPORT=2 -c ../ecm.cpp mprime-30.8b15> ../ecm.cpp: In function 'int pminus1(int, PriorityInfo*, work_unit*)': mprime-30.8b15> ../ecm.cpp:8358:20: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long unsigned int' [-Wformat=] mprime-30.8b15> 8358 | else sprintf (buf, "FFT: %d, B2: %" PRIu64 "/%" PRIu64 ", numvals: %d/%d, poly: %dx%d, efficiency: %.0f\n", (int) gwfftlen (&pm1data.gwdata), pm1data.C, mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> ../ecm.cpp: In function 'int pfactor(int, PriorityInfo*, work_unit*)': mprime-30.8b15> ../ecm.cpp:10289:49: warning: '%s' directive writing up to 119 bytes into a region of size 95 [-Wformat-overflow=] mprime-30.8b15> 10289 | sprintf (buf, "Optimal P-1 factoring of %s using up to %luMB of memory.\n", testnum, max_mem (thread_num)); mprime-30.8b15> | ^~ ~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from ../common.h:17, mprime-30.8b15> from ../ecm.cpp:20: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 54 and 182 bytes into a destination of size 120 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> ../ecm.cpp:10299:34: warning: ' does not need P-1 factoring. mprime-30.8b15> ' directive writing 30 bytes into a region of size between 1 and 120 [-Wformat-overflow=] mprime-30.8b15> 10299 | sprintf (buf, "%s does not need P-1 factoring.\n", testnum); mprime-30.8b15> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, mprime-30.8b15> from ../common.h:17, mprime-30.8b15> from ../ecm.cpp:20: mprime-30.8b15> /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 31 and 150 bytes into a destination of size 120 mprime-30.8b15> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 31 | __glibc_objsize (__s), __fmt, mprime-30.8b15> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mprime-30.8b15> 32 | __va_arg_pack ()); mprime-30.8b15> | ~~~~~~~~~~~~~~~~~ mprime-30.8b15> gcc -I.. -I../gwnum -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -DPORT=2 -c ../exponentiate.c mprime-30.8b15> g++ -I.. -I../gwnum -I../../boost_1_76_0 -Wno-unused-result -march=i486 -malign-double -std=c++11 -O2 -DPORT=2 -c ../pair.cpp mprime-30.8b15> gcc -c ../pm1prob.c mprime-30.8b15> In file included from ../pm1prob.c:5: mprime-30.8b15> ../common.h:21:10: fatal error: gwnum.h: No such file or directory mprime-30.8b15> 21 | #include "gwnum.h" // GWnum FFT library mprime-30.8b15> | ^~~~~~~~~ mprime-30.8b15> compilation terminated. mprime-30.8b15> make: *** [makefile:63: pm1prob.o] Error 1 mprime-30.8b15> make: Leaving directory '/build/linux' error: Cannot build '/nix/store/p6yjdsz2043m9lnrmf8vyhywlajps6q6-mprime-30.8b15.drv'. Reason: builder failed with exit code 2. Output paths: /nix/store/bzc7s5cg5sm7ybpnmx3h1ssiqgw8z2c1-mprime-30.8b15 Last 25 log lines: > | ~~~~~~~~~~~~~~~~~ > ../ecm.cpp:10299:34: warning: ' does not need P-1 factoring. > ' directive writing 30 bytes into a region of size between 1 and 120 [-Wformat-overflow=] > 10299 | sprintf (buf, "%s does not need P-1 factoring.\n", testnum); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In file included from /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/stdio.h:906, > from ../common.h:17, > from ../ecm.cpp:20: > /nix/store/7vm0cxq48wb5sgsq20a6f5w8a42lgcfm-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 31 and 150 bytes into a destination of size 120 > 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 31 | __glibc_objsize (__s), __fmt, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 32 | __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~ > gcc -I.. -I../gwnum -I/usr/local/include -std=gnu99 -Wno-unused-result -march=i486 -malign-double -O2 -DPORT=2 -c ../exponentiate.c > g++ -I.. -I../gwnum -I../../boost_1_76_0 -Wno-unused-result -march=i486 -malign-double -std=c++11 -O2 -DPORT=2 -c ../pair.cpp > gcc -c ../pm1prob.c > In file included from ../pm1prob.c:5: > ../common.h:21:10: fatal error: gwnum.h: No such file or directory > 21 | #include "gwnum.h" // GWnum FFT library > | ^~~~~~~~~ > compilation terminated. > make: *** [makefile:63: pm1prob.o] Error 1 > make: Leaving directory '/build/linux' For full logs, run: nix log /nix/store/p6yjdsz2043m9lnrmf8vyhywlajps6q6-mprime-30.8b15.drv