* Package: app-emulation/hercules-3.13 * Repository: gentoo * Maintainer: s390@gentoo.org * USE: abi_x86_64 amd64 bzip2 elibc_glibc kernel_linux suid userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking hercules-3.13.tar.gz to /var/tmp/portage/app-emulation/hercules-3.13/work >>> Source unpacked in /var/tmp/portage/app-emulation/hercules-3.13/work >>> Preparing source in /var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13 ... * Applying hercules-3.13-htmldir.patch ... [ ok ] * Applying hercules-3.13-unbundle-libltdl.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 -I autoconf ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: hercules-3.13/ * Running elibtoolize in: hercules-3.13/autoconf/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13 ... * strip-flags: CFLAGS: changed '-O2 -pipe -march=native -fno-diagnostics-color ' to '-O2 -pipe -march=native' * strip-flags: CXXFLAGS: changed '-O2 -pipe -march=native -fno-diagnostics-color ' to '-O2 -pipe -march=native' * strip-flags: FFLAGS: changed '-O2 -pipe -march=native -fno-diagnostics-color' to '-O2 -pipe -march=native' * strip-flags: FCFLAGS: changed '-O2 -pipe -march=native -fno-diagnostics-color' to '-O2 -pipe -march=native' * econf: updating hercules-3.13/config.sub with /usr/share/gnuconfig/config.sub * econf: updating hercules-3.13/config.guess with /usr/share/gnuconfig/config.guess * econf: updating hercules-3.13/autoconf/config.sub with /usr/share/gnuconfig/config.sub * econf: updating hercules-3.13/autoconf/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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/hercules-3.13 --htmldir=/usr/share/doc/hercules-3.13/html --with-sysroot=/ --libdir=/usr/lib64 --enable-cckd-bzip2 --enable-het-bzip2 --enable-setuid-hercifc --enable-custom=Gentoo hercules-3.13.ebuild --disable-optimization checking for a BSD-compatible install... /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether make supports nested variables... (cached) yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-gcc... none checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-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 BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-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 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 whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: (use of lt_dlopen forced by Hercules Dynamic Loader requirement) checking for ctype.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for setjmp.h... yes checking for stdarg.h... yes checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for time.h... yes checking for unistd.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for pthread.h... yes checking for sys/socket.h... yes checking for net/if.h... yes checking for netinet/in.h... yes checking for netinet/tcp.h... yes checking for net/route.h... yes checking for arpa/inet.h... yes checking for linux/if_tun.h... yes checking for sys/ioctl.h... yes checking for sys/mman.h... yes checking for sys/param.h... yes checking for sys/mount.h... yes checking for sys/mtio.h... yes checking for sys/resource.h... yes checking for sys/uio.h... yes checking for sys/utsname.h... yes checking for sys/wait.h... yes checking for sys/un.h... yes checking for byteswap.h... yes checking for bzlib.h... yes checking for dlfcn.h... (cached) yes checking for inttypes.h... (cached) yes checking for iconv.h... yes checking for ltdl.h... yes checking for malloc.h... yes checking for math.h... yes checking for netdb.h... yes checking for pwd.h... yes checking for regex.h... yes checking for sched.h... yes checking for signal.h... yes checking for termios.h... yes checking for time.h... (cached) yes checking for zlib.h... yes checking for sys/capability.h... yes checking for sys/prctl.h... yes checking for x86_64-pc-linux-gnu-gcc options needed to detect all undeclared functions... none needed checking whether SIGUSR1 is declared... yes checking whether SIGUSR2 is declared... yes checking whether SIGPIPE is declared... yes checking whether SIGBUS is declared... yes checking whether IFNAMSIZ is declared... no checking whether LOGIN_NAME_MAX is declared... yes checking whether _SC_NPROCESSORS_CONF is declared... yes checking whether _SC_NPROCESSORS_ONLN is declared... yes checking whether SIOCSIFNETMASK is declared... yes checking whether SIOCSIFHWADDR is declared... yes checking whether SIOCADDRT is declared... yes checking whether SIOCDELRT is declared... yes checking whether SIOCDIFADDR is declared... yes checking whether MTEWARN is declared... no checking for u_int8_t... yes checking for useconds_t... yes checking for id_t... yes checking for u_char... yes checking for u_short... yes checking for u_int... yes checking for u_long... yes checking for in_addr_t... yes checking for socklen_t... yes checking for _pipe in -lmsvcrt... no checking for dlopen in -ldl... yes checking for sqrt in -lm... yes checking for connect in -lsocket... no checking for gethostbyname in -lnsl... yes checking for inet_aton in -lresolv... yes checking for uncompress in -lz... yes checking for BZ2_bzBuffToBuffDecompress in -lbz2... (cached) yes checking for iconv in -liconv... no checking for sched_yield in -lrt... yes checking for pthread_create in -lpthread... yes checking for iconv... yes checking for memrchr... yes checking for getopt_long... yes checking for sqrtl... yes checking for ldexpl... yes checking for fabsl... yes checking for fmodl... yes checking for frexpl... yes checking for ldexpf... yes checking for frexpf... yes checking for fabsf... yes checking for rint... yes checking for strlcpy... no checking for strlcat... no checking for strerror_r... yes checking for strsignal... yes checking for sys_siglist... no checking for InitializeCriticalSectionAndSpinCount... no checking for sleep... yes checking for usleep... yes checking for nanosleep... yes checking for sched_yield... yes checking for strtok_r... yes checking for pipe... yes checking for gettimeofday... yes checking for getpgrp... yes checking for scandir... yes checking for alphasort... yes checking for getlogin... yes checking for getlogin_r... yes checking for realpath... yes checking for fdatasync... yes checking for fsync... yes checking for ftruncate... yes checking for inet_aton... yes checking for fork... yes checking for socketpair... yes checking for sysconf... yes checking for vsscanf... yes checking for setresuid... yes checking for getresuid... yes checking whether fdatasync is supported... yes checking for struct sockaddr_in.sin_len... no checking for struct in_addr.s_addr... yes checking for struct sigaction.sa_sigaction... yes checking for struct timespec.tv_nsec... yes checking whether byte ordering is bigendian... no checking size of int... 4 checking size of long... 8 checking size of size_t... 8 checking size of int *... 8 checking size of off_t... 8 configure: begin check: whether byte structs are aligned/rounded by default... checking size of struct bytestruct... 1 configure: results: byte structs are aligned/rounded by default... no checking if this is the broken 2.96 version of GCC... no checking C99 struct flexible arrays support... yes checking whether '__attribute__ ((regparm(n)))' is supported... yes checking whether '__attribute__ ((regparm(3)))' is broken... no checking whether '__builtin_alloca' is broken... no checking whether preprocessor macro argument counting broken... no checking whether '-traditional-cpp' is K&R C preprocessor... yes checking whether byte-swapping can be done using assembler ... yes checking whether x86_64-pc-linux-gnu-gcc accepts -pthread ... yes checking whether 'optreset' needed for 'getopt' use... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for off_t... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking whether getopt wrapper kludge is necessary... ./configure: line 18053: ./libtool: No such file or directory no checking for what optimization flags to use ... (none) checking whether compiler supports -Wno-unused-but-set-variable... yes checking whether compiler supports -Werror=declaration-after-statement... yes configure: configure: Package destination directory prefixes: configure: configure: Libraries: $(libdir)/$(PACKAGE) configure: Data: $(datadir)/hercules configure: checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating util/Makefile config.status: creating html/Makefile config.status: creating crypto/Makefile config.status: creating man/Makefile config.status: creating m4/Makefile config.status: creating decNumber/Makefile config.status: creating softfloat/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13 ... make -j 1 make all-recursive make[1]: Entering directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13' Making all in decNumber make[2]: Entering directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/decNumber' rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o decContext.lo decContext.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o decContext.lo decContext.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/decNumber"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780873}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = 4. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c decContext.c -DPIC -fPIC -o .libs/decContext.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o decimal128.lo decimal128.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o decimal128.lo decimal128.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/decNumber"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780873}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = 4. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c decimal128.c -DPIC -fPIC -o .libs/decimal128.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o decimal32.lo decimal32.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o decimal32.lo decimal32.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/decNumber"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780873}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = 4. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c decimal32.c -DPIC -fPIC -o .libs/decimal32.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o decimal64.lo decimal64.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o decimal64.lo decimal64.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/decNumber"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780873}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = 4. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c decimal64.c -DPIC -fPIC -o .libs/decimal64.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o decNumber.lo decNumber.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o decNumber.lo decNumber.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/decNumber"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780873}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = 4. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c decNumber.c -DPIC -fPIC -o .libs/decNumber.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o decPacked.lo decPacked.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o decPacked.lo decPacked.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/decNumber"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780873}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = 4. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c decPacked.c -DPIC -fPIC -o .libs/decPacked.o rdlibtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -export-dynamic -no-undefined -avoid-version -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--warn-common -o libdecNumber.la -rpath /usr/lib64 decContext.lo decimal128.lo decimal32.lo decimal64.lo decNumber.lo decPacked.lo -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 -lltdl -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 rdlibtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -export-dynamic -no-undefined -avoid-version -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--warn-common -o libdecNumber.la -rpath /usr/lib64 decContext.lo decimal128.lo decimal32.lo decimal64.lo decNumber.lo decPacked.lo -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 -lltdl -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/decNumber"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780873}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = 4. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: link: ln -s /dev/null .libs/libdecNumber.a.disabled rdlibtool: link: x86_64-pc-linux-gnu-gcc .libs/decContext.o .libs/decimal128.o .libs/decimal32.o .libs/decimal64.o .libs/decNumber.o .libs/decPacked.o -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--warn-common -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 -lltdl -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 -shared -fPIC -Wl,--no-undefined -o .libs/libdecNumber.so -Wl,--export-dynamic rdlibtool: link: ln -s ../libdecNumber.la .libs/libdecNumber.la rdlibtool: link: ln -s ../libdecNumber.la .libs/libdecNumber.lai make[2]: Leaving directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/decNumber' Making all in softfloat make[2]: Entering directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/softfloat' rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o softfloat.lo softfloat.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o softfloat.lo softfloat.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/softfloat"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780931}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = 4. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c softfloat.c -DPIC -fPIC -o .libs/softfloat.o rdlibtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -export-dynamic -no-undefined -avoid-version -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--warn-common -o libsoftfloat.la -rpath /usr/lib64 softfloat.lo -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 rdlibtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -export-dynamic -no-undefined -avoid-version -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--warn-common -o libsoftfloat.la -rpath /usr/lib64 softfloat.lo -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/softfloat"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780931}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = 4. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: link: ln -s /dev/null .libs/libsoftfloat.a.disabled rdlibtool: link: x86_64-pc-linux-gnu-gcc .libs/softfloat.o -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--warn-common -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -shared -fPIC -Wl,--no-undefined -o .libs/libsoftfloat.so -Wl,--export-dynamic rdlibtool: link: ln -s ../libsoftfloat.la .libs/libsoftfloat.la rdlibtool: link: ln -s ../libsoftfloat.la .libs/libsoftfloat.lai make[2]: Leaving directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/softfloat' Making all in m4 make[2]: Entering directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/m4' Making all in util make[2]: Entering directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/util' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/util' Making all in html make[2]: Entering directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/html' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/html' Making all in man make[2]: Entering directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/man' Making all in . make[2]: Entering directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o bootstrap.o bootstrap.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hdlmain.o hdlmain.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hconsole.lo hconsole.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hconsole.lo hconsole.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c hconsole.c -DPIC -fPIC -o .libs/hconsole.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o w32util.lo w32util.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o w32util.lo w32util.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c w32util.c -DPIC -fPIC -o .libs/w32util.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o strsignal.lo strsignal.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o strsignal.lo strsignal.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c strsignal.c -DPIC -fPIC -o .libs/strsignal.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o impl.lo impl.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o impl.lo impl.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c impl.c -DPIC -fPIC -o .libs/impl.o In file included from hercules.h:87, from impl.c:17: impl.c: In function ‘impl’: hthreads.h:157:37: warning: cast between incompatible function types from ‘int (*)(DEVBLK *, int, char **)’ to ‘void * (*)(void *)’ [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ impl.c:605:22: note: in expansion of macro ‘create_thread’ 605 | if ( create_thread (&tid, DETACHED, | ^~~~~~~~~~~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o config.lo config.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o config.lo config.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c config.c -DPIC -fPIC -o .libs/config.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o bldcfg.lo bldcfg.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o bldcfg.lo bldcfg.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c bldcfg.c -DPIC -fPIC -o .libs/bldcfg.o bldcfg.c: In function ‘parse_args’: bldcfg.c:127:9: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 127 | while (*p && isspace(*p)) p++; if (!*p) break; // find start of arg | ^~~~~ bldcfg.c:127:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 127 | while (*p && isspace(*p)) p++; if (!*p) break; // find start of arg | ^~ bldcfg.c:133:9: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 133 | while (*p && !isspace(*p) && *p != '\"' && *p != '\'') p++; if (!*p) break; // find end of arg | ^~~~~ bldcfg.c:133:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 133 | while (*p && !isspace(*p) && *p != '\"' && *p != '\'') p++; if (!*p) break; // find end of arg | ^~ In file included from hercules.h:88, from bldcfg.c:41: bldcfg.c: In function ‘build_config’: hmacros.h:664:5: warning: ignoring return value of ‘setresuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 664 | setresuid(sysblk.ruid,sysblk.ruid,sysblk.euid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hmacros.h:720:24: note: in expansion of macro ‘_SETMODE_INIT’ 720 | #define SETMODE(_func) _SETMODE_ ## _func | ^~~~~~~~~ bldcfg.c:741:5: note: in expansion of macro ‘SETMODE’ 741 | SETMODE(INIT); | ^~~~~~~ hmacros.h:665:5: warning: ignoring return value of ‘setresgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 665 | setresgid(sysblk.rgid,sysblk.rgid,sysblk.egid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hmacros.h:720:24: note: in expansion of macro ‘_SETMODE_INIT’ 720 | #define SETMODE(_func) _SETMODE_ ## _func | ^~~~~~~~~ bldcfg.c:741:5: note: in expansion of macro ‘SETMODE’ 741 | SETMODE(INIT); | ^~~~~~~ hmacros.h:670:5: warning: ignoring return value of ‘setresuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 670 | setresuid(sysblk.suid,sysblk.suid,sysblk.ruid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hmacros.h:720:24: note: in expansion of macro ‘_SETMODE_ROOT’ 720 | #define SETMODE(_func) _SETMODE_ ## _func | ^~~~~~~~~ bldcfg.c:1596:5: note: in expansion of macro ‘SETMODE’ 1596 | SETMODE(ROOT); | ^~~~~~~ hmacros.h:675:5: warning: ignoring return value of ‘setresuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 675 | setresuid(sysblk.ruid,sysblk.ruid,sysblk.suid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hmacros.h:720:24: note: in expansion of macro ‘_SETMODE_USER’ 720 | #define SETMODE(_func) _SETMODE_ ## _func | ^~~~~~~~~ bldcfg.c:1604:5: note: in expansion of macro ‘SETMODE’ 1604 | SETMODE(USER); | ^~~~~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o panel.lo panel.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o panel.lo panel.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c panel.c -DPIC -fPIC -o .libs/panel.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o history.lo history.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o history.lo history.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c history.c -DPIC -fPIC -o .libs/history.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o fillfnam.lo fillfnam.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o fillfnam.lo fillfnam.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c fillfnam.c -DPIC -fPIC -o .libs/fillfnam.o In file included from /usr/include/string.h:519, from hstdinc.h:54, from fillfnam.c:4: In function ‘strncpy’, inlined from ‘tab_pressed’ at fillfnam.c:110:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ fillfnam.c: In function ‘tab_pressed’: fillfnam.c:110:26: note: length computed here 110 | strncpy(path, part2, strlen(part2)-strlen(filename)); | ^~~~~~~~~~~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o ipl.lo ipl.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o ipl.lo ipl.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c ipl.c -DPIC -fPIC -o .libs/ipl.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o assist.lo assist.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o assist.lo assist.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c assist.c -DPIC -fPIC -o .libs/assist.o In file included from inline.h:734, from assist.c:29, from assist.c:623: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o dat.lo dat.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o dat.lo dat.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c dat.c -DPIC -fPIC -o .libs/dat.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o stack.lo stack.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o stack.lo stack.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c stack.c -DPIC -fPIC -o .libs/stack.o In file included from inline.h:734, from stack.c:42, from stack.c:1432: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o cpu.lo cpu.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o cpu.lo cpu.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c cpu.c -DPIC -fPIC -o .libs/cpu.o In file included from cpu.c:1880: cpu.c: In function ‘z900_run_cpu’: cpu.c:1643:21: warning: cast between incompatible function types from ‘U64 (*)(int, U64, REGS *)’ {aka ‘long unsigned int (*)(int, long unsigned int, REGS *)’} to ‘int (*)()’ [-Wcast-function-type] 1643 | regs.trace_br = (func)&ARCH_DEP(trace_br); | ^ In file included from hercules.h:88, from cpu.c:40: cpu.c: In function ‘cpu_thread’: hmacros.h:670:5: warning: ignoring return value of ‘setresuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 670 | setresuid(sysblk.suid,sysblk.suid,sysblk.ruid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hmacros.h:720:24: note: in expansion of macro ‘_SETMODE_ROOT’ 720 | #define SETMODE(_func) _SETMODE_ ## _func | ^~~~~~~~~ cpu.c:1220:5: note: in expansion of macro ‘SETMODE’ 1220 | SETMODE(ROOT); | ^~~~~~~ hmacros.h:675:5: warning: ignoring return value of ‘setresuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 675 | setresuid(sysblk.ruid,sysblk.ruid,sysblk.suid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hmacros.h:720:24: note: in expansion of macro ‘_SETMODE_USER’ 720 | #define SETMODE(_func) _SETMODE_ ## _func | ^~~~~~~~~ cpu.c:1228:5: note: in expansion of macro ‘SETMODE’ 1228 | SETMODE(USER); | ^~~~~~~ In file included from inline.h:734, from cpu.c:42, from cpu.c:1880: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o vstore.lo vstore.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o vstore.lo vstore.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c vstore.c -DPIC -fPIC -o .libs/vstore.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o general1.lo general1.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o general1.lo general1.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c general1.c -DPIC -fPIC -o .libs/general1.o In file included from general1.c:4698: general1.c: In function ‘z900_branch_and_link_register’: general1.c:397:25: warning: cast between incompatible function types from ‘func’ {aka ‘int (*)()’} to ‘U64 (*)(int, U64, REGS *)’ {aka ‘long unsigned int (*)(int, long unsigned int, REGS *)’} [-Wcast-function-type] 397 | regs->CR(12) = ((ARCH_DEP(trace_br_func))regs->trace_br) | ^ general1.c: In function ‘z900_branch_and_save_register’: general1.c:470:25: warning: cast between incompatible function types from ‘func’ {aka ‘int (*)()’} to ‘U64 (*)(int, U64, REGS *)’ {aka ‘long unsigned int (*)(int, long unsigned int, REGS *)’} [-Wcast-function-type] 470 | regs->CR(12) = ((ARCH_DEP(trace_br_func))regs->trace_br) | ^ In file included from inline.h:734, from general1.c:44, from general1.c:4698: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ general1.c: In function ‘s370_compare_logical_character’: general1.c:1765:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1765 | if (sizeof(unsigned int) >= 8) | ^ general1.c:1774:13: note: here 1774 | default: | ^~~~~~~ In file included from general1.c:4692: general1.c: In function ‘s390_compare_logical_character’: general1.c:1765:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1765 | if (sizeof(unsigned int) >= 8) | ^ general1.c:1774:13: note: here 1774 | default: | ^~~~~~~ In file included from general1.c:4698: general1.c: In function ‘z900_compare_logical_character’: general1.c:1765:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1765 | if (sizeof(unsigned int) >= 8) | ^ general1.c:1774:13: note: here 1774 | default: | ^~~~~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o general2.lo general2.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o general2.lo general2.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c general2.c -DPIC -fPIC -o .libs/general2.o In file included from inline.h:734, from general2.c:44, from general2.c:2900: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o general3.lo general3.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o general3.lo general3.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c general3.c -DPIC -fPIC -o .libs/general3.o In file included from inline.h:734, from general3.c:22, from general3.c:3848: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o pfpo.lo pfpo.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o pfpo.lo pfpo.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c pfpo.c -DPIC -fPIC -o .libs/pfpo.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o plo.lo plo.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o plo.lo plo.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c plo.c -DPIC -fPIC -o .libs/plo.o In file included from inline.h:734, from plo.c:21, from plo.c:1654: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o control.lo control.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o control.lo control.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c control.c -DPIC -fPIC -o .libs/control.o In file included from inline.h:734, from control.c:46, from control.c:7363: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ control.c: In function ‘s370_signal_processor’: control.c:5872:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 5872 | channelset_reset(tregs); | ^~~~~~~~~~~~~~~~~~~~~~~ control.c:5875:9: note: here 5875 | case SIGP_RESET: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o crypto.lo crypto.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o crypto.lo crypto.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c crypto.c -DPIC -fPIC -o .libs/crypto.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o io.lo io.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o io.lo io.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c io.c -DPIC -fPIC -o .libs/io.o In file included from inline.h:734, from io.c:47, from io.c:1256: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o decimal.lo decimal.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o decimal.lo decimal.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c decimal.c -DPIC -fPIC -o .libs/decimal.o In file included from inline.h:734, from decimal.c:39, from decimal.c:1423: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o service.lo service.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o service.lo service.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c service.c -DPIC -fPIC -o .libs/service.o In file included from hercules.h:87, from service.c:33: service.c: In function ‘sclp_attn_async’: hthreads.h:157:37: warning: cast between incompatible function types from ‘void (*)(U16 *)’ {aka ‘void (*)(short unsigned int *)’} to ‘void * (*)(void *)’ [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ service.c:129:9: note: in expansion of macro ‘create_thread’ 129 | create_thread(&sclp_attn_tid, &sysblk.detattr, sclp_attn_thread, typ, "attn_thread"); | ^~~~~~~~~~~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o scedasd.lo scedasd.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o scedasd.lo scedasd.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c scedasd.c -DPIC -fPIC -o .libs/scedasd.o In file included from hercules.h:87, from scedasd.c:8: scedasd.c: In function ‘s390_scedio_request’: hthreads.h:157:37: warning: cast between incompatible function types from ‘void (*)(SCCB_SCEDIO_BK *)’ {aka ‘void (*)(struct _SCCB_SCEDIO_BK *)’} to ‘void * (*)(void *)’ [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ scedasd.c:751:13: note: in expansion of macro ‘create_thread’ 751 | if( create_thread(&scedio_tid, &sysblk.detattr, | ^~~~~~~~~~~~~ scedasd.c: In function ‘z900_scedio_request’: hthreads.h:157:37: warning: cast between incompatible function types from ‘void (*)(SCCB_SCEDIO_BK *)’ {aka ‘void (*)(struct _SCCB_SCEDIO_BK *)’} to ‘void * (*)(void *)’ [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ scedasd.c:751:13: note: in expansion of macro ‘create_thread’ 751 | if( create_thread(&scedio_tid, &sysblk.detattr, | ^~~~~~~~~~~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o losc.lo losc.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o losc.lo losc.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c losc.c -DPIC -fPIC -o .libs/losc.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o chsc.lo chsc.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o chsc.lo chsc.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c chsc.c -DPIC -fPIC -o .libs/chsc.o In file included from inline.h:734, from chsc.c:26, from chsc.c:251: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o opcode.lo opcode.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o opcode.lo opcode.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c opcode.c -DPIC -fPIC -o .libs/opcode.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o diagnose.lo diagnose.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o diagnose.lo diagnose.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c diagnose.c -DPIC -fPIC -o .libs/diagnose.o In file included from inline.h:734, from diagnose.c:29, from diagnose.c:676: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o diagmssf.lo diagmssf.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o diagmssf.lo diagmssf.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c diagmssf.c -DPIC -fPIC -o .libs/diagmssf.o In file included from inline.h:734, from diagmssf.c:28, from diagmssf.c:754: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o vm.lo vm.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o vm.lo vm.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c vm.c -DPIC -fPIC -o .libs/vm.o vm.c: In function ‘s370_syncgen_io’: vm.c:860:28: warning: ‘<<’ in boolean context, did you mean ‘<’? [-Wint-in-bool-context] 860 | lastccw = (dev->csw[1] << 16) || (dev->csw[2] << 8) | ~~~~~~~~~~~~~^~~~~~ vm.c:860:51: warning: ‘<<’ in boolean context, did you mean ‘<’? [-Wint-in-bool-context] 860 | lastccw = (dev->csw[1] << 16) || (dev->csw[2] << 8) | ~~~~~~~~~~~~~^~~~~ vm.c:864:29: warning: ‘<<’ in boolean context, did you mean ‘<’? [-Wint-in-bool-context] 864 | residual = (dev->csw[6] << 8) || dev->csw[7]; | ~~~~~~~~~~~~~^~~~~ In file included from vm.c:1702: vm.c: In function ‘s390_syncgen_io’: vm.c:868:37: warning: ‘<<’ in boolean context, did you mean ‘<’? [-Wint-in-bool-context] 868 | lastccw = (dev->scsw.ccwaddr[0] << 24) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ vm.c:869:42: warning: ‘<<’ in boolean context, did you mean ‘<’? [-Wint-in-bool-context] 869 | || (dev->scsw.ccwaddr[1] << 16) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ vm.c:870:42: warning: ‘<<’ in boolean context, did you mean ‘<’? [-Wint-in-bool-context] 870 | || (dev->scsw.ccwaddr[2] << 8) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ vm.c:874:36: warning: ‘<<’ in boolean context, did you mean ‘<’? [-Wint-in-bool-context] 874 | residual = (dev->scsw.count[0] << 8) || dev->scsw.count[1]; | ~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from vm.c:1708: vm.c: In function ‘z900_syncgen_io’: vm.c:868:37: warning: ‘<<’ in boolean context, did you mean ‘<’? [-Wint-in-bool-context] 868 | lastccw = (dev->scsw.ccwaddr[0] << 24) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ vm.c:869:42: warning: ‘<<’ in boolean context, did you mean ‘<’? [-Wint-in-bool-context] 869 | || (dev->scsw.ccwaddr[1] << 16) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ vm.c:870:42: warning: ‘<<’ in boolean context, did you mean ‘<’? [-Wint-in-bool-context] 870 | || (dev->scsw.ccwaddr[2] << 8) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ vm.c:874:36: warning: ‘<<’ in boolean context, did you mean ‘<’? [-Wint-in-bool-context] 874 | residual = (dev->scsw.count[0] << 8) || dev->scsw.count[1]; | ~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from inline.h:734, from vm.c:27, from vm.c:1708: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o vmd250.lo vmd250.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o vmd250.lo vmd250.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c vmd250.c -DPIC -fPIC -o .libs/vmd250.o In file included from hercules.h:87, from vmd250.c:85: vmd250.c: In function ‘z900_d250_iorq64’: hthreads.h:157:37: warning: cast between incompatible function types from ‘void (*)(void *)’ to ‘void * (*)(void *)’ [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ vmd250.c:1908:13: note: in expansion of macro ‘create_thread’ 1908 | if ( create_thread (&tid, DETACHED, ARCH_DEP(d250_async64), | ^~~~~~~~~~~~~ In file included from inline.h:734, from vmd250.c:87, from vmd250.c:2293: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o channel.lo channel.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o channel.lo channel.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c channel.c -DPIC -fPIC -o .libs/channel.o In file included from hercules.h:88, from channel.c:25: channel.c: In function ‘adjust_thread_priority’: hmacros.h:670:5: warning: ignoring return value of ‘setresuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 670 | setresuid(sysblk.suid,sysblk.suid,sysblk.ruid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hmacros.h:720:24: note: in expansion of macro ‘_SETMODE_ROOT’ 720 | #define SETMODE(_func) _SETMODE_ ## _func | ^~~~~~~~~ channel.c:1303:5: note: in expansion of macro ‘SETMODE’ 1303 | SETMODE(ROOT); | ^~~~~~~ hmacros.h:675:5: warning: ignoring return value of ‘setresuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 675 | setresuid(sysblk.ruid,sysblk.ruid,sysblk.suid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hmacros.h:720:24: note: in expansion of macro ‘_SETMODE_USER’ 720 | #define SETMODE(_func) _SETMODE_ ## _func | ^~~~~~~~~ channel.c:1309:5: note: in expansion of macro ‘SETMODE’ 1309 | SETMODE(USER); | ^~~~~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o external.lo external.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o external.lo external.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c external.c -DPIC -fPIC -o .libs/external.o In file included from inline.h:734, from external.c:37, from external.c:583: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o float.lo float.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o float.lo float.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c float.c -DPIC -fPIC -o .libs/float.o In file included from float.c:8023: float.c: In function ‘s390_square_root_fraction’: float.c:2876:28: warning: taking the absolute value of unsigned type ‘U32’ {aka ‘unsigned int’} has no effect [-Wabsolute-value] 2876 | if ((xj == xi) || (abs(xj - xi) == 1)) { | ^~~ float.c: In function ‘s390_squareroot_float_ext_reg’: float.c:5345:36: warning: taking the absolute value of unsigned type ‘U64’ {aka ‘long unsigned int’} has no effect [-Wabsolute-value] 5345 | if ((xj == xi) || (abs(xj - xi) == 1)) { | ^~~ float.c:5345:36: warning: absolute value function ‘abs’ given an argument of type ‘U64’ {aka ‘long unsigned int’} but has parameter of type ‘int’ which may cause truncation of value [-Wabsolute-value] In file included from float.c:8029: float.c: In function ‘z900_square_root_fraction’: float.c:2876:28: warning: taking the absolute value of unsigned type ‘U32’ {aka ‘unsigned int’} has no effect [-Wabsolute-value] 2876 | if ((xj == xi) || (abs(xj - xi) == 1)) { | ^~~ float.c: In function ‘z900_squareroot_float_ext_reg’: float.c:5345:36: warning: taking the absolute value of unsigned type ‘U64’ {aka ‘long unsigned int’} has no effect [-Wabsolute-value] 5345 | if ((xj == xi) || (abs(xj - xi) == 1)) { | ^~~ float.c:5345:36: warning: absolute value function ‘abs’ given an argument of type ‘U64’ {aka ‘long unsigned int’} but has parameter of type ‘int’ which may cause truncation of value [-Wabsolute-value] In file included from inline.h:734, from float.c:44, from float.c:8029: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o trace.lo trace.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o trace.lo trace.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c trace.c -DPIC -fPIC -o .libs/trace.o In file included from inline.h:734, from trace.c:33, from trace.c:1180: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o machchk.lo machchk.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o machchk.lo machchk.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c machchk.c -DPIC -fPIC -o .libs/machchk.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o vector.lo vector.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o vector.lo vector.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c vector.c -DPIC -fPIC -o .libs/vector.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o xstore.lo xstore.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o xstore.lo xstore.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c xstore.c -DPIC -fPIC -o .libs/xstore.o In file included from inline.h:734, from xstore.c:26, from xstore.c:620: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o cmpsc.lo cmpsc.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o cmpsc.lo cmpsc.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c cmpsc.c -DPIC -fPIC -o .libs/cmpsc.o In file included from inline.h:734, from cmpsc.c:38, from cmpsc.c:2010: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o sie.lo sie.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o sie.lo sie.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c sie.c -DPIC -fPIC -o .libs/sie.o In file included from sie.c:1390: sie.c: In function ‘z900_start_interpretive_execution’: sie.c:304:31: warning: cast between incompatible function types from ‘U64 (*)(int, U64, REGS *)’ {aka ‘long unsigned int (*)(int, long unsigned int, REGS *)’} to ‘int (*)()’ [-Wcast-function-type] 304 | GUESTREGS->trace_br = (func)&z900_trace_br; | ^ In file included from inline.h:734, from sie.c:28, from sie.c:1390: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o qdio.lo qdio.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o qdio.lo qdio.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c qdio.c -DPIC -fPIC -o .libs/qdio.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o clock.lo clock.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o clock.lo clock.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c clock.c -DPIC -fPIC -o .libs/clock.o In file included from inline.h:734, from clock.c:19, from clock.c:673: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o timer.lo timer.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o timer.lo timer.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c timer.c -DPIC -fPIC -o .libs/timer.o In file included from hercules.h:88, from timer.c:8: timer.c: In function ‘timer_update_thread’: hmacros.h:670:5: warning: ignoring return value of ‘setresuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 670 | setresuid(sysblk.suid,sysblk.suid,sysblk.ruid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hmacros.h:720:24: note: in expansion of macro ‘_SETMODE_ROOT’ 720 | #define SETMODE(_func) _SETMODE_ ## _func | ^~~~~~~~~ timer.c:174:5: note: in expansion of macro ‘SETMODE’ 174 | SETMODE(ROOT); | ^~~~~~~ hmacros.h:675:5: warning: ignoring return value of ‘setresuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 675 | setresuid(sysblk.ruid,sysblk.ruid,sysblk.suid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hmacros.h:720:24: note: in expansion of macro ‘_SETMODE_USER’ 720 | #define SETMODE(_func) _SETMODE_ ## _func | ^~~~~~~~~ timer.c:182:5: note: in expansion of macro ‘SETMODE’ 182 | SETMODE(USER); | ^~~~~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o esame.lo esame.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o esame.lo esame.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c esame.c -DPIC -fPIC -o .libs/esame.o In file included from inline.h:734, from esame.c:35, from esame.c:8870: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o ieee.lo ieee.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o ieee.lo ieee.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c ieee.c -DPIC -fPIC -o .libs/ieee.o In file included from inline.h:734, from ieee.c:50, from ieee.c:4256: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o dfp.lo dfp.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o dfp.lo dfp.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c dfp.c -DPIC -fPIC -o .libs/dfp.o In file included from inline.h:734, from dfp.c:22, from dfp.c:5079: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o httpserv.lo httpserv.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o httpserv.lo httpserv.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c httpserv.c -DPIC -fPIC -o .libs/httpserv.o In file included from hercules.h:87, from httpserv.c:35: httpserv.c: In function ‘http_server’: hthreads.h:157:37: warning: cast between incompatible function types from ‘void * (*)(int)’ to ‘void * (*)(void *)’ [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ httpserv.c:783:18: note: in expansion of macro ‘create_thread’ 783 | if ( create_thread (&httptid, DETACHED, | ^~~~~~~~~~~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o cgibin.lo cgibin.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o cgibin.lo cgibin.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c cgibin.c -DPIC -fPIC -o .libs/cgibin.o cgibin.c: In function ‘cgibin_configure_cpu’: cgibin.c:1039:29: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 5 [-Wformat-overflow=] 1039 | sprintf(cpuname,"cpu%d",i); | ^~ cgibin.c:1039:25: note: directive argument in the range [0, 2147483647] 1039 | sprintf(cpuname,"cpu%d",i); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from hstdinc.h:51, from cgibin.c:45: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 5 and 14 bytes into a destination of size 8 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o loadparm.lo loadparm.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o loadparm.lo loadparm.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c loadparm.c -DPIC -fPIC -o .libs/loadparm.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hsccmd.lo hsccmd.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hsccmd.lo hsccmd.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c hsccmd.c -DPIC -fPIC -o .libs/hsccmd.o hsccmd.c: In function ‘cd_cmd’: hsccmd.c:2594:5: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2594 | chdir(path); | ^~~~~~~~~~~ hsccmd.c:2595:5: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2595 | getcwd( cwd, sizeof(cwd) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ hsccmd.c: In function ‘pwd_cmd’: hsccmd.c:2620:5: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2620 | getcwd( cwd, sizeof(cwd) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o cmdtab.lo cmdtab.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o cmdtab.lo cmdtab.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c cmdtab.c -DPIC -fPIC -o .libs/cmdtab.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hao.lo hao.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hao.lo hao.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c hao.c -DPIC -fPIC -o .libs/hao.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hscmisc.lo hscmisc.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hscmisc.lo hscmisc.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c hscmisc.c -DPIC -fPIC -o .libs/hscmisc.o In file included from hercules.h:87, from hscmisc.c:15: hscmisc.c: In function ‘do_shutdown’: hthreads.h:157:37: warning: cast between incompatible function types from ‘void (*)()’ to ‘void * (*)(void *)’ [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ hscmisc.c:210:17: note: in expansion of macro ‘create_thread’ 210 | create_thread(&tid, DETACHED, do_shutdown_wait, | ^~~~~~~~~~~~~ In file included from inline.h:734, from hscmisc.c:18, from hscmisc.c:1305: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ In file included from hercules.h:88, from hscmisc.c:15: hscmisc.c: In function ‘herc_system’: hmacros.h:680:5: warning: ignoring return value of ‘setresuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 680 | setresuid(sysblk.ruid,sysblk.ruid,sysblk.ruid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hmacros.h:720:24: note: in expansion of macro ‘_SETMODE_TERM’ 720 | #define SETMODE(_func) _SETMODE_ ## _func | ^~~~~~~~~ hscmisc.c:1468:9: note: in expansion of macro ‘SETMODE’ 1468 | SETMODE(TERM); | ^~~~~~~ hmacros.h:681:5: warning: ignoring return value of ‘setresgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 681 | setresgid(sysblk.rgid,sysblk.rgid,sysblk.rgid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hmacros.h:720:24: note: in expansion of macro ‘_SETMODE_TERM’ 720 | #define SETMODE(_func) _SETMODE_ ## _func | ^~~~~~~~~ hscmisc.c:1468:9: note: in expansion of macro ‘SETMODE’ 1468 | SETMODE(TERM); | ^~~~~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o sr.lo sr.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o sr.lo sr.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c sr.c -DPIC -fPIC -o .libs/sr.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o ecpsvm.lo ecpsvm.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o ecpsvm.lo ecpsvm.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c ecpsvm.c -DPIC -fPIC -o .libs/ecpsvm.o In file included from inline.h:734, from ecpsvm.c:136, from ecpsvm.c:3036: dat.h: In function ‘z900_translate_addr’: dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hsys.lo hsys.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hsys.lo hsys.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c hsys.c -DPIC -fPIC -o .libs/hsys.o rdlibtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -export-dynamic -no-undefined -avoid-version -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--warn-common -o libhercs.la -rpath /usr/lib64 hsys.lo -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 rdlibtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -export-dynamic -no-undefined -avoid-version -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--warn-common -o libhercs.la -rpath /usr/lib64 hsys.lo -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: link: ln -s /dev/null .libs/libhercs.a.disabled rdlibtool: link: x86_64-pc-linux-gnu-gcc .libs/hsys.o -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--warn-common -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -shared -fPIC -Wl,--no-undefined -o .libs/libhercs.so -Wl,--export-dynamic rdlibtool: link: ln -s ../libhercs.la .libs/libhercs.la rdlibtool: link: ln -s ../libhercs.la .libs/libhercs.lai rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o version.lo version.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o version.lo version.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c version.c -DPIC -fPIC -o .libs/version.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hscutl.lo hscutl.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hscutl.lo hscutl.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c hscutl.c -DPIC -fPIC -o .libs/hscutl.o In file included from /usr/include/string.h:519, from hstdinc.h:54, from hscutl.c:14: In function ‘strncpy’, inlined from ‘get_symbol_token’ at hscutl.c:327:5, inlined from ‘set_symbol’ at hscutl.c:337:9: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hstdinc.h:113, from hscutl.c:14: hscutl.c: In function ‘set_symbol’: hscutl.c:327:48: note: length computed here 327 | strncpy(tok->var,sym,MIN(MAX_SYMBOL_SIZE+1,strlen(sym)+1)); | ^~~~~~~~~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hscutl2.lo hscutl2.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hscutl2.lo hscutl2.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c hscutl2.c -DPIC -fPIC -o .libs/hscutl2.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o codepage.lo codepage.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o codepage.lo codepage.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c codepage.c -DPIC -fPIC -o .libs/codepage.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o logger.lo logger.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o logger.lo logger.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c logger.c -DPIC -fPIC -o .libs/logger.o In file included from hercules.h:87, from logger.c:19: logger.c: In function ‘logger_init’: hthreads.h:157:37: warning: cast between incompatible function types from ‘void (*)(void *)’ to ‘void * (*)(void *)’ [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ logger.c:524:9: note: in expansion of macro ‘create_thread’ 524 | if (create_thread (&logger_tid, JOINABLE, | ^~~~~~~~~~~~~ In file included from hercules.h:88, from logger.c:19: logger.c: In function ‘logger_thread’: hmacros.h:670:5: warning: ignoring return value of ‘setresuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 670 | setresuid(sysblk.suid,sysblk.suid,sysblk.ruid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hmacros.h:720:24: note: in expansion of macro ‘_SETMODE_ROOT’ 720 | #define SETMODE(_func) _SETMODE_ ## _func | ^~~~~~~~~ logger.c:229:5: note: in expansion of macro ‘SETMODE’ 229 | SETMODE(ROOT); | ^~~~~~~ hmacros.h:675:5: warning: ignoring return value of ‘setresuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 675 | setresuid(sysblk.ruid,sysblk.ruid,sysblk.suid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hmacros.h:720:24: note: in expansion of macro ‘_SETMODE_USER’ 720 | #define SETMODE(_func) _SETMODE_ ## _func | ^~~~~~~~~ logger.c:235:5: note: in expansion of macro ‘SETMODE’ 235 | SETMODE(USER); | ^~~~~~~ logger.c: In function ‘logger_term’: hmacros.h:38:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 38 | #define write_pipe(f,b,n) write(f,b,n) | ^~~~~~~~~~~~ logger.c:176:9: note: in expansion of macro ‘write_pipe’ 176 | write_pipe( logger_syslogfd[LOG_WRITE], term_msg, term_msg_len ); | ^~~~~~~~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o logmsg.lo logmsg.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o logmsg.lo logmsg.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c logmsg.c -DPIC -fPIC -o .libs/logmsg.o In file included from hercules.h:88, from logmsg.c:9: logmsg.c: In function ‘log_write’: hmacros.h:38:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 38 | #define write_pipe(f,b,n) write(f,b,n) | ^~~~~~~~~~~~ logmsg.c:255:9: note: in expansion of macro ‘write_pipe’ 255 | write_pipe( logger_syslogfd[LOG_WRITE], msg, strlen(msg) ); | ^~~~~~~~~~ hmacros.h:38:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 38 | #define write_pipe(f,b,n) write(f,b,n) | ^~~~~~~~~~~~ logmsg.c:263:9: note: in expansion of macro ‘write_pipe’ 263 | write_pipe( logger_syslogfd[LOG_WRITE], msg, strlen(msg) ); | ^~~~~~~~~~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hdl.lo hdl.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hdl.lo hdl.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c hdl.c -DPIC -fPIC -o .libs/hdl.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hostinfo.lo hostinfo.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hostinfo.lo hostinfo.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c hostinfo.c -DPIC -fPIC -o .libs/hostinfo.o hostinfo.c: In function ‘display_hostinfo’: hostinfo.c:103:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 103 | if (!f) f = stdout; if (f != stdout) | ^~ hostinfo.c:103:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 103 | if (!f) f = stdout; if (f != stdout) | ^~ rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hsocket.lo hsocket.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o hsocket.lo hsocket.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c hsocket.c -DPIC -fPIC -o .libs/hsocket.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o memrchr.lo memrchr.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o memrchr.lo memrchr.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c memrchr.c -DPIC -fPIC -o .libs/memrchr.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o parser.lo parser.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o parser.lo parser.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c parser.c -DPIC -fPIC -o .libs/parser.o rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib64/hercules\" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o pttrace.lo pttrace.c rdlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c -o pttrace.lo pttrace.c rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -DPKGDATADIR="/usr/share/hercules" -DMODULESDIR="/usr/lib64/hercules" -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -c pttrace.c -DPIC -fPIC -o .libs/pttrace.o rdlibtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -export-dynamic -no-undefined -avoid-version -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--warn-common -o libhercu.la -rpath /usr/lib64 version.lo hscutl.lo hscutl2.lo codepage.lo logger.lo logmsg.lo hdl.lo hostinfo.lo hsocket.lo memrchr.lo parser.lo pttrace.lo -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 libhercs.la -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 rdlibtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -export-dynamic -no-undefined -avoid-version -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--warn-common -o libhercu.la -rpath /usr/lib64 version.lo hscutl.lo hscutl2.lo codepage.lo logger.lo logmsg.lo hdl.lo hostinfo.lo hsocket.lo memrchr.lo parser.lo pttrace.lo -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 libhercs.la -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 53, .st_ino = 780673}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13/libtool". rdlibtool: link: ln -s /dev/null .libs/libhercu.a.disabled rdlibtool: link: x86_64-pc-linux-gnu-gcc .libs/version.o .libs/hscutl.o .libs/hscutl2.o .libs/codepage.o .libs/logger.o .libs/logmsg.o .libs/hdl.o .libs/hostinfo.o .libs/hsocket.o .libs/memrchr.o .libs/parser.o .libs/pttrace.o -O2 -pipe -march=native -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--warn-common -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -pthread -lbz2 -L.libs -lhercs -lpthread -lrt -lz -lresolv -lnsl -lm -ldl -lbz2 -pthread -shared -fPIC -Wl,--no-undefined -o .libs/libhercu.so -Wl,--export-dynamic /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/hdl.o: in function `hdl_fent': hdl.c:(.text+0x2a3): undefined reference to `lt_dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/hdl.o: in function `hdl_modify_opcode': hdl.c:(.text+0x3f9): undefined reference to `opcode_c4xx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x44a): undefined reference to `opcode_edxx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x481): undefined reference to `opcode_c0xx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x4bf): undefined reference to `opcode_b2xx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x4ee): undefined reference to `opcode_ebxx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x52b): undefined reference to `opcode_e5xx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x569): undefined reference to `opcode_a5xx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x5a1): undefined reference to `opcode_ccxx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x5c3): undefined reference to `opcode_c6xx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x5e3): undefined reference to `opcode_b3xx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x603): undefined reference to `opcode_c2xx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x626): undefined reference to `opcode_table' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x64b): undefined reference to `opcode_e6xx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x673): undefined reference to `opcode_ecxx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x693): undefined reference to `opcode_b9xx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x6b3): undefined reference to `opcode_a7xx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x6d3): undefined reference to `opcode_e3xx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x6f3): undefined reference to `opcode_01xx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x713): undefined reference to `opcode_c8xx' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/hdl.o: in function `hdl_load': hdl.c:(.text+0xe15): undefined reference to `lt_dlopen' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0xe3d): undefined reference to `lt_dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0xe89): undefined reference to `lt_dlclose' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0xebc): undefined reference to `lt_dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0xed0): undefined reference to `lt_dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0xee4): undefined reference to `lt_dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0xef8): undefined reference to `lt_dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0xf0c): undefined reference to `lt_dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x1077): undefined reference to `lt_dlopen' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x10f4): undefined reference to `lt_dlopen' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x1123): undefined reference to `lt_dlopen' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x117d): undefined reference to `lt_dlopen' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x119f): undefined reference to `lt_dlopen' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/hdl.o:hdl.c:(.text+0x11cb): more undefined references to `lt_dlopen' follow /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/hdl.o: in function `hdl_load': hdl.c:(.text+0x11fc): undefined reference to `lt_dlerror' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x121a): undefined reference to `lt_dlerror' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x125b): undefined reference to `lt_dlclose' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/hdl.o: in function `hdl_main': hdl.c:(.text+0x1458): undefined reference to `lt_dlinit' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x1492): undefined reference to `lt_dlopen' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x14bd): undefined reference to `lt_dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x14e1): undefined reference to `lt_dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x14ff): undefined reference to `lt_dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x151d): undefined reference to `lt_dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x153b): undefined reference to `lt_dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/hdl.o:hdl.c:(.text+0x1559): more undefined references to `lt_dlsym' follow /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/hdl.o: in function `hdl_main': hdl.c:(.text+0x16a5): undefined reference to `lt_dlerror' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hdl.c:(.text+0x16de): undefined reference to `lt_dlerror' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/hdl.o: in function `hdl_modify_opcode': hdl.c:(.text+0x417): undefined reference to `copy_opcode_tables' collect2: error: ld returned 1 exit status rdlibtool: exec error upon slbt_exec_link_create_library(), line 1446: (see child process error messages). rdlibtool: < returned to > slbt_exec_link(), line 1868. make[2]: *** [Makefile:1682: libhercu.la] Error 2 make[2]: Leaving directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13' make[1]: *** [Makefile:1963: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13' make: *** [Makefile:1444: all] Error 2 * ERROR: app-emulation/hercules-3.13::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-emulation/hercules-3.13::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/hercules-3.13::gentoo'`. * The complete build log is located at '/var/log/portage/app-emulation:hercules-3.13:20210329-132503.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/hercules-3.13/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/hercules-3.13/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13' * S: '/var/tmp/portage/app-emulation/hercules-3.13/work/hercules-3.13'