+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/open-cobol-ce-1.1.59nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/open-cobol-ce-1.1.59nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for open-cobol-ce-1.1.59nb1 Creating defaults.h... /opt/pkg/bin/bmake all-recursive Making all in lib if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT dummymac.o -MD -MP -MF ".deps/dummymac.Tpo" -c -o dummymac.o dummymac.c; then mv -f ".deps/dummymac.Tpo" ".deps/dummymac.Po"; else rm -f ".deps/dummymac.Tpo"; exit 1; fi rm -f libsupport.a ar cru libsupport.a dummymac.o ranlib libsupport.a Making all in libcob if /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-common.lo -MD -MP -MF ".deps/libcob_la-common.Tpo" -c -o libcob_la-common.lo `test -f 'common.c' || echo './'`common.c; then mv -f ".deps/libcob_la-common.Tpo" ".deps/libcob_la-common.Plo"; else rm -f ".deps/libcob_la-common.Tpo"; exit 1; fi libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-common.lo -MD -MP -MF .deps/libcob_la-common.Tpo -c common.c -fPIC -DPIC -o .libs/libcob_la-common.o common.c: In function 'cobcommandline': common.c:1734:25: warning: variable 'sflags' set but not used [-Wunused-but-set-variable] 1734 | int sflags; | ^~~~~~ common.c:1733:26: warning: variable 'spname' set but not used [-Wunused-but-set-variable] 1733 | char *spname; | ^~~~~~ common.c:1732:27: warning: variable 'spenvp' set but not used [-Wunused-but-set-variable] 1732 | char **spenvp; | ^~~~~~ common.c: In function 'cob_accept_time': common.c:1440:25: warning: '%2.2ld' directive writing between 2 and 16 bytes into a region of size 8 [-Wformat-overflow=] 1440 | sprintf(buff2, "%2.2ld", tmv.tv_usec / 10000); | ^~~~~~ common.c:1440:24: note: directive argument in the range [-922337203685477, 922337203685477] 1440 | sprintf(buff2, "%2.2ld", tmv.tv_usec / 10000); | ^~~~~~~~ common.c:1440:9: note: 'sprintf' output between 3 and 17 bytes into a destination of size 8 1440 | sprintf(buff2, "%2.2ld", tmv.tv_usec / 10000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-common.lo -MD -MP -MF .deps/libcob_la-common.Tpo -c common.c -o libcob_la-common.o >/dev/null 2>&1 if /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-call.lo -MD -MP -MF ".deps/libcob_la-call.Tpo" -c -o libcob_la-call.lo `test -f 'call.c' || echo './'`call.c; then mv -f ".deps/libcob_la-call.Tpo" ".deps/libcob_la-call.Plo"; else rm -f ".deps/libcob_la-call.Tpo"; exit 1; fi libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-call.lo -MD -MP -MF .deps/libcob_la-call.Tpo -c call.c -fPIC -DPIC -o .libs/libcob_la-call.o call.c: In function 'cobsavenv2': call.c:665:17: warning: variable 'jtemp' set but not used [-Wunused-but-set-variable] 665 | int jtemp; | ^~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-call.lo -MD -MP -MF .deps/libcob_la-call.Tpo -c call.c -o libcob_la-call.o >/dev/null 2>&1 if /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-strings.lo -MD -MP -MF ".deps/libcob_la-strings.Tpo" -c -o libcob_la-strings.lo `test -f 'strings.c' || echo './'`strings.c; then mv -f ".deps/libcob_la-strings.Tpo" ".deps/libcob_la-strings.Plo"; else rm -f ".deps/libcob_la-strings.Tpo"; exit 1; fi libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-strings.lo -MD -MP -MF .deps/libcob_la-strings.Tpo -c strings.c -fPIC -DPIC -o .libs/libcob_la-strings.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-strings.lo -MD -MP -MF .deps/libcob_la-strings.Tpo -c strings.c -o libcob_la-strings.o >/dev/null 2>&1 if /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-move.lo -MD -MP -MF ".deps/libcob_la-move.Tpo" -c -o libcob_la-move.lo `test -f 'move.c' || echo './'`move.c; then mv -f ".deps/libcob_la-move.Tpo" ".deps/libcob_la-move.Plo"; else rm -f ".deps/libcob_la-move.Tpo"; exit 1; fi libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-move.lo -MD -MP -MF .deps/libcob_la-move.Tpo -c move.c -fPIC -DPIC -o .libs/libcob_la-move.o move.c: In function 'cob_move_fp_to_display': move.c:488:25: warning: variable 'frac' set but not used [-Wunused-but-set-variable] 488 | double frac; | ^~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-move.lo -MD -MP -MF .deps/libcob_la-move.Tpo -c move.c -o libcob_la-move.o >/dev/null 2>&1 if /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-numeric.lo -MD -MP -MF ".deps/libcob_la-numeric.Tpo" -c -o libcob_la-numeric.lo `test -f 'numeric.c' || echo './'`numeric.c; then mv -f ".deps/libcob_la-numeric.Tpo" ".deps/libcob_la-numeric.Plo"; else rm -f ".deps/libcob_la-numeric.Tpo"; exit 1; fi libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-numeric.lo -MD -MP -MF .deps/libcob_la-numeric.Tpo -c numeric.c -fPIC -DPIC -o .libs/libcob_la-numeric.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-numeric.lo -MD -MP -MF .deps/libcob_la-numeric.Tpo -c numeric.c -o libcob_la-numeric.o >/dev/null 2>&1 if /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-intrinsic.lo -MD -MP -MF ".deps/libcob_la-intrinsic.Tpo" -c -o libcob_la-intrinsic.lo `test -f 'intrinsic.c' || echo './'`intrinsic.c; then mv -f ".deps/libcob_la-intrinsic.Tpo" ".deps/libcob_la-intrinsic.Plo"; else rm -f ".deps/libcob_la-intrinsic.Tpo"; exit 1; fi libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-intrinsic.lo -MD -MP -MF .deps/libcob_la-intrinsic.Tpo -c intrinsic.c -fPIC -DPIC -o .libs/libcob_la-intrinsic.o intrinsic.c: In function 'cob_intr_current_date': intrinsic.c:1109:29: warning: '%2.2ld' directive output may be truncated writing between 2 and 16 bytes into a region of size 7 [-Wformat-truncation=] 1109 | snprintf(buff2, 7, "%2.2ld", tmv.tv_usec / 10000); | ^~~~~~ intrinsic.c:1109:28: note: directive argument in the range [-922337203685477, 922337203685477] 1109 | snprintf(buff2, 7, "%2.2ld", tmv.tv_usec / 10000); | ^~~~~~~~ intrinsic.c:1109:9: note: 'snprintf' output between 3 and 17 bytes into a destination of size 7 1109 | snprintf(buff2, 7, "%2.2ld", tmv.tv_usec / 10000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intrinsic.c: In function 'cob_intr_date_of_integer': intrinsic.c:1254:40: warning: '%2.2d' directive output may be truncated writing between 2 and 11 bytes into a region of size between 3 and 9 [-Wformat-truncation=] 1254 | snprintf (buff, 15, "%4.4d%2.2d%2.2d", baseyear, i, days); | ^~~~~ intrinsic.c:1254:29: note: directive argument in the range [-2147483646, 2147483647] 1254 | snprintf (buff, 15, "%4.4d%2.2d%2.2d", baseyear, i, days); | ^~~~~~~~~~~~~~~~~ intrinsic.c:1254:9: note: 'snprintf' output between 9 and 24 bytes into a destination of size 15 1254 | snprintf (buff, 15, "%4.4d%2.2d%2.2d", baseyear, i, days); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-intrinsic.lo -MD -MP -MF .deps/libcob_la-intrinsic.Tpo -c intrinsic.c -o libcob_la-intrinsic.o >/dev/null 2>&1 if /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-fileio.lo -MD -MP -MF ".deps/libcob_la-fileio.Tpo" -c -o libcob_la-fileio.lo `test -f 'fileio.c' || echo './'`fileio.c; then mv -f ".deps/libcob_la-fileio.Tpo" ".deps/libcob_la-fileio.Plo"; else rm -f ".deps/libcob_la-fileio.Tpo"; exit 1; fi libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-fileio.lo -MD -MP -MF .deps/libcob_la-fileio.Tpo -c fileio.c -fPIC -DPIC -o .libs/libcob_la-fileio.o fileio.c: In function 'indexed_start_internal': fileio.c:2303:61: warning: 'dupno' may be used uninitialized [-Wmaybe-uninitialized] 2303 | p->last_dupno[p->key_index] = dupno; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ fileio.c:2155:33: note: 'dupno' was declared here 2155 | unsigned int dupno; | ^~~~~ fileio.c: In function 'indexed_read_next': fileio.c:3074:61: warning: 'dupno' may be used uninitialized [-Wmaybe-uninitialized] 3074 | p->last_dupno[p->key_index] = dupno; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ fileio.c:2816:33: note: 'dupno' was declared here 2816 | unsigned int dupno; | ^~~~~ fileio.c: In function 'CBL_COPY_FILE': fileio.c:4762:21: warning: pointer 'fn1' may be used after 'free' [-Wuse-after-free] 4762 | if (write (fd2, fn1, (size_t)i) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:4749:9: note: call to 'free' here 4749 | free (fn1); | ^~~~~~~~~~ fileio.c:4761:21: warning: pointer 'fn1' may be used after 'free' [-Wuse-after-free] 4761 | while ((i = read (fd1, fn1, sizeof(fn1))) > 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:4749:9: note: call to 'free' here 4749 | free (fn1); | ^~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-fileio.lo -MD -MP -MF .deps/libcob_la-fileio.Tpo -c fileio.c -o libcob_la-fileio.o >/dev/null 2>&1 if /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-termio.lo -MD -MP -MF ".deps/libcob_la-termio.Tpo" -c -o libcob_la-termio.lo `test -f 'termio.c' || echo './'`termio.c; then mv -f ".deps/libcob_la-termio.Tpo" ".deps/libcob_la-termio.Plo"; else rm -f ".deps/libcob_la-termio.Tpo"; exit 1; fi libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-termio.lo -MD -MP -MF .deps/libcob_la-termio.Tpo -c termio.c -fPIC -DPIC -o .libs/libcob_la-termio.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-termio.lo -MD -MP -MF .deps/libcob_la-termio.Tpo -c termio.c -o libcob_la-termio.o >/dev/null 2>&1 if /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-screenio.lo -MD -MP -MF ".deps/libcob_la-screenio.Tpo" -c -o libcob_la-screenio.lo `test -f 'screenio.c' || echo './'`screenio.c; then mv -f ".deps/libcob_la-screenio.Tpo" ".deps/libcob_la-screenio.Plo"; else rm -f ".deps/libcob_la-screenio.Tpo"; exit 1; fi libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-screenio.lo -MD -MP -MF .deps/libcob_la-screenio.Tpo -c screenio.c -fPIC -DPIC -o .libs/libcob_la-screenio.o screenio.c: In function 'cob_check_pos_status': screenio.c:476:50: warning: '%6.6d' directive writing between 6 and 9 bytes into a region of size 8 [-Wformat-overflow=] 476 | sprintf(datbuf, "%6.6d", sline); | ^~~~~ screenio.c:476:49: note: directive argument in the range [-32800768, 32799767] 476 | sprintf(datbuf, "%6.6d", sline); | ^~~~~~~ screenio.c:476:33: note: 'sprintf' output between 7 and 10 bytes into a destination of size 8 476 | sprintf(datbuf, "%6.6d", sline); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screenio.c:471:55: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 471 | sprintf(datbuf, "%4.4d", sline); | ^ screenio.c:471:33: note: 'sprintf' output between 5 and 9 bytes into a destination of size 8 471 | sprintf(datbuf, "%4.4d", sline); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT libcob_la-screenio.lo -MD -MP -MF .deps/libcob_la-screenio.Tpo -c screenio.c -o libcob_la-screenio.o >/dev/null 2>&1 /usr/bin/bash ../libtool --tag=CC --mode=link gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o libcob.la -rpath /opt/pkg/lib -version-info 1:0:0 -no-undefined libcob_la-common.lo libcob_la-call.lo libcob_la-strings.lo libcob_la-move.lo libcob_la-numeric.lo libcob_la-intrinsic.lo libcob_la-fileio.lo libcob_la-termio.lo libcob_la-screenio.lo -lm -lgmp -lncurses -ldb4 libtool: link: gcc -shared -fPIC -DPIC -Wl,-z -Wl,text -Wl,-h -Wl,libcob.so.1 -o .libs/libcob.so.1.0.0 .libs/libcob_la-common.o .libs/libcob_la-call.o .libs/libcob_la-strings.o .libs/libcob_la-move.o .libs/libcob_la-numeric.o .libs/libcob_la-intrinsic.o .libs/libcob_la-fileio.o .libs/libcob_la-termio.o .libs/libcob_la-screenio.o -R/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/lib -R/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/lib -L/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/lib -lm /home/pbulk/build/lang/open-cobol-ce/work/.buildlink/lib/libgmp.so /home/pbulk/build/lang/open-cobol-ce/work/.buildlink/lib/libncurses.so -L../lib -ldb4 -O2 -msave-args -Wl,-rpath -Wl,/opt/pkg/lib libtool: link: (cd ".libs" && rm -f "libcob.so.1" && ln -s "libcob.so.1.0.0" "libcob.so.1") libtool: link: (cd ".libs" && rm -f "libcob.so" && ln -s "libcob.so.1.0.0" "libcob.so") libtool: link: ar cr .libs/libcob.a libcob_la-common.o libcob_la-call.o libcob_la-strings.o libcob_la-move.o libcob_la-numeric.o libcob_la-intrinsic.o libcob_la-fileio.o libcob_la-termio.o libcob_la-screenio.o libtool: link: ranlib .libs/libcob.a libtool: link: ( cd ".libs" && rm -f "libcob.la" && ln -s "../libcob.la" "libcob.la" ) Making all in cobc bmake[2]: "/home/pbulk/build/lang/open-cobol-ce/work/open-cobol-ce-1.1/cobc/Makefile" line 703: warning: duplicate script for target "%.c" ignored bmake[2]: "/home/pbulk/build/lang/open-cobol-ce/work/open-cobol-ce-1.1/cobc/Makefile" line 700: warning: using previous script for "%.c" defined here /opt/pkg/bin/bmake all-am bmake[3]: "/home/pbulk/build/lang/open-cobol-ce/work/open-cobol-ce-1.1/cobc/Makefile" line 703: warning: duplicate script for target "%.c" ignored bmake[3]: "/home/pbulk/build/lang/open-cobol-ce/work/open-cobol-ce-1.1/cobc/Makefile" line 700: warning: using previous script for "%.c" defined here if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT cobc-cobc.o -MD -MP -MF ".deps/cobc-cobc.Tpo" -c -o cobc-cobc.o `test -f 'cobc.c' || echo './'`cobc.c; then mv -f ".deps/cobc-cobc.Tpo" ".deps/cobc-cobc.Po"; else rm -f ".deps/cobc-cobc.Tpo"; exit 1; fi cobc.c: In function 'process_module_direct': cobc.c:1623:58: warning: '%s' directive writing up to 8191 bytes into a region of size between 5087 and 8156 [-Wformat-overflow=] 1623 | sprintf (buff, "%s %s %s %s %s %s %s %s -o %s %s %s", | ^~ ...... 1626 | fn->translate, cob_libs); | ~~~~~~~~ cobc.c:1623:9: note: 'sprintf' output 37 or more bytes (assuming 11297) into a destination of size 8192 1623 | sprintf (buff, "%s %s %s %s %s %s %s %s -o %s %s %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1624 | cob_cc, gccpipe, cob_cflags, cob_define_flags, COB_SHARED_OPT, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1625 | cob_ldflags, COB_PIC_FLAGS, COB_EXPORT_DYN, name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1626 | fn->translate, cob_libs); | ~~~~~~~~~~~~~~~~~~~~~~~~ cobc.c: In function 'process_module': cobc.c:1686:52: warning: '%s' directive writing up to 8191 bytes into a region of size between 7135 and 8158 [-Wformat-overflow=] 1686 | sprintf (buff, "%s %s %s %s %s %s -o %s %s %s", | ^~ 1687 | cob_cc, gccpipe, COB_SHARED_OPT, cob_ldflags, COB_PIC_FLAGS, 1688 | COB_EXPORT_DYN, name, fn->object, cob_libs); | ~~~~~~~~ cobc.c:1686:9: note: 'sprintf' output 35 or more bytes (assuming 9249) into a destination of size 8192 1686 | sprintf (buff, "%s %s %s %s %s %s -o %s %s %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1687 | cob_cc, gccpipe, COB_SHARED_OPT, cob_ldflags, COB_PIC_FLAGS, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1688 | COB_EXPORT_DYN, name, fn->object, cob_libs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT cobc-config.o -MD -MP -MF ".deps/cobc-config.Tpo" -c -o cobc-config.o `test -f 'config.c' || echo './'`config.c; then mv -f ".deps/cobc-config.Tpo" ".deps/cobc-config.Po"; else rm -f ".deps/cobc-config.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT cobc-tree.o -MD -MP -MF ".deps/cobc-tree.Tpo" -c -o cobc-tree.o `test -f 'tree.c' || echo './'`tree.c; then mv -f ".deps/cobc-tree.Tpo" ".deps/cobc-tree.Po"; else rm -f ".deps/cobc-tree.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT cobc-reserved.o -MD -MP -MF ".deps/cobc-reserved.Tpo" -c -o cobc-reserved.o `test -f 'reserved.c' || echo './'`reserved.c; then mv -f ".deps/cobc-reserved.Tpo" ".deps/cobc-reserved.Po"; else rm -f ".deps/cobc-reserved.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT cobc-error.o -MD -MP -MF ".deps/cobc-error.Tpo" -c -o cobc-error.o `test -f 'error.c' || echo './'`error.c; then mv -f ".deps/cobc-error.Tpo" ".deps/cobc-error.Po"; else rm -f ".deps/cobc-error.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT cobc-parser.o -MD -MP -MF ".deps/cobc-parser.Tpo" -c -o cobc-parser.o `test -f 'parser.c' || echo './'`parser.c; then mv -f ".deps/cobc-parser.Tpo" ".deps/cobc-parser.Po"; else rm -f ".deps/cobc-parser.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT cobc-scanner.o -MD -MP -MF ".deps/cobc-scanner.Tpo" -c -o cobc-scanner.o `test -f 'scanner.c' || echo './'`scanner.c; then mv -f ".deps/cobc-scanner.Tpo" ".deps/cobc-scanner.Po"; else rm -f ".deps/cobc-scanner.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT cobc-field.o -MD -MP -MF ".deps/cobc-field.Tpo" -c -o cobc-field.o `test -f 'field.c' || echo './'`field.c; then mv -f ".deps/cobc-field.Tpo" ".deps/cobc-field.Po"; else rm -f ".deps/cobc-field.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT cobc-typeck.o -MD -MP -MF ".deps/cobc-typeck.Tpo" -c -o cobc-typeck.o `test -f 'typeck.c' || echo './'`typeck.c; then mv -f ".deps/cobc-typeck.Tpo" ".deps/cobc-typeck.Po"; else rm -f ".deps/cobc-typeck.Tpo"; exit 1; fi typeck.c:294:32: warning: 'align_bin_sub_funcs' defined but not used [-Wunused-const-variable=] 294 | static const char *const align_bin_sub_funcs[] = { | ^~~~~~~~~~~~~~~~~~~ typeck.c:259:32: warning: 'align_bin_add_funcs' defined but not used [-Wunused-const-variable=] 259 | static const char *const align_bin_add_funcs[] = { | ^~~~~~~~~~~~~~~~~~~ typeck.c:224:32: warning: 'align_bin_compare_funcs' defined but not used [-Wunused-const-variable=] 224 | static const char *const align_bin_compare_funcs[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT cobc-codegen.o -MD -MP -MF ".deps/cobc-codegen.Tpo" -c -o cobc-codegen.o `test -f 'codegen.c' || echo './'`codegen.c; then mv -f ".deps/cobc-codegen.Tpo" ".deps/cobc-codegen.Po"; else rm -f ".deps/cobc-codegen.Tpo"; exit 1; fi codegen.c: In function 'output_param': codegen.c:988:33: warning: variable 'extrefs' set but not used [-Wunused-but-set-variable] 988 | int extrefs; | ^~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT cobc-ppparse.o -MD -MP -MF ".deps/cobc-ppparse.Tpo" -c -o cobc-ppparse.o `test -f 'ppparse.c' || echo './'`ppparse.c; then mv -f ".deps/cobc-ppparse.Tpo" ".deps/cobc-ppparse.Po"; else rm -f ".deps/cobc-ppparse.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT cobc-pplex.o -MD -MP -MF ".deps/cobc-pplex.Tpo" -c -o cobc-pplex.o `test -f 'pplex.c' || echo './'`pplex.c; then mv -f ".deps/cobc-pplex.Tpo" ".deps/cobc-pplex.Po"; else rm -f ".deps/cobc-pplex.Tpo"; exit 1; fi /usr/bin/bash ../libtool --tag=CC --mode=link gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o cobc cobc-cobc.o cobc-config.o cobc-tree.o cobc-reserved.o cobc-error.o cobc-parser.o cobc-scanner.o cobc-field.o cobc-typeck.o cobc-codegen.o cobc-ppparse.o cobc-pplex.o ../lib/libsupport.a libtool: link: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -Wl,-rpath -Wl,/opt/pkg/lib -o cobc cobc-cobc.o cobc-config.o cobc-tree.o cobc-reserved.o cobc-error.o cobc-parser.o cobc-scanner.o cobc-field.o cobc-typeck.o cobc-codegen.o cobc-ppparse.o cobc-pplex.o -L/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/lib ../lib/libsupport.a Making all in bin if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT cobcrun-cobcrun.o -MD -MP -MF ".deps/cobcrun-cobcrun.Tpo" -c -o cobcrun-cobcrun.o `test -f 'cobcrun.c' || echo './'`cobcrun.c; then mv -f ".deps/cobcrun-cobcrun.Tpo" ".deps/cobcrun-cobcrun.Po"; else rm -f ".deps/cobcrun-cobcrun.Tpo"; exit 1; fi cobcrun.c: In function 'main': cobcrun.c:64:36: warning: '%2.2d' directive writing between 2 and 11 bytes into a region of size between 0 and 63 [-Wformat-overflow=] 64 | sprintf (buff, "%s %2.2d %4.4d %s", month, day, year, __TIME__); | ^~~~~ In function 'cobcrun_print_version', inlined from 'process_command_line' at cobcrun.c:119:4, inlined from 'main' at cobcrun.c:141:15: cobcrun.c:64:32: note: using the range [-2147483648, 2147483647] for directive argument 64 | sprintf (buff, "%s %2.2d %4.4d %s", month, day, year, __TIME__); | ^~~~~~~~~~~~~~~~~~~ cobcrun.c:64:32: note: using the range [-2147483648, 2147483647] for directive argument cobcrun.c:64:17: note: 'sprintf' output between 18 and 97 bytes into a destination of size 64 64 | sprintf (buff, "%s %2.2d %4.4d %s", month, day, year, __TIME__); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ../libtool --tag=CC --mode=link gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/db4 -I/opt/pkg/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o cobcrun cobcrun-cobcrun.o ../libcob/libcob.la libtool: link: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/db4 -I/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/include/ncurses -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -Wl,-rpath -Wl,/opt/pkg/lib -o .libs/cobcrun cobcrun-cobcrun.o -L/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/lib ../libcob/.libs/libcob.so -L../lib -lm /home/pbulk/build/lang/open-cobol-ce/work/.buildlink/lib/libgmp.so /home/pbulk/build/lang/open-cobol-ce/work/.buildlink/lib/libncurses.so -ldb4 -R/opt/pkg/lib -R/home/pbulk/build/lang/open-cobol-ce/work/.buildlink/lib Making all in config Making all in copy Making all in po Making all in texi Making all in tests Making all in cobol85 Making all in extras . ../tests/atconfig; . ../tests/atlocal; cobc -m -Wall -std=mf -O ../extras/CBL_OC_DUMP.cob /tmp/cob224943_0.c: In function 'CBL_OC_DUMP_': /tmp/cob224943_0.c:168:16: warning: implicit declaration of function 'cob_cmp_u32_binary' [-Wimplicit-function-declaration] 168 | if (!((int)cob_cmp_u32_binary (b_9, 1) == 0)) | ^~~~~~~~~~~~~~~~~~ /tmp/cob224943_0.c:316:15: warning: implicit declaration of function 'cob_cmp_u24_binary' [-Wimplicit-function-declaration] 316 | if (((int)cob_cmp_u24_binary (b_39, 0) > 0)) | ^~~~~~~~~~~~~~~~~~ /tmp/cob224943_0.c:341:25: warning: implicit declaration of function 'cob_cmp_u16_binary' [-Wimplicit-function-declaration] 341 | if (((int)cob_cmp_u16_binary (b_8, 8) > 0)) | ^~~~~~~~~~~~~~~~~~ /tmp/cob224943_0.c:565:9: warning: implicit declaration of function 'cob_add_u24_binary' [-Wimplicit-function-declaration] 565 | cob_add_u24_binary (b_7, 16); | ^~~~~~~~~~~~~~~~~~