+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/STk-4.0.1nb3/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/STk-4.0.1nb3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for STk-4.0.1nb3 make Tcl cc -pipe -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DLINUX -DUSE_STKLOS -DLINUX -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_SYS_ERRLIST=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c panic.c cc -pipe -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DLINUX -DUSE_STKLOS -DLINUX -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_SYS_ERRLIST=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclHash.c cc -pipe -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DLINUX -DUSE_STKLOS -DLINUX -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_SYS_ERRLIST=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclGet.c cc -pipe -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DLINUX -DUSE_STKLOS -DLINUX -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_SYS_ERRLIST=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c regexp.c cc -pipe -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DLINUX -DUSE_STKLOS -DLINUX -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_SYS_ERRLIST=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclUtil.c rm -f libtcl.a ar q libtcl.a panic.o tclHash.o tclGet.o regexp.o tclUtil.o ar: creating libtcl.a ranlib libtcl.a cc -pipe -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DLINUX -DUSE_STKLOS -DLINUX -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_SYS_ERRLIST=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclEvent.c cc -pipe -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DLINUX -DUSE_STKLOS -DLINUX -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_SYS_ERRLIST=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclTimer.c tclTimer.c: In function 'Tcl_CreateTimerHandler': tclTimer.c:248:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 248 | timerHandlerPtr->token = (Tcl_TimerToken) lastTimerId; | ^ tclTimer.c: In function 'TimerHandlerEventProc': tclTimer.c:518:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 518 | if ((currentTimerId - (int)timerHandlerPtr->token) < 0) { | ^ cc -pipe -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DLINUX -DUSE_STKLOS -DLINUX -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_SYS_ERRLIST=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclUnixNotfy.c cc -pipe -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DLINUX -DUSE_STKLOS -DLINUX -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_SYS_ERRLIST=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclUnixTime.c cc -pipe -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DLINUX -DUSE_STKLOS -DLINUX -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_SYS_ERRLIST=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclUnixEvent.c cc -pipe -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DLINUX -DUSE_STKLOS -DLINUX -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_SYS_ERRLIST=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclPreserve.c cc -pipe -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DLINUX -DUSE_STKLOS -DLINUX -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_SYS_ERRLIST=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclNotify.c cc -pipe -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DLINUX -DUSE_STKLOS -DLINUX -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_SYS_ERRLIST=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclAsync.c rm -f libevtcl.a ar q libevtcl.a tclEvent.o tclTimer.o tclUnixNotfy.o tclUnixTime.o tclUnixEvent.o tclPreserve.o tclNotify.o tclAsync.o ar: creating libevtcl.a ranlib libevtcl.a make Mp rm -f libgmp.a gmp.h (cd gmp-1.3.2; /usr/pkg/bin/bmake CC="cc" CFLAGS="-pipe -O2 -I/usr/pkg/include ") rm -f stddef.h rm -f test-stddefh.c ( echo '#include ' ; echo 'main(){size_t foo=sizeof(size_t);exit(0);}' ; ) > test-stddefh.c rm -f test-stddefh.o touch stamp-stddefh cc -pipe -O2 -I/usr/pkg/include cre-mparam.c -o cre-mparam cre-mparam.c:33:1: warning: return type defaults to 'int' [-Wimplicit-int] 33 | main () | ^~~~ cre-mparam.c: In function 'main': cre-mparam.c:85:3: warning: implicit declaration of function 'puts' [-Wimplicit-function-declaration] 85 | puts ("/* gmp-mparam.h -- Compiler/machine parameter header file."); | ^~~~ cre-mparam.c:22:1: note: include '' or provide a declaration of 'puts' 21 | #include "gmp.h" +++ |+#include 22 | cre-mparam.c:109:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 109 | printf ("#define BITS_PER_MP_LIMB %d\n", bits_uli); | ^~~~~~ cre-mparam.c:109:3: note: include '' or provide a declaration of 'printf' cre-mparam.c:109:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] cre-mparam.c:109:3: note: include '' or provide a declaration of 'printf' cre-mparam.c:117:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 117 | exit (0); | ^~~~ cre-mparam.c:22:1: note: include '' or provide a declaration of 'exit' 21 | #include "gmp.h" +++ |+#include 22 | cre-mparam.c:117:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 117 | exit (0); | ^~~~ cre-mparam.c:117:3: note: include '' or provide a declaration of 'exit' ./cre-mparam > tmp-gmp-mparam.h mv tmp-gmp-mparam.h gmp-mparam.h cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_init.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_set.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_set_ui.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_set_si.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_set_str.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_iset.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_iset_ui.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_iset_si.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_iset_str.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_clear.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_get_ui.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_get_si.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_get_str.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_size.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_sizeinb.c In file included from mpz_sizeinb.c:25: mpz_sizeinb.c: In function 'mpz_sizeinbase': longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_sizeinb.c:45:3: note: in expansion of macro 'count_leading_zeros' 45 | count_leading_zeros (cnt, x->d[size - 1]); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_sizeinb.c:45:3: note: in expansion of macro 'count_leading_zeros' 45 | count_leading_zeros (cnt, x->d[size - 1]); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_sizeinb.c:52:7: note: in expansion of macro 'count_leading_zeros' 52 | count_leading_zeros (lb_base, base); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_sizeinb.c:52:7: note: in expansion of macro 'count_leading_zeros' 52 | count_leading_zeros (lb_base, base); | ^~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_add.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_add_ui.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_sub.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_sub_ui.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mul.c In file included from mpz_mul.c:22: mpz_mul.c: In function 'mpz_mul': gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpz_mul.c:113:3: note: in expansion of macro 'alloca' 113 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mul_ui.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_div.c In file included from mpz_div.c:23: mpz_div.c: In function 'mpz_div': longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_div.c:63:3: note: in expansion of macro 'count_leading_zeros' 63 | count_leading_zeros (normalization_steps, dp[dsize - 1]); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_div.c:63:3: note: in expansion of macro 'count_leading_zeros' 63 | count_leading_zeros (normalization_steps, dp[dsize - 1]); | ^~~~~~~~~~~~~~~~~~~ In file included from mpz_div.c:22: gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpz_div.c:116:3: note: in expansion of macro 'alloca' 116 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_div_ui.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mod.c In file included from mpz_mod.c:23: mpz_dmincl.c: In function 'mpz_mod': longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_dmincl.c:94:3: note: in expansion of macro 'count_leading_zeros' 94 | count_leading_zeros (normalization_steps, dp[dsize - 1]); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_dmincl.c:94:3: note: in expansion of macro 'count_leading_zeros' 94 | count_leading_zeros (normalization_steps, dp[dsize - 1]); | ^~~~~~~~~~~~~~~~~~~ In file included from mpz_mod.c:22: gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpz_dmincl.c:171:3: note: in expansion of macro 'alloca' 171 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mod_ui.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_dm.c In file included from mpz_dm.c:24: mpz_dmincl.c: In function 'mpz_divmod': longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_dmincl.c:94:3: note: in expansion of macro 'count_leading_zeros' 94 | count_leading_zeros (normalization_steps, dp[dsize - 1]); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_dmincl.c:94:3: note: in expansion of macro 'count_leading_zeros' 94 | count_leading_zeros (normalization_steps, dp[dsize - 1]); | ^~~~~~~~~~~~~~~~~~~ In file included from mpz_dm.c:23: gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpz_dmincl.c:171:3: note: in expansion of macro 'alloca' 171 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_dm_ui.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mdiv.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mmod.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mdm.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mdiv_ui.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mmod_ui.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mdm_ui.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_gcd.c In file included from mpz_gcd.c:23: mpz_gcd.c: In function 'mpz_gcd': longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_gcd.c:88:3: note: in expansion of macro 'count_leading_zeros' 88 | count_leading_zeros (bcnt, d & -d); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_gcd.c:88:3: note: in expansion of macro 'count_leading_zeros' 88 | count_leading_zeros (bcnt, d & -d); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_gcd.c:101:3: note: in expansion of macro 'count_leading_zeros' 101 | count_leading_zeros (bcnt, d & -d); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_gcd.c:101:3: note: in expansion of macro 'count_leading_zeros' 101 | count_leading_zeros (bcnt, d & -d); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_gcd.c:129:11: note: in expansion of macro 'count_leading_zeros' 129 | count_leading_zeros (bcnt, d & -d); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_gcd.c:129:11: note: in expansion of macro 'count_leading_zeros' 129 | count_leading_zeros (bcnt, d & -d); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_gcd.c:141:11: note: in expansion of macro 'count_leading_zeros' 141 | count_leading_zeros (bcnt, d & -d); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_gcd.c:141:11: note: in expansion of macro 'count_leading_zeros' 141 | count_leading_zeros (bcnt, d & -d); | ^~~~~~~~~~~~~~~~~~~ In file included from mpz_gcd.c:22: gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpz_gcd.c:168:3: note: in expansion of macro 'alloca' 168 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_gcdext.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_sqrt.c In file included from mpz_sqrt.c:26: mpz_sqrt.c: In function 'mpz_sqrt': gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpz_sqrt.c:86:3: note: in expansion of macro 'alloca' 86 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_sqrtrem.c In file included from mpz_sqrtrem.c:23: mpz_sqrtrem.c: In function 'mpz_sqrtrem': gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpz_sqrtrem.c:104:3: note: in expansion of macro 'alloca' 104 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_powm.c In file included from mpz_powm.c:23: mpz_powm.c: In function 'mpz_powm': longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_powm.c:71:3: note: in expansion of macro 'count_leading_zeros' 71 | count_leading_zeros (mod_shift_cnt, mod->d[msize - 1]); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_powm.c:71:3: note: in expansion of macro 'count_leading_zeros' 71 | count_leading_zeros (mod_shift_cnt, mod->d[msize - 1]); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_powm.c:163:5: note: in expansion of macro 'count_leading_zeros' 163 | count_leading_zeros (c, e); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_powm.c:163:5: note: in expansion of macro 'count_leading_zeros' 163 | count_leading_zeros (c, e); | ^~~~~~~~~~~~~~~~~~~ In file included from mpz_powm.c:22: gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpz_powm.c:250:3: note: in expansion of macro 'alloca' 250 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_powm_ui.c In file included from mpz_powm_ui.c:23: mpz_powm_ui.c: In function 'mpz_powm_ui': longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_powm_ui.c:56:3: note: in expansion of macro 'count_leading_zeros' 56 | count_leading_zeros (mod_shift_cnt, mod->d[msize - 1]); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_powm_ui.c:56:3: note: in expansion of macro 'count_leading_zeros' 56 | count_leading_zeros (mod_shift_cnt, mod->d[msize - 1]); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_powm_ui.c:140:5: note: in expansion of macro 'count_leading_zeros' 140 | count_leading_zeros (c, e); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_powm_ui.c:140:5: note: in expansion of macro 'count_leading_zeros' 140 | count_leading_zeros (c, e); | ^~~~~~~~~~~~~~~~~~~ In file included from mpz_powm_ui.c:22: gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpz_powm_ui.c:218:3: note: in expansion of macro 'alloca' 218 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_cmp.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_cmp_ui.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_cmp_si.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mul_2exp.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_div_2exp.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mod_2exp.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_abs.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_neg.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_com.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_and.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_ior.c In file included from mpz_ior.c:22: mpz_ior.c: In function 'mpz_ior': gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpz_ior.c:239:5: note: in expansion of macro 'alloca' 239 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_inp_raw.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_inp_str.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_out_raw.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_out_str.c In file included from mpz_out_str.c:24: mpz_out_str.c: In function 'mpz_out_str': gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpz_out_str.c:44:3: note: in expansion of macro 'alloca' 44 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_perfsqr.c In file included from mpz_perfsqr.c:23: mpz_perfsqr.c: In function 'mpz_perfect_square_p': gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpz_perfsqr.c:115:5: note: in expansion of macro 'alloca' 115 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_random.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_random2.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_pow_ui.c In file included from mpz_pow_ui.c:23: mpz_pow_ui.c: In function 'mpz_pow_ui': longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_pow_ui.c:73:3: note: in expansion of macro 'count_leading_zeros' 73 | count_leading_zeros (cnt, b->d[bsize - 1]); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_pow_ui.c:73:3: note: in expansion of macro 'count_leading_zeros' 73 | count_leading_zeros (cnt, b->d[bsize - 1]); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_pow_ui.c:88:3: note: in expansion of macro 'count_leading_zeros' 88 | count_leading_zeros (cnt, e); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_pow_ui.c:88:3: note: in expansion of macro 'count_leading_zeros' 88 | count_leading_zeros (cnt, e); | ^~~~~~~~~~~~~~~~~~~ In file included from mpz_pow_ui.c:22: gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpz_pow_ui.c:109:3: note: in expansion of macro 'alloca' 109 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_clrbit.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_fac_ui.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_pprime_p.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_init.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_set.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_set_ui.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_set_si.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_set_num.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_set_den.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_get_num.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_get_den.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_add.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_sub.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_mul.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_div.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_clear.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_cmp.c In file included from mpq_cmp.c:23: mpq_cmp.c: In function 'mpq_cmp': gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpq_cmp.c:74:3: note: in expansion of macro 'alloca' 74 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_inv.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_neg.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_add.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_sub.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_cmp.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_mul.c In file included from mpn_mul.c:22: mpn_mul.c: In function 'mpn_mul': gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpn_mul.c:236:7: note: in expansion of macro 'alloca' 236 | alloca (0); | ^~~~~~ gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpn_mul.c:411:7: note: in expansion of macro 'alloca' 411 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_div.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_dm_1.c In file included from mpn_dm_1.c:29: mpn_dm_1.c: In function 'mpn_divmod_1': longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpn_dm_1.c:95:7: note: in expansion of macro 'count_leading_zeros' 95 | count_leading_zeros (normalization_steps, divisor_limb); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpn_dm_1.c:95:7: note: in expansion of macro 'count_leading_zeros' 95 | count_leading_zeros (normalization_steps, divisor_limb); | ^~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_mod_1.c In file included from mpn_mod_1.c:28: mpn_mod_1.c: In function 'mpn_mod_1': longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpn_mod_1.c:52:7: note: in expansion of macro 'count_leading_zeros' 52 | count_leading_zeros (normalization_steps, divisor_limb); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpn_mod_1.c:52:7: note: in expansion of macro 'count_leading_zeros' 52 | count_leading_zeros (normalization_steps, divisor_limb); | ^~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_lshift.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_rshift.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_rshiftci.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_sqrt.c In file included from mpn_sqrt.c:39: mpn_sqrt.c: In function 'mpn_sqrt': longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpn_sqrt.c:219:3: note: in expansion of macro 'count_leading_zeros' 219 | count_leading_zeros (cnt, op_ptr[op_size - 1]); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpn_sqrt.c:219:3: note: in expansion of macro 'count_leading_zeros' 219 | count_leading_zeros (cnt, op_ptr[op_size - 1]); | ^~~~~~~~~~~~~~~~~~~ In file included from mpn_sqrt.c:38: gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpn_sqrt.c:459:7: note: in expansion of macro 'alloca' 459 | alloca (0); | ^~~~~~ gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpn_sqrt.c:465:7: note: in expansion of macro 'alloca' 465 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c memory.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mp_set_fns.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c _mpz_set_str.c _mpz_set_str.c: In function '_mpz_set_str': _mpz_set_str.c:99:13: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 99 | str_len = strlen (str); | ^~~~~~ _mpz_set_str.c:28:1: note: include '' or provide a declaration of 'strlen' 27 | #include "longlong.h" +++ |+#include 28 | _mpz_set_str.c:99:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 99 | str_len = strlen (str); | ^~~~~~ _mpz_set_str.c:99:13: note: include '' or provide a declaration of 'strlen' cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c _mpz_get_str.c In file included from _mpz_get_str.c:27: _mpz_get_str.c: In function '_mpz_get_str': longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ _mpz_get_str.c:144:7: note: in expansion of macro 'count_leading_zeros' 144 | count_leading_zeros (x, n1); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ _mpz_get_str.c:144:7: note: in expansion of macro 'count_leading_zeros' 144 | count_leading_zeros (x, n1); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ _mpz_get_str.c:190:7: note: in expansion of macro 'count_leading_zeros' 190 | count_leading_zeros (normalization_steps, big_base); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ _mpz_get_str.c:190:7: note: in expansion of macro 'count_leading_zeros' 190 | count_leading_zeros (normalization_steps, big_base); | ^~~~~~~~~~~~~~~~~~~ In file included from _mpz_get_str.c:26: gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca _mpz_get_str.c:306:3: note: in expansion of macro 'alloca' 306 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_realloc.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mp_clz_tab.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c alloca.c alloca.c: In function 'alloca': alloca.c:146:15: warning: argument 'size' doesn't match built-in prototype 146 | unsigned size; | ^~~~ alloca.c:168:11: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 168 | free ((pointer) hp); /* Collect garbage. */ | ^~~~ alloca.c:1:1: note: include '' or provide a declaration of 'free' +++ |+#include 1 | /* alloca.c -- allocate automatically reclaimed memory alloca.c:168:11: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 168 | free ((pointer) hp); /* Collect garbage. */ | ^~~~ alloca.c:168:11: note: include '' or provide a declaration of 'free' cc -pipe -O2 -I/usr/pkg/include `if [ x = x ]; then echo cre-conv-tab.c; else echo ; fi` -o cre-conv-tab -lm cre-conv-tab.c:59:1: warning: return type defaults to 'int' [-Wimplicit-int] 59 | main () | ^~~~ cre-conv-tab.c: In function 'main': cre-conv-tab.c:80:3: warning: implicit declaration of function 'puts' [-Wimplicit-function-declaration] 80 | puts ("/* __mp_bases -- Structure for conversion between internal binary"); | ^~~~ cre-conv-tab.c:24:1: note: include '' or provide a declaration of 'puts' 23 | #include "longlong.h" +++ |+#include 24 | cre-conv-tab.c:135:7: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 135 | printf (" /* %2u */ {%lu, 0x%lX, 0x%lX, %.8f},\n", | ^~~~~~ cre-conv-tab.c:135:7: note: include '' or provide a declaration of 'printf' cre-conv-tab.c:135:7: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] cre-conv-tab.c:135:7: note: include '' or provide a declaration of 'printf' cre-conv-tab.c:140:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 140 | exit (0); | ^~~~ cre-conv-tab.c:24:1: note: include '' or provide a declaration of 'exit' 23 | #include "longlong.h" +++ |+#include 24 | cre-conv-tab.c:140:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 140 | exit (0); | ^~~~ cre-conv-tab.c:140:3: note: include '' or provide a declaration of 'exit' ./cre-conv-tab > tmp-mp_bases.c mv tmp-mp_bases.c mp_bases.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mp_bases.c rm -f libgmp.a ar cr libgmp.a mpz_init.o mpz_set.o mpz_set_ui.o mpz_set_si.o mpz_set_str.o mpz_iset.o mpz_iset_ui.o mpz_iset_si.o mpz_iset_str.o mpz_clear.o mpz_get_ui.o mpz_get_si.o mpz_get_str.o mpz_size.o mpz_sizeinb.o mpz_add.o mpz_add_ui.o mpz_sub.o mpz_sub_ui.o mpz_mul.o mpz_mul_ui.o mpz_div.o mpz_div_ui.o mpz_mod.o mpz_mod_ui.o mpz_dm.o mpz_dm_ui.o mpz_mdiv.o mpz_mmod.o mpz_mdm.o mpz_mdiv_ui.o mpz_mmod_ui.o mpz_mdm_ui.o mpz_gcd.o mpz_gcdext.o mpz_sqrt.o mpz_sqrtrem.o mpz_powm.o mpz_powm_ui.o mpz_cmp.o mpz_cmp_ui.o mpz_cmp_si.o mpz_mul_2exp.o mpz_div_2exp.o mpz_mod_2exp.o mpz_abs.o mpz_neg.o mpz_com.o mpz_and.o mpz_ior.o mpz_inp_raw.o mpz_inp_str.o mpz_out_raw.o mpz_out_str.o mpz_perfsqr.o mpz_random.o mpz_random2.o mpz_pow_ui.o mpz_clrbit.o mpz_fac_ui.o mpz_pprime_p.o mpq_init.o mpq_set.o mpq_set_ui.o mpq_set_si.o mpq_set_num.o mpq_set_den.o mpq_get_num.o mpq_get_den.o mpq_add.o mpq_sub.o mpq_mul.o mpq_div.o mpq_clear.o mpq_cmp.o mpq_inv.o mpq_neg.o mpn_add.o mpn_sub.o mpn_cmp.o mpn_mul.o mpn_div.o mpn_dm_1.o mpn_mod_1.o mpn_lshift.o mpn_rshift.o mpn_rshiftci.o mpn_sqrt.o memory.o mp_set_fns.o _mpz_set_str.o _mpz_get_str.o mpz_realloc.o mp_clz_tab.o alloca.o mp_bases.o `if [ -r /bin/ranlib -o -r /usr/bin/ranlib ]; then echo ranlib; else echo true; fi` libgmp.a cc -pipe -O2 -I/usr/pkg/include -E -DBERKELEY_MP mpz_gcd.c | grep -v '^#' > gcd.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c gcd.c gcd.c: In function 'gcd': gcd.c:243:92: warning: left shift count >= width of type [-Wshift-count-overflow] 243 | do { unsigned long int __xr = (d & -d); unsigned int __a; if (64 <= 32) { __a = __xr < (1<<2*(64 / 4)) ? (__xr < (1<<(64 / 4)) ? 0 : (64 / 4)) : (__xr < (1<<3*(64 / 4)) ? 2*(64 / 4) : 3*(64 / 4)); } else { for (__a = 64 - 8; __a > 0; __a -= 8) if (((__xr >> __a) & 0xff) != 0) break; } (bcnt) = 64 - (__clz_tab[__xr >> __a] + __a); } while (0); | ^~ gcd.c:243:158: warning: left shift count >= width of type [-Wshift-count-overflow] 243 | do { unsigned long int __xr = (d & -d); unsigned int __a; if (64 <= 32) { __a = __xr < (1<<2*(64 / 4)) ? (__xr < (1<<(64 / 4)) ? 0 : (64 / 4)) : (__xr < (1<<3*(64 / 4)) ? 2*(64 / 4) : 3*(64 / 4)); } else { for (__a = 64 - 8; __a > 0; __a -= 8) if (((__xr >> __a) & 0xff) != 0) break; } (bcnt) = 64 - (__clz_tab[__xr >> __a] + __a); } while (0); | ^~ gcd.c:256:92: warning: left shift count >= width of type [-Wshift-count-overflow] 256 | do { unsigned long int __xr = (d & -d); unsigned int __a; if (64 <= 32) { __a = __xr < (1<<2*(64 / 4)) ? (__xr < (1<<(64 / 4)) ? 0 : (64 / 4)) : (__xr < (1<<3*(64 / 4)) ? 2*(64 / 4) : 3*(64 / 4)); } else { for (__a = 64 - 8; __a > 0; __a -= 8) if (((__xr >> __a) & 0xff) != 0) break; } (bcnt) = 64 - (__clz_tab[__xr >> __a] + __a); } while (0); | ^~ gcd.c:256:158: warning: left shift count >= width of type [-Wshift-count-overflow] 256 | do { unsigned long int __xr = (d & -d); unsigned int __a; if (64 <= 32) { __a = __xr < (1<<2*(64 / 4)) ? (__xr < (1<<(64 / 4)) ? 0 : (64 / 4)) : (__xr < (1<<3*(64 / 4)) ? 2*(64 / 4) : 3*(64 / 4)); } else { for (__a = 64 - 8; __a > 0; __a -= 8) if (((__xr >> __a) & 0xff) != 0) break; } (bcnt) = 64 - (__clz_tab[__xr >> __a] + __a); } while (0); | ^~ gcd.c:284:93: warning: left shift count >= width of type [-Wshift-count-overflow] 284 | do { unsigned long int __xr = (d & -d); unsigned int __a; if (64 <= 32) { __a = __xr < (1<<2*(64 / 4)) ? (__xr < (1<<(64 / 4)) ? 0 : (64 / 4)) : (__xr < (1<<3*(64 / 4)) ? 2*(64 / 4) : 3*(64 / 4)); } else { for (__a = 64 - 8; __a > 0; __a -= 8) if (((__xr >> __a) & 0xff) != 0) break; } (bcnt) = 64 - (__clz_tab[__xr >> __a] + __a); } while (0); | ^~ gcd.c:284:159: warning: left shift count >= width of type [-Wshift-count-overflow] 284 | do { unsigned long int __xr = (d & -d); unsigned int __a; if (64 <= 32) { __a = __xr < (1<<2*(64 / 4)) ? (__xr < (1<<(64 / 4)) ? 0 : (64 / 4)) : (__xr < (1<<3*(64 / 4)) ? 2*(64 / 4) : 3*(64 / 4)); } else { for (__a = 64 - 8; __a > 0; __a -= 8) if (((__xr >> __a) & 0xff) != 0) break; } (bcnt) = 64 - (__clz_tab[__xr >> __a] + __a); } while (0); | ^~ gcd.c:296:93: warning: left shift count >= width of type [-Wshift-count-overflow] 296 | do { unsigned long int __xr = (d & -d); unsigned int __a; if (64 <= 32) { __a = __xr < (1<<2*(64 / 4)) ? (__xr < (1<<(64 / 4)) ? 0 : (64 / 4)) : (__xr < (1<<3*(64 / 4)) ? 2*(64 / 4) : 3*(64 / 4)); } else { for (__a = 64 - 8; __a > 0; __a -= 8) if (((__xr >> __a) & 0xff) != 0) break; } (bcnt) = 64 - (__clz_tab[__xr >> __a] + __a); } while (0); | ^~ gcd.c:296:159: warning: left shift count >= width of type [-Wshift-count-overflow] 296 | do { unsigned long int __xr = (d & -d); unsigned int __a; if (64 <= 32) { __a = __xr < (1<<2*(64 / 4)) ? (__xr < (1<<(64 / 4)) ? 0 : (64 / 4)) : (__xr < (1<<3*(64 / 4)) ? 2*(64 / 4) : 3*(64 / 4)); } else { for (__a = 64 - 8; __a > 0; __a -= 8) if (((__xr >> __a) & 0xff) != 0) break; } (bcnt) = 64 - (__clz_tab[__xr >> __a] + __a); } while (0); | ^~ gcd.c:323:3: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 323 | __builtin_alloca (0); | ^~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c itom.c In file included from itom.c:21: mp.h:72:6: warning: conflicting types for built-in function 'pow'; expected 'double(double, double)' [-Wbuiltin-declaration-mismatch] 72 | void pow (const MINT *, const MINT *, const MINT *, MINT *); | ^~~ mp.h:29:1: note: 'pow' is declared in header '' 28 | #include +++ |+#include 29 | #endif cc -pipe -O2 -I/usr/pkg/include -E -DBERKELEY_MP mpz_add.c | grep -v '^#' > madd.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c madd.c cc -pipe -O2 -I/usr/pkg/include -E -DBERKELEY_MP mpz_cmp.c | grep -v '^#' > mcmp.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mcmp.c mcmp.c:30:6: warning: conflicting types for built-in function 'pow'; expected 'double(double, double)' [-Wbuiltin-declaration-mismatch] 30 | void pow (const __MP_INT *, const __MP_INT *, const __MP_INT *, __MP_INT *); | ^~~ mcmp.c:1:1: note: 'pow' is declared in header '' +++ |+#include 1 | cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c mdiv.c In file included from mdiv.c:21: mp.h:72:6: warning: conflicting types for built-in function 'pow'; expected 'double(double, double)' [-Wbuiltin-declaration-mismatch] 72 | void pow (const MINT *, const MINT *, const MINT *, MINT *); | ^~~ mp.h:29:1: note: 'pow' is declared in header '' 28 | #include +++ |+#include 29 | #endif In file included from mdiv.c:24: mpz_dmincl.c: In function 'mdiv': longlong.h:1010:24: warning: left shift count >= width of type [-Wshift-count-overflow] 1010 | __a = __xr < (1<<2*__BITS4) \ | ^~ mpz_dmincl.c:94:3: note: in expansion of macro 'count_leading_zeros' 94 | count_leading_zeros (normalization_steps, dp[dsize - 1]); | ^~~~~~~~~~~~~~~~~~~ longlong.h:1012:23: warning: left shift count >= width of type [-Wshift-count-overflow] 1012 | : (__xr < (1<<3*__BITS4) ? 2*__BITS4 : 3*__BITS4); \ | ^~ mpz_dmincl.c:94:3: note: in expansion of macro 'count_leading_zeros' 94 | count_leading_zeros (normalization_steps, dp[dsize - 1]); | ^~~~~~~~~~~~~~~~~~~ In file included from mdiv.c:23: gmp-impl.h:22:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | #define alloca __builtin_alloca mpz_dmincl.c:171:3: note: in expansion of macro 'alloca' 171 | alloca (0); | ^~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include -c move.c In file included from move.c:21: mp.h:72:6: warning: conflicting types for built-in function 'pow'; expected 'double(double, double)' [-Wbuiltin-declaration-mismatch] 72 | void pow (const MINT *, const MINT *, const MINT *, MINT *); | ^~~ mp.h:29:1: note: 'pow' is declared in header '' 28 | #include +++ |+#include 29 | #endif {standard input}: Assembler messages: {standard input}: Fatal error: can't write 35 byte Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/STk *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/STk