* Package: dev-lang/open-cobol-1.1 * Repository: gentoo * Maintainer: patrick@gentoo.org * USE: abi_x86_64 amd64 berkdb elibc_glibc kernel_linux nls pie readline split-usr ssp userland_GNU * FEATURES: fakeroot network-sandbox preserve-libs sandbox usersandbox Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. [master aab212f] saving uncommitted changes in /etc prior to emerge run Author: Alessandro-Barbieri 1 file changed, 1 insertion(+), 1 deletion(-) >>> -sandbox(setup) ]0;emerge 15:11:49 1|4 open-cobol (root@ALESSAND-F1E8)kemerge 15:11:49 1|4 open-cobol (root@ALESSAND-F1E8)\ * /etc/portage/package.cflags/cflags -> */*: NOFFLAGS=1 * /etc/portage/package.cflags/cflags -> */*: LDFLAGS-="-Wl,-z,now -Wl,-z,relro" * /etc/portage/package.cflags/cflags -> */*: USE_NONGNU="" +fPIE +fstack-protector-all +D_FORTIFY_SOURCE=2 * FEATURES='assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy cgroup clean-logs config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms sign split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr' * CFLAGS='-Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu' * CXXFLAGS='-Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu' * FFLAGS='-Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops' * FCFLAGS='-Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops' * F77FLAGS='-Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops' * LDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu' * MAKEOPTS='-j4 -l8' * gcc (Gentoo Hardened 9.2.0 p1) 9.2.0 * Linux ALESSAND-F1E8 4.19.10-rt-rt8-bfq-aufs4-debian-graysky-ksm #12 SMP PREEMPT RT Fri Sep 6 11:29:33 CEST 2019 x86_64 Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz GenuineIntel GNU/Linux >>> Unpacking source... >>> Unpacking open-cobol-1.1.tar.gz to /var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work >>> Source unpacked in /var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work >>> Compiling source in /var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1 ... * econf: updating open-cobol-1.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating open-cobol-1.1/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-db --enable-nls --with-readline checking for a BSD-compatible install... /usr/lib/portage/pypy/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-pc-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether ln -s works... yes checking for a BSD-compatible install... /usr/lib/portage/pypy/ebuild-helpers/xattr/install -c checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking how to recognize dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking the maximum length of command line arguments... 1572864 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... ar checking for x86_64-pc-linux-gnu-ranlib... ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool checking whether make sets $(MAKE)... (cached) yes checking for ANSI C header files... (cached) yes checking for stdint.h... (cached) yes checking for sys/types.h... (cached) yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for dlfcn.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for inline... inline checking for working alloca.h... yes checking for alloca... yes checking for vprintf... yes checking for _doprnt... no checking for memmove... yes checking for memset... yes checking for setlocale... yes checking for fcntl... yes checking for strerror... yes checking for strcasecmp... yes checking for strchr... yes checking for strrchr... yes checking for strdup... yes checking for strstr... yes checking for strtol... yes checking for gettimeofday... yes checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for getopt_long_only... yes checking kpathsea/getopt.h usability... yes checking kpathsea/getopt.h presence... yes checking for kpathsea/getopt.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes checking for __gmp_randinit in -lgmp... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for initscr in -lncurses... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for BDB db.h version >= 4.1 ... yes (6.0) checking for BDB 4.1 compatibility in db ... yes checking for dlopen in -lc... no checking for dlopen in -ldl... (cached) yes configure: creating ./config.status config.status: creating cob-config config.status: creating Makefile config.status: creating lib/Makefile config.status: creating libcob/Makefile config.status: creating cobc/Makefile config.status: creating bin/Makefile config.status: creating po/Makefile.in config.status: creating texi/Makefile config.status: creating config/Makefile config.status: creating copy/Makefile config.status: creating tests/atlocal config.status: creating tests/Makefile config.status: creating tests/cobol85/Makefile config.status: creating config.h config.status: executing tests/atconfig commands config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile OpenCOBOL Configuration: CC gcc COB_CC gcc CFLAGS -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k COB_CFLAGS -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl, -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu COB_EXTRA_FLAGS LDFLAGS -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu COB_LDFLAGS -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu COB_LIBS -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -L/usr/lib64 -lcob -lm -lgmp -lncurses -ldb -ldl COB_CONFIG_DIR /usr/share/open-cobol/config COB_COPY_DIR /usr/share/open-cobol/copy COB_LIBRARY_PATH /usr/lib64/open-cobol COB_MODULE_EXT so COB_SHARED_OPT -shared COB_PIC_FLAGS -fPIC -DPIC COB_EXPORT_DYN -Wl,--export-dynamic COB_STRIP_CMD x86_64-pc-linux-gnu-strip --strip-unneeded Dynamic loading System Use gettext for international messages: yes Use Berkeley DB for file I/O: yes Use enhanced Berkeley DB (>= 4.1) yes Use fcntl for file locking: yes Use ncurses/pdcurses/curses for screen I/O: yes make -j4 -l8 Creating defaults.h... make all-recursive make[1]: Entering directory '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1' Making all in lib make[2]: Entering directory '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1/lib' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 make[2]: Leaving directory '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1/lib' Making all in libcob make[2]: Entering directory '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1/libcob' if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 common.c: In function 'cob_init': common.c:755:13: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 755 | if (s && strcasecmp (s, "ON") == 0) { | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 common.c: In function 'cobcommandline': common.c:1694:7: warning: variable 'sflags' set but not used [-Wunused-but-set-variable] 1694 | int sflags; | ^~~~~~ common.c:1693:9: warning: variable 'spname' set but not used [-Wunused-but-set-variable] 1693 | char *spname; | ^~~~~~ common.c:1692:10: warning: variable 'spenvp' set but not used [-Wunused-but-set-variable] 1692 | char **spenvp; | ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 call.c: In function 'cob_init_call': call.c:542:7: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 542 | if (strcasecmp (s, "LOWER") == 0) { | ^~~~~~~~~~ call.c: In function 'cobsavenv2': call.c:663:6: warning: variable 'jtemp' set but not used [-Wunused-but-set-variable] 663 | int jtemp; | ^~~~~ move.c: In function 'cob_move_fp_to_display': move.c:485:10: warning: variable 'frac' set but not used [-Wunused-but-set-variable] 485 | double frac; | ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 ../libcob/common.h: In function 'cob_accept_time': common.c:1400:18: warning: '%2.2ld' directive writing between 2 and 16 bytes into a region of size 8 [-Wformat-overflow=] 1400 | sprintf(buff2, "%2.2ld", tmv.tv_usec / 10000); | ^~~~~~ common.c:1400:17: note: directive argument in the range [-922337203685477, 922337203685477] 1400 | sprintf(buff2, "%2.2ld", tmv.tv_usec / 10000); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from common.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 17 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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_substitute_case': intrinsic.c:817:10: warning: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] 817 | if (!strncasecmp ((const char *)p1, | ^~~~~~~~~~~ intrinsic.c: In function 'cob_intr_numval': intrinsic.c:1818:8: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 1818 | if (strcasecmp ((char *)&srcfield->data[i], "CR") == 0 | ^~~~~~~~~~ intrinsic.c: In function 'cob_intr_current_date': intrinsic.c:1108:22: warning: '%2.2ld' directive output may be truncated writing between 2 and 16 bytes into a region of size 7 [-Wformat-truncation=] 1108 | snprintf(buff2, 7, "%2.2ld", tmv.tv_usec / 10000); | ^~~~~~ intrinsic.c:1108:21: note: directive argument in the range [-922337203685477, 922337203685477] 1108 | snprintf(buff2, 7, "%2.2ld", tmv.tv_usec / 10000); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from intrinsic.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 17 bytes into a destination of size 7 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intrinsic.c: In function 'cob_intr_date_of_integer': intrinsic.c:1253:33: 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=] 1253 | snprintf (buff, 15, "%4.4d%2.2d%2.2d", baseyear, i, days); | ^~~~~ intrinsic.c:1253:22: note: directive argument in the range [-2147483646, 2147483647] 1253 | snprintf (buff, 15, "%4.4d%2.2d%2.2d", baseyear, i, days); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from intrinsic.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 24 bytes into a destination of size 15 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intrinsic.c: In function 'cob_intr_numval': intrinsic.c:1865:40: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size between 62 and 63 [-Wformat-truncation=] 1865 | snprintf ((char *)final_buff, 63, "%s%s.%s", sign ? "-" : "", | ^~ 1866 | integer_buff, decimal_buff); | ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from intrinsic.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 129 bytes into a destination of size 63 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intrinsic.c: In function 'cob_intr_numval_c': intrinsic.c:1964:40: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size between 62 and 63 [-Wformat-truncation=] 1964 | snprintf ((char *)final_buff, 63, "%s%s.%s", sign ? "-" : "", | ^~ 1965 | integer_buff, decimal_buff); | ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from intrinsic.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 129 bytes into a destination of size 63 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 fileio.c: In function 'indexed_read_next': fileio.c:3054:33: warning: 'dupno' may be used uninitialized in this function [-Wmaybe-uninitialized] 3054 | p->last_dupno[p->key_index] = dupno; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ fileio.c: In function 'indexed_start_internal': fileio.c:2299:33: warning: 'dupno' may be used uninitialized in this function [-Wmaybe-uninitialized] 2299 | p->last_dupno[p->key_index] = dupno; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 screenio.c: In function 'cob_check_pos_status': screenio.c:340:22: warning: '%6.6d' directive writing between 6 and 9 bytes into a region of size 8 [-Wformat-overflow=] 340 | sprintf(datbuf, "%6.6d", sline); | ^~~~~ screenio.c:340:21: note: directive argument in the range [-32800768, 32799767] 340 | sprintf(datbuf, "%6.6d", sline); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from screenio.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 10 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screenio.c:335:27: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 335 | sprintf(datbuf, "%4.4d", sline); | ^ In file included from /usr/include/stdio.h:867, from screenio.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 9 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 /bin/bash ../libtool --tag=CC --mode=link gcc -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -Wl,--export-dynamic -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -o libcob.la -rpath /usr/lib64 -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 -ldb -ldl gcc -shared .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 -lpthread -lgomp -lm -lgmp -lncurses -ldb -ldl -march=native -mtune=native -mfpmath=sse -pthread -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -Wl,--hash-style=gnu -Wl,--export-dynamic -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -Wl,--hash-style=gnu -Wl,-soname -Wl,libcob.so.1 -o .libs/libcob.so.1.0.0 (cd .libs && rm -f libcob.so.1 && ln -s libcob.so.1.0.0 libcob.so.1) (cd .libs && rm -f libcob.so && ln -s libcob.so.1.0.0 libcob.so) ar cru .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 ranlib .libs/libcob.a creating libcob.la (cd .libs && rm -f libcob.la && ln -s ../libcob.la libcob.la) make[2]: Leaving directory '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1/libcob' Making all in cobc make[2]: Entering directory '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1/cobc' make all-am make[3]: Entering directory '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1/cobc' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 cobc.c: In function ‘main’: cobc.c:1733:10: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 1733 | sscanf (__DATE__, "%s %d %d", month, &day, &year); | ^~~~~~~~ cobc.c:1735:57: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 1735 | sprintf (buff, "%s %2.2d %4.4d %s", month, day, year, __TIME__); | ^~~~~~~~ cobc.c:1737:27: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 1737 | sprintf (buff, "%s %s", __DATE__, __TIME__); | ^~~~~~~~ cobc.c:1737:37: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 1737 | sprintf (buff, "%s %s", __DATE__, __TIME__); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 error.c: In function ‘ambiguous_error’: error.c:244:4: warning: format not a string literal and no format arguments [-Wformat-security] 244 | cb_error_x (y, errnamebuff); | ^~~~~~~~~~ cobc.c: In function ‘process_compile’: cobc.c:1398:30: warning: ‘%s’ directive writing up to 8191 bytes into a region of size 8179 [-Wformat-overflow=] 1398 | sprintf (buff, "%s %s -S -o %s %s %s %s", cob_cc, gccpipe, name, | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from cobc.c:24: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 17 or more bytes (assuming 10254) into a destination of size 8192 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cobc.c: In function ‘process_module_direct’: cobc.c:1467:45: warning: ‘%s’ directive writing up to 8191 bytes into a region of size between 6092 and 8138 [-Wformat-overflow=] 1467 | sprintf (buff, "%s %s %s %s %s %s %s %s -o %s %s %s", | ^~ 1468 | cob_cc, gccpipe, cob_cflags, cob_define_flags, COB_SHARED_OPT, 1469 | cob_ldflags, COB_PIC_FLAGS, COB_EXPORT_DYN, name, | ~~~~ In file included from /usr/include/stdio.h:867, from cobc.c:24: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 57 or more bytes (assuming 18485) into a destination of size 8192 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cobc.c:1474:22: warning: ‘%s’ directive writing up to 8191 bytes into a region of size 8149 [-Wformat-overflow=] 1474 | sprintf (buff, "%s %s", COB_STRIP_CMD, name); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from cobc.c:24: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 44 and 8235 bytes into a destination of size 8192 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cobc.c: In function ‘process_module’: cobc.c:1516:39: warning: ‘%s’ directive writing up to 8191 bytes into a region of size 8140 [-Wformat-overflow=] 1516 | sprintf (buff, "%s %s %s %s %s %s -o %s %s %s", | ^~ 1517 | cob_cc, gccpipe, COB_SHARED_OPT, cob_ldflags, COB_PIC_FLAGS, 1518 | COB_EXPORT_DYN, name, fn->object, cob_libs); | ~~~~ In file included from /usr/include/stdio.h:867, from cobc.c:24: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 55 or more bytes (assuming 16437) into a destination of size 8192 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cobc.c:1522:22: warning: ‘%s’ directive writing up to 8191 bytes into a region of size 8149 [-Wformat-overflow=] 1522 | sprintf (buff, "%s %s", COB_STRIP_CMD, name); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from cobc.c:24: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 44 and 8235 bytes into a destination of size 8192 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cobc.c: In function ‘process_library’: cobc.c:1602:22: warning: ‘%s’ directive writing up to 8191 bytes into a region of size 8149 [-Wformat-overflow=] 1602 | sprintf (buff, "%s %s", COB_STRIP_CMD, name); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from cobc.c:24: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 44 and 8235 bytes into a destination of size 8192 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function ‘yyparse’: parser.c:12226:8: warning: format not a string literal and no format arguments [-Wformat-security] 12226 | } | ^ cobc.c: In function ‘process_link’: cobc.c:1677:22: warning: ‘%s’ directive writing up to 8191 bytes into a region of size 8149 [-Wformat-overflow=] 1677 | sprintf (buff, "%s %s%s", COB_STRIP_CMD, name, COB_EXEEXT); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from cobc.c:24: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 44 and 8235 bytes into a destination of size 8192 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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_indent’: codegen.c:281:2: warning: format not a string literal and no format arguments [-Wformat-security] 281 | output_line (str); | ^~~~~~~~~~~ codegen.c: In function ‘output_param’: codegen.c:982:8: warning: variable ‘extrefs’ set but not used [-Wunused-but-set-variable] 982 | int extrefs; | ^~~~~~~ typeck.c: In function ‘move_error’: typeck.c:3910:3: warning: format not a string literal and no format arguments [-Wformat-security] 3910 | cb_warning_x (loc, msg); | ^~~~~~~~~~~~ typeck.c:3914:4: warning: format not a string literal and no format arguments [-Wformat-security] 3914 | cb_warning_x (loc, msg); | ^~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 At top level: typeck.c:294:26: warning: ‘align_bin_sub_funcs’ defined but not used [-Wunused-const-variable=] 294 | static const char *const align_bin_sub_funcs[] = { | ^~~~~~~~~~~~~~~~~~~ typeck.c:259:26: warning: ‘align_bin_add_funcs’ defined but not used [-Wunused-const-variable=] 259 | static const char *const align_bin_add_funcs[] = { | ^~~~~~~~~~~~~~~~~~~ typeck.c:224:26: warning: ‘align_bin_compare_funcs’ defined but not used [-Wunused-const-variable=] 224 | static const char *const align_bin_compare_funcs[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ ppparse.c: In function ‘ppparse’: ppparse.c:1280:8: warning: format not a string literal and no format arguments [-Wformat-security] 1280 | } | ^ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 /bin/bash ../libtool --tag=CC --mode=link gcc -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 mkdir .libs gcc -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -Wl,--hash-style=gnu -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -Wl,--hash-style=gnu -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 -lpthread -lgomp ../lib/libsupport.a make[3]: Leaving directory '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1/cobc' make[2]: Leaving directory '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1/cobc' Making all in bin make[2]: Entering directory '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1/bin' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -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 ‘print_version’: cobcrun.c:40:10: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 40 | sscanf (__DATE__, "%s %d %d", month, &day, &year); | ^~~~~~~~ cobcrun.c:42:57: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 42 | sprintf (buff, "%s %2.2d %4.4d %s", month, day, year, __TIME__); | ^~~~~~~~ cobcrun.c:44:27: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 44 | sprintf (buff, "%s %s", __DATE__, __TIME__); | ^~~~~~~~ cobcrun.c:44:37: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 44 | sprintf (buff, "%s %s", __DATE__, __TIME__); | ^~~~~~~~ cobcrun.c: In function ‘main’: cobcrun.c:42:22: warning: ‘%2.2d’ directive writing between 2 and 11 bytes into a region of size between 0 and 63 [-Wformat-overflow=] 42 | sprintf (buff, "%s %2.2d %4.4d %s", month, day, year, __TIME__); | ^~~~~ In file included from /usr/include/stdio.h:867, from cobcrun.c:23: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 18 and 97 bytes into a destination of size 64 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/bash ../libtool --tag=CC --mode=link gcc -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -Wl,--export-dynamic -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -o cobcrun cobcrun-cobcrun.o ../libcob/libcob.la mkdir .libs gcc -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -Wl,--hash-style=gnu -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -Wl,--export-dynamic -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -Wl,--hash-style=gnu -o .libs/cobcrun cobcrun-cobcrun.o ../libcob/.libs/libcob.so -lpthread -lgomp -lm -lgmp -lncurses -ldb -ldl ../libcob/.libs/libcob.so: error: undefined reference to 'cbreak' ../libcob/.libs/libcob.so: error: undefined reference to 'stdscr' ../libcob/.libs/libcob.so: error: undefined reference to 'keypad' ../libcob/.libs/libcob.so: error: undefined reference to 'LINES' ../libcob/.libs/libcob.so: error: undefined reference to 'reset_prog_mode' ../libcob/.libs/libcob.so: error: undefined reference to 'def_prog_mode' ../libcob/.libs/libcob.so: error: undefined reference to 'COLS' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:270: cobcrun] Error 1 make[2]: Leaving directory '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1/bin' make[1]: *** [Makefile:339: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1' make: *** [Makefile:230: all] Error 2 emake failed * ERROR: dev-lang/open-cobol-1.1::gentoo failed (compile phase): * emake failed. * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 3153: Called die * The specific snippet of code: * emake || die "emake failed." * * If you need support, post the output of `emerge --info '=dev-lang/open-cobol-1.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/open-cobol-1.1::gentoo'`. * The complete build log is located at '/var/log/portage/build/dev-lang/open-cobol-1.1:20190911-131147.log'. * For convenience, a symlink to the build log is located at '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/temp/environment'. * Working directory: '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1' * S: '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1'