Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/linux-atm.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-115283-7863/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/linux-atm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/linux-atm-2.5.2-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/linux-atm.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-115283-7863/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/linux-atm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ERYbA2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf linux-atm-2.5.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/linux-atm-2.5.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd linux-atm-2.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/linux-atm-2.5.0-open-macro.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/linux-atm-2.5.0-disable-ilmidiag.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/linux-atm-gcc43.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/man-pages.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/add-string-formatting-to-build-with-gcc7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/remove-define-hacks.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/siocgstamp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/linux-atm-2.5.1-disable-zntune.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + iconv -f iso8859-1 -t utf8 + mv src/extra/ANS/e164_cc.1 src/extra/ANS/e164_cc + iconv -f iso8859-1 -t utf8 + mv doc/atm-linux-howto.txt.1 doc/atm-linux-howto.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.E2bEIM + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd linux-atm-2.5.2 + ./configure --prefix=/usr --sbindir=/usr/sbin --sysconfdir=/etc checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... no checking for byacc... byacc checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for perl... /usr/bin/perl checking asm/errno.h usability... yes checking asm/errno.h presence... yes checking for asm/errno.h... yes checking linux/atmsap.h usability... yes checking linux/atmsap.h presence... yes checking for linux/atmsap.h... yes checking for main in -lresolv... yes configure: WARNING: *** atmoamd will not be built. Missing kernel support? configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/lib/Makefile config.status: creating src/test/Makefile config.status: creating src/debug/Makefile config.status: creating src/qgen/Makefile config.status: creating src/saal/Makefile config.status: creating src/q2931/Makefile config.status: creating src/sigd/Makefile config.status: creating src/maint/Makefile config.status: creating src/arpd/Makefile config.status: creating src/ilmid/Makefile config.status: creating src/ilmid/asn1/Makefile config.status: creating src/man/Makefile config.status: creating src/led/Makefile config.status: creating src/lane/Makefile config.status: creating src/mpoad/Makefile config.status: creating src/oamd/Makefile config.status: creating src/switch/Makefile config.status: creating src/switch/debug/Makefile config.status: creating src/switch/tcp/Makefile config.status: creating src/br2684/Makefile config.status: creating src/config/Makefile config.status: creating src/extra/Makefile config.status: creating src/extra/linux-atm.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H' + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2010-12-29 00:06:08.000000000 +0800 +++ ./configure 2023-12-28 11:38:30.052830878 +0800 @@ -1726,7 +1726,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-12-28 11:38:30.052830878 +0800 +++ ./configure 2023-12-28 11:38:30.065830912 +0800 @@ -11987,7 +11987,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu checking target system type... x86_64-opencloudos-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-opencloudos-linux-gnu-gcc... 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... no checking for byacc... byacc checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for x86_64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for x86_64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for x86_64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for perl... /usr/bin/perl checking asm/errno.h usability... yes checking asm/errno.h presence... yes checking for asm/errno.h... yes checking linux/atmsap.h usability... yes checking linux/atmsap.h presence... yes checking for linux/atmsap.h... yes checking for main in -lresolv... yes configure: WARNING: *** atmoamd will not be built. Missing kernel support? configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/lib/Makefile config.status: creating src/test/Makefile config.status: creating src/debug/Makefile config.status: creating src/qgen/Makefile config.status: creating src/saal/Makefile config.status: creating src/q2931/Makefile config.status: creating src/sigd/Makefile config.status: creating src/maint/Makefile config.status: creating src/arpd/Makefile config.status: creating src/ilmid/Makefile config.status: creating src/ilmid/asn1/Makefile config.status: creating src/man/Makefile config.status: creating src/led/Makefile config.status: creating src/lane/Makefile config.status: creating src/mpoad/Makefile config.status: creating src/oamd/Makefile config.status: creating src/switch/Makefile config.status: creating src/switch/debug/Makefile config.status: creating src/switch/tcp/Makefile config.status: creating src/br2684/Makefile config.status: creating src/config/Makefile config.status: creating src/extra/Makefile config.status: creating src/extra/linux-atm.spec config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make make all-recursive make[1]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.2' Making all in src make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.2/src' Making all in include make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.2/src/include' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.2/src/include' Making all in lib make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.2/src/lib' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2atm.lo text2atm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2atm.c -fPIC -DPIC -o .libs/text2atm.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atm2text.lo atm2text.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atm2text.c -fPIC -DPIC -o .libs/atm2text.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmequal.lo atmequal.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmequal.c -fPIC -DPIC -o .libs/atmequal.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sdu2cell.lo sdu2cell.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sdu2cell.c -fPIC -DPIC -o .libs/sdu2cell.o sdu2cell.c: In function 'sdu2cell': sdu2cell.c:21:45: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 21 | if (getsockopt(s,SOL_AAL,SO_ATMQOS,&qos,&size) < 0) return -1; | ^~~~~ | | | int * In file included from ../../src/include/atm.h:10, from sdu2cell.c:11: /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2qos.lo text2qos.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2qos.c -fPIC -DPIC -o .libs/text2qos.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o qos2text.lo qos2text.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c qos2text.c -fPIC -DPIC -o .libs/qos2text.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o qosequal.lo qosequal.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c qosequal.c -fPIC -DPIC -o .libs/qosequal.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sap2text.lo sap2text.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sap2text.c -fPIC -DPIC -o .libs/sap2text.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2sap.lo text2sap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2sap.c -fPIC -DPIC -o .libs/text2sap.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sapequal.lo sapequal.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sapequal.c -fPIC -DPIC -o .libs/sapequal.o sapequal.c: In function 'match_blli': sapequal.c:65:49: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 65 | CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); | ^ sapequal.c:46:10: note: in definition of macro 'CHECK' 46 | if (!CONSTRAINT) return 0; \ | ^~~~~~~~~~ sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning 46 | if (!CONSTRAINT) return 0; \ | ^ sapequal.c:65:13: note: in expansion of macro 'CHECK' 65 | CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); | ^~~~~ sapequal.c:73:53: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 73 | CHECK(l3.itu.def_size,a.l3.itu.def_size > b.l3.itu.def_size); | ^ sapequal.c:46:10: note: in definition of macro 'CHECK' 46 | if (!CONSTRAINT) return 0; \ | ^~~~~~~~~~ sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning 46 | if (!CONSTRAINT) return 0; \ | ^ sapequal.c:73:13: note: in expansion of macro 'CHECK' 73 | CHECK(l3.itu.def_size,a.l3.itu.def_size > b.l3.itu.def_size); | ^~~~~ sapequal.c:74:49: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 74 | CHECK(l3.itu.window,a.l3.itu.window > b.l3.itu.window); | ^ sapequal.c:46:10: note: in definition of macro 'CHECK' 46 | if (!CONSTRAINT) return 0; \ | ^~~~~~~~~~ sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning 46 | if (!CONSTRAINT) return 0; \ | ^ sapequal.c:74:13: note: in expansion of macro 'CHECK' 74 | CHECK(l3.itu.window,a.l3.itu.window > b.l3.itu.window); | ^~~~~ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o misc.lo misc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c misc.c -fPIC -DPIC -o .libs/misc.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o ans.lo ans.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c ans.c -fPIC -DPIC -o .libs/ans.o ans.c: In function 'ans': ans.c:65:60: warning: pointer targets in passing argument 4 of 'dn_expand' differ in signedness [-Wpointer-sign] 65 | if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) < 0) | ^~~~ | | | unsigned char * In file included from ans.c:25: /usr/include/resolv.h:275:51: note: expected 'char *' but argument is of type 'unsigned char *' 275 | const unsigned char *, char *, int) __THROW; | ^~~~~~ ans.c:80:64: warning: pointer targets in passing argument 4 of 'dn_expand' differ in signedness [-Wpointer-sign] 80 | if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) | ^~~~ | | | unsigned char * /usr/include/resolv.h:275:51: note: expected 'char *' but argument is of type 'unsigned char *' 275 | const unsigned char *, char *, int) __THROW; | ^~~~~~ ans.c: In function 'ans_byaddr': ans.c:251:9: warning: the comparison will always evaluate as 'true' for the address of 'prv' will never be NULL [-Waddress] 251 | if (addr->sas_addr.prv) { | ^~~~ In file included from ../../src/include/atm.h:11, from ans.c:27: /usr/include/linux/atm.h:209:25: note: 'prv' declared here 209 | unsigned char prv[ATM_ESA_LEN];/* private ATM address */ | ^~~ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o common.lo common.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c common.c -fPIC -DPIC -o .libs/common.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o diag.lo diag.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c diag.c -fPIC -DPIC -o .libs/diag.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o kptr.lo kptr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c kptr.c -fPIC -DPIC -o .libs/kptr.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2ip.lo text2ip.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2ip.c -fPIC -DPIC -o .libs/text2ip.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o timer.lo timer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c timer.c -fPIC -DPIC -o .libs/timer.o In file included from timer.c:14: timer.c: In function 'start_timer': ../../src/include/atmd.h:30:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 30 | if (r) (r)->prev = i; r = i; } }) | ^~ timer.c:55:15: note: in expansion of macro 'Q_INSERT_BEFORE' 55 | if (walk) Q_INSERT_BEFORE(timers,n,walk); | ^~~~~~~~~~~~~~~ timer.c:55:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 55 | if (walk) Q_INSERT_BEFORE(timers,n,walk); | ^~~~~~ ../../src/include/atmd.h:30:25: note: in definition of macro 'Q_INSERT_BEFORE' 30 | if (r) (r)->prev = i; r = i; } }) | ^ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o unix.lo unix.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c unix.c -fPIC -DPIC -o .libs/unix.o unix.c: In function 'un_recv_connect': unix.c:70:59: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 70 | len = recvfrom(s,buf,size,0,(struct sockaddr *) &addr,&addr_size); | ^~~~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from unix.c:15: /usr/include/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ unix.c: In function 'un_recv': unix.c:81:65: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 81 | return recvfrom(s,buf,size,0,(struct sockaddr *) &ctx->addr,&ctx->size); | ^~~~~~~~~~ | | | int * /usr/include/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -version-info 1:0:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libatm.la -rpath /usr/lib64 text2atm.lo atm2text.lo atmequal.lo sdu2cell.lo text2qos.lo qos2text.lo qosequal.lo sap2text.lo text2sap.lo sapequal.lo misc.lo ans.lo common.lo diag.lo kptr.lo text2ip.lo timer.lo unix.lo -lresolv libtool: link: gcc -shared .libs/text2atm.o .libs/atm2text.o .libs/atmequal.o .libs/sdu2cell.o .libs/text2qos.o .libs/qos2text.o .libs/qosequal.o .libs/sap2text.o .libs/text2sap.o .libs/sapequal.o .libs/misc.o .libs/ans.o .libs/common.o .libs/diag.o .libs/kptr.o .libs/text2ip.o .libs/timer.o .libs/unix.o -lresolv -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -m64 -march=x86-64-v2 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,-soname -Wl,libatm.so.1 -o .libs/libatm.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libatm.so.1" && ln -s "libatm.so.1.0.0" "libatm.so.1") libtool: link: (cd ".libs" && rm -f "libatm.so" && ln -s "libatm.so.1.0.0" "libatm.so") libtool: link: ( cd ".libs" && rm -f "libatm.la" && ln -s "../libatm.la" "libatm.la" ) make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.2/src/lib' Making all in test make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.2/src/test' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c aread.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o aread aread.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/aread aread.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c awrite.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o awrite awrite.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/awrite awrite.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c ttcp.c ttcp.c: In function 'main': ttcp.c:371:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 371 | buf +=(bufalign - ((int)buf % bufalign) + bufoffset) % bufalign; | ^ ttcp.c:464:63: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 464 | if ((fd=accept(fd, (struct sockaddr *) &frominet, &fromlen) ) < 0) | ^~~~~~~~ | | | int * In file included from ttcp.c:69: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ttcp.c:471:33: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] 471 | &peerlen) < 0) { | ^~~~~~~~ | | | int * /usr/include/sys/socket.h:131:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ttcp.c:509:69: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 509 | if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &sockbufsize, &len) < 0) | ^~~~ | | | int * /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ttcp.c:518:69: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 518 | if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &sockbufsize, &len) < 0) | ^~~~ | | | int * /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ttcp.c: At top level: ttcp.c:48:13: warning: 'RCSid' defined but not used [-Wunused-variable] 48 | static char RCSid[] = "ttcp.c $Revision: 1.3 $"; | ^~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ttcp_atm ttcp.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/ttcp_atm ttcp.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmswitch.c atmswitch.c: In function 'main': atmswitch.c:162:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | write(s[(pvc+1)%2],buf,bufsiz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmswitch atmswitch.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmswitch atmswitch.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c svc_recv.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o svc_recv svc_recv.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/svc_recv svc_recv.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c svc_send.c svc_send.c: In function 'main': svc_send.c:28:23: warning: unused variable 'one' [-Wunused-variable] 28 | unsigned long one = 1; | ^~~ svc_send.c:85:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 85 | write(s, NULL, 0); | ^~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o svc_send svc_send.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/svc_send svc_send.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c align.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o align align.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/align align.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c aping.c aping.c: In function 'main': aping.c:104:20: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 104 | (void) write(1,rotor[i = (i+1) & 3],2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o aping aping.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/aping aping.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c br.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o br br.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/br br.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c bw.c bw.c: In function 'main': bw.c:60:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | while (blocks--) (void) write(s,buffer,BSIZE); | ^~~~~~~~~~~~~~~~~~~~~ bw.c:62:20: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | (void) write(s,buffer,size); | ^~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o bw bw.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/bw bw.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c isp.c isp.c: In function 'send_msg': isp.c:40:44: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 40 | else fprintf(stderr,"bad write: %d != %d\n",wrote,sizeof(*msg)); | ~^ ~~~~~~~~~~~~ | | | | int long unsigned int | %ld isp.c: In function 'recv_msg': isp.c:52:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 52 | else fprintf(stderr,"bad read: %d != %d\n",got,sizeof(*msg)); | ~^ ~~~~~~~~~~~~ | | | | int long unsigned int | %ld gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c ispl_y.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c ispl_l.c ispl_l.c:1496:16: warning: 'input' defined but not used [-Wunused-function] 1496 | static int input (void) | ^~~~~ ispl_l.c:1455:17: warning: 'yyunput' defined but not used [-Wunused-function] 1455 | static void yyunput (int c, register char * yy_bp ) | ^~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o isp isp.o ispl_y.o ispl_l.o ../../src/lib/libatm.la -lfl libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/isp isp.o ispl_y.o ispl_l.o ../../src/lib/.libs/libatm.so -lresolv -lfl gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c window.c window.c: In function 'main': window.c:183:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=] 183 | fprintf(stderr,"Received reply of length %d, should be %d.\n", | ~^ | | | int | %ld 184 | size,REPLY_SIZE); | ~~~~ | | | ssize_t {aka long int} window.c:267:54: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=] 267 | fprintf(stderr,"Received message of length %d, should be %d.\n", | ~^ | | | int | %ld 268 | size,PINGPONG_SIZE); | ~~~~ | | | ssize_t {aka long int} window.c:172:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | (void)write(s1, buffer, PINGPONG_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ window.c:260:18: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 260 | (void)write(s2, buffer2, REPLY_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o window window.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/window window.o ../../src/lib/.libs/libatm.so -lresolv make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.2/src/test' Making all in debug make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.2/src/debug' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c delay.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o delay delay.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/delay delay.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c svctor.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o svctor svctor.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/svctor svctor.o ../../src/lib/.libs/libatm.so -lresolv make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.2/src/debug' Making all in qgen make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.2/src/qgen' gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c common.c gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c file.c gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c first.c gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c ql_y.c ql_y.y: In function 'copy_block': ql_y.y:98:13: warning: enumeration value 'vt_id' not handled in switch [-Wswitch] 98 | switch (orig_field->value->type) { | ^~~~~~ gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c ql_l.c ql_l.c:1257:16: warning: 'input' defined but not used [-Wunused-function] 1257 | static int input (void) | ^~~~~ ql_l.c:1216:17: warning: 'yyunput' defined but not used [-Wunused-function] 1216 | static void yyunput (int c, register char * yy_bp ) | ^~~~~~~ gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c qgen.c gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c second.c gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c third.c gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -o qgen common.o file.o first.o ql_y.o ql_l.o qgen.o second.o third.o -lfl make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.2/src/qgen' Making all in q2931 make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.2/src/q2931' cat ./uni.h /usr/include/linux/atmsap.h | /usr/bin/perl ./mknl.pl atm_ai_msg atm_ai_ie atm_loc atm_cv atm_pu atm_na atm_cond atm_ie atm_msg atm_np atm_ton atm_sat atm_prs atm_scrn atm_vpa atm_poe q2931_cs atm_td atm_bc atm_tc atm_stc atm_upcc q2931_proto atm_flag atm_aalp atm_fd atm_tag atm_l2 atm_l3 atm_tt atm_mc atm_hl atm_imd atm_tdl atm_tni atm_nip atm_shi atm_oci atm_unfm atm_ofi atm_irs atm_it atm_lit atm_lsi atm_tcs atm_css atm_eqo atm_eqp atm_aap atm_asp atm_tor >default.nl || \ { rm -f default.nl; echo 1; } gcc -E -DHAVE_CONFIG_H -I. -I../.. - < ./msg.fmt | ../qgen/qgen 229 groups, 213 fields (26 var-len), construction area is 1069 bytes, 3425 words in constructor, 3179 words in parser. gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c q.out.c gcc -E -DHAVE_CONFIG_H -I. -I../.. - < ./msg.fmt | ../qgen/qgen -D 229 groups, 213 fields (26 var-len), construction area is 1069 bytes, 0 words in constructor, 5073 words in parser, 534 symbolic names in 256 tables. gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c qd.dump.c make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.2/src/q2931' Making all in saal make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.2/src/saal' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c pdu.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c queue.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c saal.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sscf.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sscop.c rm -f libsaal.a ar cru libsaal.a pdu.o queue.o saal.o sscf.o sscop.o ranlib libsaal.a make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.2/src/saal' Making all in sigd make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.2/src/sigd' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmsigd.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c io.c io.c: In function 'get_pvc': io.c:361:53: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 361 | if (getsockname(s,(struct sockaddr *) &addr,&size) < 0) | ^~~~~ | | | int * In file included from io.c:17: /usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c kernel.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c proto.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c uni.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sap.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c timeout.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c trace.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c policy.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c cfg_y.c cfg_y.y:32:12: warning: 'hex2num' defined but not used [-Wunused-function] 32 | static int hex2num(char digit) | ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c cfg_l.c cfg_l.c:1520:16: warning: 'input' defined but not used [-Wunused-function] 1520 | static int input (void) | ^~~~~ cfg_l.c:1479:17: warning: 'yyunput' defined but not used [-Wunused-function] 1479 | static void yyunput (int c, register char * yy_bp ) | ^~~~~~~ /usr/bin/perl ./mkmess.pl <./../q2931/uni.h >mess.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/q2931 -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c mess.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmsigd atmsigd.o io.o kernel.o proto.o uni.o sap.o timeout.o trace.o policy.o cfg_y.o cfg_l.o mess.o ../../src/q2931/q.out.o ../../src/q2931/qd.dump.o ../../src/lib/libatm.la ../../src/saal/libsaal.a -lfl libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmsigd atmsigd.o io.o kernel.o proto.o uni.o sap.o timeout.o trace.o policy.o cfg_y.o cfg_l.o mess.o ../../src/q2931/q.out.o ../../src/q2931/qd.dump.o ../../src/lib/.libs/libatm.so -lresolv ../../src/saal/libsaal.a -lfl make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.2/src/sigd' Making all in maint make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.2/src/maint' cd ../.. && /bin/sh /builddir/build/BUILD/linux-atm-2.5.2/missing --run automake-1.11 --gnu src/maint/Makefile /builddir/build/BUILD/linux-atm-2.5.2/missing: line 52: automake-1.11: command not found WARNING: `automake-1.11' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd ../.. && /bin/sh ./config.status src/maint/Makefile depfiles config.status: creating src/maint/Makefile config.status: executing depfiles commands gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmdiag.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmdiag atmdiag.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmdiag atmdiag.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmdump.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmdump atmdump.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmdump atmdump.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sonetdiag.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o sonetdiag sonetdiag.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/sonetdiag sonetdiag.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c saaldump.c saaldump.c: In function 'main': saaldump.c:174:17: warning: pointer targets in passing argument 1 of 'analyze' differ in signedness [-Wpointer-sign] 174 | analyze(buf,size,stamp); | ^~~ | | | char * saaldump.c:79:36: note: expected 'unsigned char *' but argument is of type 'char *' 79 | static void analyze(unsigned char *pdu,int size,struct timeval stamp) | ~~~~~~~~~~~~~~~^~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o saaldump saaldump.o ../../src/q2931/qd.dump.o ../../src/saal/libsaal.a ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/saaldump saaldump.o ../../src/q2931/qd.dump.o ../../src/saal/libsaal.a ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmaddr.c atmaddr.c: In function 'main': atmaddr.c:100:52: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 100 | fprintf(stderr,"internal error: len %d %% %d\n",req.length, | ~^ | | | int | %ld 101 | sizeof(*addr)); | ~~~~~~~~~~~~~ | | | long unsigned int /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmaddr atmaddr.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmaddr atmaddr.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c esi.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o esi esi.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/esi esi.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmloop.c atmloop.c: In function 'main': atmloop.c:119:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 119 | req.arg = (void *) mode; | ^ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmloop atmloop.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmloop atmloop.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmtcp.c atmtcp.c: In function 'file_write': atmtcp.c:582:44: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 582 | fprintf(stderr,"short write (%d < %d)\n",wrote,sizeof(stream)); | ~^ ~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld atmtcp.c: In function 'main': atmtcp.c:848:61: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 848 | if ((*fd2 = accept(fd,(struct sockaddr *) &addr,&addr_len)) < 0) { | ^~~~~~~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from atmtcp.c:15: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmtcp atmtcp.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmtcp atmtcp.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c enitune.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o enitune enitune.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/enitune enitune.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c zntune.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o zntune zntune.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/zntune zntune.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c hediag.c hediag.c:19:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19 | { 0x80000, "reset_cntl" }, | ^~~~~~~~~~~~ hediag.c:20:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 20 | { 0x80004, "host_cntl" }, | ^~~~~~~~~~~ hediag.c:21:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21 | { 0x80008, "lb_swap" }, | ^~~~~~~~~ hediag.c:22:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 22 | { 0x8000c, "lb_mem_addr" }, | ^~~~~~~~~~~~~ hediag.c:23:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 23 | { 0x80010, "lb_mem_data" }, | ^~~~~~~~~~~~~ hediag.c:24:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 24 | { 0x80014, "lb_mem_access" }, | ^~~~~~~~~~~~~~~ hediag.c:25:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 25 | { 0x80018, "sdram_ctl" }, | ^~~~~~~~~~~ hediag.c:26:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 26 | { 0x8001c, "int_fifo" }, | ^~~~~~~~~~ hediag.c:27:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 27 | { 0x80020, "abort_addr" }, | ^~~~~~~~~~~~ hediag.c:29:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 29 | { 0x80080, "irq0_base" }, | ^~~~~~~~~~~ hediag.c:30:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 30 | { 0x80084, "irq0_head" }, | ^~~~~~~~~~~ hediag.c:31:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 31 | { 0x80088, "irq0_cntl" }, | ^~~~~~~~~~~ hediag.c:32:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 32 | { 0x8008c, "irq0_data" }, | ^~~~~~~~~~~ hediag.c:34:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 34 | { 0x800c0, "grp_10_map" }, | ^~~~~~~~~~~~ hediag.c:35:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 35 | { 0x800c4, "grp_32_map" }, | ^~~~~~~~~~~~ hediag.c:36:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 36 | { 0x800c8, "grp_54_map" }, | ^~~~~~~~~~~~ hediag.c:37:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 37 | { 0x800cc, "grp_76_map" }, | ^~~~~~~~~~~~ hediag.c:39:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 39 | { 0x80400, "g0_rbps_s" }, | ^~~~~~~~~~~ hediag.c:40:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 40 | { 0x80404, "g0_rbps_t" }, | ^~~~~~~~~~~ hediag.c:41:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | { 0x80408, "g0_rbps_qi" }, | ^~~~~~~~~~~~ hediag.c:42:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 42 | { 0x8040c, "g0_rbps_bs" }, | ^~~~~~~~~~~~ hediag.c:43:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 43 | { 0x80410, "g0_rbpl_s" }, | ^~~~~~~~~~~ hediag.c:44:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 44 | { 0x80414, "g0_rbpl_t" }, | ^~~~~~~~~~~ hediag.c:45:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | { 0x80418, "g0_rbpl_qi" }, | ^~~~~~~~~~~~ hediag.c:46:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 46 | { 0x8041c, "g0_rbpl_bs" }, | ^~~~~~~~~~~~ hediag.c:49:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | { 0x80580, "g0_inmq_s" }, | ^~~~~~~~~~~ hediag.c:50:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | { 0x80584, "g0_inmq_l" }, | ^~~~~~~~~~~ hediag.c:51:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | { 0x80588, "g1_inmq_s" }, | ^~~~~~~~~~~ hediag.c:52:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | { 0x8058c, "g1_inmq_l" }, | ^~~~~~~~~~~ hediag.c:53:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | { 0x80590, "g2_inmq_s" }, | ^~~~~~~~~~~ hediag.c:54:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 54 | { 0x80594, "g2_inmq_l" }, | ^~~~~~~~~~~ hediag.c:55:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | { 0x80598, "g3_inmq_s" }, | ^~~~~~~~~~~ hediag.c:56:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | { 0x8059c, "g3_inmq_l" }, | ^~~~~~~~~~~ hediag.c:57:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | { 0x805a0, "g4_inmq_s" }, | ^~~~~~~~~~~ hediag.c:58:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | { 0x805a4, "g4_inmq_l" }, | ^~~~~~~~~~~ hediag.c:59:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | { 0x805a8, "g5_inmq_s" }, | ^~~~~~~~~~~ hediag.c:60:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | { 0x805ac, "g5_inmq_l" }, | ^~~~~~~~~~~ hediag.c:61:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | { 0x805b0, "g6_inmq_s" }, | ^~~~~~~~~~~ hediag.c:62:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | { 0x805b4, "g6_inmq_l" }, | ^~~~~~~~~~~ hediag.c:63:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | { 0x805b8, "g7_inmq_s" }, | ^~~~~~~~~~~ hediag.c:64:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | { 0x805bc, "g7_inmq_l" }, | ^~~~~~~~~~~ hediag.c:66:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | { 0x80680, "tpdrq_b_h" }, | ^~~~~~~~~~~ hediag.c:67:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | { 0x80684, "tpdrq_t" }, | ^~~~~~~~~ hediag.c:68:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | { 0x80688, "tpdrq_s" }, | ^~~~~~~~~ hediag.c:70:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | { 0x8068c, "ubuff_ba" }, | ^~~~~~~~~~ hediag.c:72:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | { 0x806c0, "rlbf0_h" }, | ^~~~~~~~~ hediag.c:73:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | { 0x806c4, "rlbf0_t" }, | ^~~~~~~~~ hediag.c:74:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | { 0x806c8, "rlbf1_h" }, | ^~~~~~~~~ hediag.c:75:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | { 0x806cc, "rlbf1_t" }, | ^~~~~~~~~ hediag.c:76:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | { 0x806d0, "rlbc_h" }, | ^~~~~~~~ hediag.c:77:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | { 0x806d4, "rlbc_t" }, | ^~~~~~~~ hediag.c:78:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | { 0x806d8, "rlbc_h2" }, | ^~~~~~~~~ hediag.c:79:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | { 0x806e0, "tlbf_h" }, | ^~~~~~~~ hediag.c:80:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | { 0x806e4, "tlbf_t" }, | ^~~~~~~~ hediag.c:81:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | { 0x806e8, "rlbf0_c" }, | ^~~~~~~~~ hediag.c:82:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | { 0x806ec, "rlbf1_c" }, | ^~~~~~~~~ hediag.c:84:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | { 0x806f0, "rxthrsh" }, | ^~~~~~~~~ hediag.c:85:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | { 0x806f4, "lithrsh" }, | ^~~~~~~~~ hediag.c:87:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | { 0x80700, "lbarb" }, | ^~~~~~~ hediag.c:88:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | { 0x80704, "sdramcon" }, | ^~~~~~~~~~ hediag.c:89:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | { 0x80708, "lbstat" }, | ^~~~~~~~ hediag.c:90:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | { 0x8070c, "rcc_stat" }, | ^~~~~~~~~~ hediag.c:92:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | { 0x80740, "tcmconfig" }, | ^~~~~~~~~~~ hediag.c:93:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | { 0x80744, "tsrb_ba" }, | ^~~~~~~~~ hediag.c:94:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | { 0x80748, "tsrc_ba" }, | ^~~~~~~~~ hediag.c:95:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | { 0x8074c, "tmabr_ba" }, | ^~~~~~~~~~ hediag.c:96:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | { 0x80750, "tpd_ba" }, | ^~~~~~~~ hediag.c:97:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | { 0x80758, "tsrd_ba" }, | ^~~~~~~~~ hediag.c:99:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | { 0x80760, "tx_config" }, | ^~~~~~~~~~~ hediag.c:100:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | { 0x80764, "txaal5_proto" }, | ^~~~~~~~~~~~~~ hediag.c:102:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | { 0x80780, "rcmconfig" }, | ^~~~~~~~~~~ hediag.c:103:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | { 0x80784, "rsrb_ba" }, | ^~~~~~~~~ hediag.c:104:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | { 0x80788, "rcmlbm_ba" }, | ^~~~~~~~~~~ hediag.c:105:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | { 0x8078c, "rcmabr_ba" }, | ^~~~~~~~~~~ hediag.c:107:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | { 0x807c0, "rc_config" }, | ^~~~~~~~~~~ hediag.c:109:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | { 0x807c4, "mcc" }, | ^~~~~ hediag.c:110:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | { 0x807c8, "oec" }, | ^~~~~ hediag.c:111:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | { 0x807cc, "dcc" }, | ^~~~~ hediag.c:112:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | { 0x807d0, "cec" }, | ^~~~~ hediag.c:114:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | { 0x807f4, "lb_config" }, | ^~~~~~~~~~~ hediag.c:116:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | { 0x807f0, "hsp_ba" }, | ^~~~~~~~ hediag.c:118:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | { 0x807f8, "con_dat" }, | ^~~~~~~~~ hediag.c:119:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | { 0x807fc, "con_ctl" }, | ^~~~~~~~~ hediag.c: In function 'main': hediag.c:155:13: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 155 | if (strcmp(argv[2], "readpci") == 0) | ^~~~~~ hediag.c:11:1: note: include '' or provide a declaration of 'strcmp' 10 | #include +++ |+#include 11 | /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o hediag hediag.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/hediag hediag.o ../../src/lib/.libs/libatm.so -lresolv make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.2/src/maint' Making all in arpd make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.2/src/arpd' cd ../.. && /bin/sh ./config.status src/arpd/Makefile depfiles config.status: creating src/arpd/Makefile config.status: executing depfiles commands gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmarp.c atmarp.c: In function 'send_request': atmarp.c:70:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 70 | fprintf(stderr,"bad read: %d != %d\n",len,sizeof(int)); | ~^ ~~~~~~~~~~~ | | | | int long unsigned int | %ld /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmarp atmarp.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmarp atmarp.o ../../src/lib/.libs/libatm.so -lresolv gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmarpd.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c arp.c In file included from arp.c:25: arp.c: In function 'want_arp_srv': ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:134:5: note: in expansion of macro 'Q_INSERT_HEAD' 134 | Q_INSERT_HEAD(itf->arp_srv->vccs,vcc); | ^~~~~~~~~~~~~ arp.c:134:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 134 | Q_INSERT_HEAD(itf->arp_srv->vccs,vcc); | ^~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ arp.c: In function 'connect_me': ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:451:5: note: in expansion of macro 'Q_INSERT_HEAD' 451 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~~~~~~~~~ arp.c:451:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 451 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ arp.c: In function 'learn': ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:509:9: note: in expansion of macro 'Q_INSERT_HEAD' 509 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~~~~~~~~~ arp.c:509:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 509 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:568:9: note: in expansion of macro 'Q_INSERT_HEAD' 568 | Q_INSERT_HEAD(itf->table,entry); | ^~~~~~~~~~~~~ arp.c:568:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 568 | Q_INSERT_HEAD(itf->table,entry); | ^~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:583:17: note: in expansion of macro 'Q_INSERT_HEAD' 583 | Q_INSERT_HEAD(entry->vccs,incoming->vccs); | ^~~~~~~~~~~~~ arp.c:583:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 583 | Q_INSERT_HEAD(entry->vccs,incoming->vccs); | ^~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ arp.c: In function 'resolve': ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:663:9: note: in expansion of macro 'Q_INSERT_HEAD' 663 | Q_INSERT_HEAD(itf->table,*entry); | ^~~~~~~~~~~~~ arp.c:663:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 663 | Q_INSERT_HEAD(itf->table,*entry); | ^~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ arp.c: In function 'ioctl_set_pvc': ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:901:5: note: in expansion of macro 'Q_INSERT_HEAD' 901 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~~~~~~~~~ arp.c:901:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 901 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:902:5: note: in expansion of macro 'Q_INSERT_HEAD' 902 | Q_INSERT_HEAD(itf->table,entry); | ^~~~~~~~~~~~~ arp.c:902:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 902 | Q_INSERT_HEAD(itf->table,entry); | ^~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ arp.c: In function 'ioctl_set_svc': ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ arp.c:927:5: note: in expansion of macro 'Q_INSERT_HEAD' 927 | Q_INSERT_HEAD(itf->table,entry); | ^~~~~~~~~~~~~ arp.c:927:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 927 | Q_INSERT_HEAD(itf->table,entry); | ^~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c io.c io.c: In function 'accept_new': io.c:283:57: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 283 | if ((fd = accept(incoming,(struct sockaddr *) &addr,&len)) < 0) { | ^~~~ | | | int * In file included from io.c:17: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ io.c:298:46: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 298 | if (getsockopt(fd,SOL_ATM,SO_ATMQOS,&qos,&size) < 0) | ^~~~~ | | | int * /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from io.c:28: ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ io.c:315:9: note: in expansion of macro 'Q_INSERT_HEAD' 315 | Q_INSERT_HEAD(unidirectional_vccs,vcc); | ^~~~~~~~~~~~~ io.c:315:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 315 | Q_INSERT_HEAD(unidirectional_vccs,vcc); | ^~~~~~~~~~~~~~~~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ io.c:325:17: note: in expansion of macro 'Q_INSERT_HEAD' 325 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~~~~~~~~~ io.c:325:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 325 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ io.c:343:5: note: in expansion of macro 'Q_INSERT_HEAD' 343 | Q_INSERT_HEAD(unknown_incoming,entry); | ^~~~~~~~~~~~~ io.c:343:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 343 | Q_INSERT_HEAD(unknown_incoming,entry); | ^~~~~~~~~~~~~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ io.c:345:5: note: in expansion of macro 'Q_INSERT_HEAD' 345 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~~~~~~~~~ io.c:345:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 345 | Q_INSERT_HEAD(entry->vccs,vcc); | ^~~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ io.c: In function 'get_local': io.c:620:54: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 620 | result = getsockname(fd,(struct sockaddr *) addr,&length); | ^~~~~~~ | | | int * /usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c itf.c In file included from itf.c:18: itf.c: In function 'itf_up': ../../src/include/atmd.h:23:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (r) (r)->prev = i; r = i; }) | ^~ itf.c:77:5: note: in expansion of macro 'Q_INSERT_HEAD' 77 | Q_INSERT_HEAD(itfs,itf); | ^~~~~~~~~~~~~ itf.c:77:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 77 | Q_INSERT_HEAD(itfs,itf); | ^~~~ ../../src/include/atmd.h:23:25: note: in definition of macro 'Q_INSERT_HEAD' 23 | if (r) (r)->prev = i; r = i; }) | ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c table.c table.c: In function 'dump_vcc': table.c:107:55: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] 107 | if (getpeername(vcc->fd,(struct sockaddr *) &addr,&size) < 0) { | ^~~~~ | | | int * In file included from table.c:15: /usr/include/sys/socket.h:131:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ table.c:127:51: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 127 | if (getsockopt(vcc->fd,SOL_ATM,SO_ATMQOS,&qos,&size) < 0) | ^~~~~ | | | int * /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ table.c:135:57: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 135 | if (getsockopt(vcc->fd,SOL_SOCKET,SO_SNDBUF,&sndbuf,&size) < 0) | ^~~~~ | | | int * /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o atmarpd atmarpd.o arp.o io.o itf.o table.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/atmarpd atmarpd.o arp.o io.o itf.o table.o ../../src/lib/.libs/libatm.so -lresolv make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.2/src/arpd' Making all in ilmid make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.2/src/ilmid' cd ../.. && /bin/sh ./config.status src/ilmid/Makefile depfiles config.status: creating src/ilmid/Makefile config.status: executing depfiles commands Making all in asn1 make[4]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.2/src/ilmid/asn1' cd ../../.. && /bin/sh ./config.status src/ilmid/asn1/Makefile depfiles config.status: creating src/ilmid/asn1/Makefile config.status: executing depfiles commands gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c asn_len.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c asn_tag.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c asn_int.c asn_int.c: In function 'PrintAsnInt': asn_int.c:188:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'AsnInt' {aka 'long int'} [-Wformat=] 188 | fprintf(f,"%d", *v); | ~^ ~~ | | | | int AsnInt {aka long int} | %ld asn_int.c: In function 'BEncUAsnIntContent': asn_int.c:255:21: warning: unused variable 'retLen' [-Wunused-variable] 255 | int retLen; | ^~~~~~ asn_int.c: In function 'PrintUAsnInt': asn_int.c:373:17: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'UAsnInt' {aka 'long unsigned int'} [-Wformat=] 373 | fprintf(f,"%u", *v); | ~^ ~~ | | | | | UAsnInt {aka long unsigned int} | unsigned int | %lu gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c asn_octs.c asn_octs.c: In function 'BDecAsnOctsContent': asn_octs.c:225:11: warning: unused variable 'tmp' [-Wunused-variable] 225 | char* tmp; | ^~~ gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c asn_bits.c asn_bits.c: In function 'FillBitStringStk': asn_bits.c:133:23: warning: unused variable 'unusedBits' [-Wunused-variable] 133 | unsigned long int unusedBits; | ^~~~~~~~~~ asn_bits.c: In function 'BDecAsnBitsContent': asn_bits.c:263:11: warning: unused variable 'tmp' [-Wunused-variable] 263 | char* tmp; | ^~~ asn_bits.c: In function 'AsnBitsEquiv': asn_bits.c:348:64: warning: self-comparison always evaluates to true [-Wtautological-compare] 348 | (( b1->bits[octetsLessOne] & (0xFF << octetBits)) == | ^~ gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c str_stk.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c asn_oid.c asn_oid.c: In function 'PrintAsnOid': asn_oid.c:130:20: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] 130 | fprintf(f,"%u %u", firstArcNum, arcNum - (firstArcNum * 40)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | unsigned int long unsigned int | %lu asn_oid.c:139:22: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 139 | fprintf(f," %u", arcNum); | ~^ ~~~~~~ | | | | | long unsigned int | unsigned int | %lu gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c asn_null.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c asn_list.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c nibble_alloc.c nibble_alloc.c: In function 'ResetNibbleMem': nibble_alloc.c:132:9: warning: unused variable 'i' [-Wunused-variable] 132 | int i; | ^ nibble_alloc.c: In function 'ShutdownNibbleMem': nibble_alloc.c:170:9: warning: unused variable 'i' [-Wunused-variable] 170 | int i; | ^ gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c print.c rm -f libasn1.a ar cru libasn1.a asn_len.o asn_tag.o asn_int.o asn_octs.o asn_bits.o str_stk.o asn_oid.o asn_null.o asn_list.o nibble_alloc.o print.o ranlib libasn1.a make[4]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.2/src/ilmid/asn1' make[4]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.2/src/ilmid' gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c rfc1157_snmp.c rfc1157_snmp.c: In function 'BEncVarBindContent': rfc1157_snmp.c:30:11: warning: unused variable 'component' [-Wunused-variable] 30 | void* component; | ^~~~~~~~~ rfc1157_snmp.c:29:12: warning: unused variable 'listLen' [-Wunused-variable] 29 | AsnLen listLen; | ^~~~~~~ rfc1157_snmp.c: In function 'BDecVarBindContent': rfc1157_snmp.c:62:12: warning: unused variable 'tagId2' [-Wunused-variable] 62 | AsnTag tagId2; | ^~~~~~ rfc1157_snmp.c:61:12: warning: unused variable 'elmtLen2' [-Wunused-variable] 61 | AsnLen elmtLen2; | ^~~~~~~~ rfc1157_snmp.c:60:12: warning: unused variable 'totalElmtsLen2' [-Wunused-variable] 60 | AsnLen totalElmtsLen2 = 0; | ^~~~~~~~~~~~~~ rfc1157_snmp.c:59:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 59 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1157_snmp.c: In function 'BEncVarBindListContent': rfc1157_snmp.c:141:12: warning: unused variable 'totalLen' [-Wunused-variable] 141 | AsnLen totalLen = 0; | ^~~~~~~~ rfc1157_snmp.c: In function 'BDecVarBindListContent': rfc1157_snmp.c:173:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 173 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1157_snmp.c:169:9: warning: unused variable 'seqDone' [-Wunused-variable] 169 | int seqDone = FALSE; | ^~~~~~~ rfc1157_snmp.c: In function 'BEncPDUContent': rfc1157_snmp.c:237:11: warning: unused variable 'component' [-Wunused-variable] 237 | void* component; | ^~~~~~~~~ rfc1157_snmp.c:236:12: warning: unused variable 'listLen' [-Wunused-variable] 236 | AsnLen listLen; | ^~~~~~~ rfc1157_snmp.c: In function 'BDecPDUContent': rfc1157_snmp.c:284:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 284 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1157_snmp.c: In function 'BEncTrap_PDUContent': rfc1157_snmp.c:383:11: warning: unused variable 'component' [-Wunused-variable] 383 | void* component; | ^~~~~~~~~ rfc1157_snmp.c:382:12: warning: unused variable 'listLen' [-Wunused-variable] 382 | AsnLen listLen; | ^~~~~~~ rfc1157_snmp.c: In function 'BDecTrap_PDUContent': rfc1157_snmp.c:443:12: warning: unused variable 'tagId2' [-Wunused-variable] 443 | AsnTag tagId2; | ^~~~~~ rfc1157_snmp.c:442:12: warning: unused variable 'elmtLen2' [-Wunused-variable] 442 | AsnLen elmtLen2; | ^~~~~~~~ rfc1157_snmp.c:441:12: warning: unused variable 'totalElmtsLen2' [-Wunused-variable] 441 | AsnLen totalElmtsLen2 = 0; | ^~~~~~~~~~~~~~ rfc1157_snmp.c:440:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 440 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1157_snmp.c: In function 'BEncPDUsContent': rfc1157_snmp.c:573:11: warning: unused variable 'component' [-Wunused-variable] 573 | void* component; | ^~~~~~~~~ rfc1157_snmp.c:572:12: warning: unused variable 'listLen' [-Wunused-variable] 572 | AsnLen listLen; | ^~~~~~~ rfc1157_snmp.c: In function 'BDecPDUsContent': rfc1157_snmp.c:645:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 645 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1157_snmp.c:644:12: warning: unused variable 'tagId1' [-Wunused-variable] 644 | AsnTag tagId1; | ^~~~~~ rfc1157_snmp.c:643:12: warning: unused variable 'elmtLen1' [-Wunused-variable] 643 | AsnLen elmtLen1; | ^~~~~~~~ rfc1157_snmp.c:641:9: warning: unused variable 'seqDone' [-Wunused-variable] 641 | int seqDone = FALSE; | ^~~~~~~ rfc1157_snmp.c: In function 'BEncMessageContent': rfc1157_snmp.c:771:11: warning: unused variable 'component' [-Wunused-variable] 771 | void* component; | ^~~~~~~~~ rfc1157_snmp.c:770:12: warning: unused variable 'listLen' [-Wunused-variable] 770 | AsnLen listLen; | ^~~~~~~ rfc1157_snmp.c: In function 'BDecMessageContent': rfc1157_snmp.c:810:12: warning: unused variable 'tagId2' [-Wunused-variable] 810 | AsnTag tagId2; | ^~~~~~ rfc1157_snmp.c:809:12: warning: unused variable 'elmtLen2' [-Wunused-variable] 809 | AsnLen elmtLen2; | ^~~~~~~~ rfc1157_snmp.c:808:12: warning: unused variable 'totalElmtsLen2' [-Wunused-variable] 808 | AsnLen totalElmtsLen2 = 0; | ^~~~~~~~~~~~~~ rfc1157_snmp.c:807:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 807 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c rfc1155_smi.c rfc1155_smi.c:22:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 22 | AsnOid internet = { 3, "\53\6\1" }; | ^~~~~~~~~ rfc1155_smi.c:24:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 24 | AsnOid directory = { 4, "\53\6\1\1" }; | ^~~~~~~~~~~ rfc1155_smi.c:26:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 26 | AsnOid mgmt = { 4, "\53\6\1\2" }; | ^~~~~~~~~~~ rfc1155_smi.c:28:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 28 | AsnOid experimental = { 4, "\53\6\1\3" }; | ^~~~~~~~~~~ rfc1155_smi.c:30:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 30 | AsnOid private = { 4, "\53\6\1\4" }; | ^~~~~~~~~~~ rfc1155_smi.c:32:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 32 | AsnOid enterprises = { 5, "\53\6\1\4\1" }; | ^~~~~~~~~~~~~ rfc1155_smi.c: In function 'BEncSimpleSyntaxContent': rfc1155_smi.c:42:11: warning: unused variable 'component' [-Wunused-variable] 42 | void* component; | ^~~~~~~~~ rfc1155_smi.c:41:12: warning: unused variable 'listLen' [-Wunused-variable] 41 | AsnLen listLen; | ^~~~~~~ rfc1155_smi.c: In function 'BDecSimpleSyntaxContent': rfc1155_smi.c:102:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 102 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1155_smi.c:101:12: warning: unused variable 'tagId1' [-Wunused-variable] 101 | AsnTag tagId1; | ^~~~~~ rfc1155_smi.c:100:12: warning: unused variable 'elmtLen1' [-Wunused-variable] 100 | AsnLen elmtLen1; | ^~~~~~~~ rfc1155_smi.c:98:9: warning: unused variable 'seqDone' [-Wunused-variable] 98 | int seqDone = FALSE; | ^~~~~~~ rfc1155_smi.c: In function 'BEncNetworkAddressContent': rfc1155_smi.c:182:11: warning: unused variable 'component' [-Wunused-variable] 182 | void* component; | ^~~~~~~~~ rfc1155_smi.c:181:12: warning: unused variable 'listLen' [-Wunused-variable] 181 | AsnLen listLen; | ^~~~~~~ rfc1155_smi.c: In function 'BDecNetworkAddressContent': rfc1155_smi.c:213:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 213 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1155_smi.c:212:12: warning: unused variable 'tagId1' [-Wunused-variable] 212 | AsnTag tagId1; | ^~~~~~ rfc1155_smi.c:211:12: warning: unused variable 'elmtLen1' [-Wunused-variable] 211 | AsnLen elmtLen1; | ^~~~~~~~ rfc1155_smi.c:209:9: warning: unused variable 'seqDone' [-Wunused-variable] 209 | int seqDone = FALSE; | ^~~~~~~ rfc1155_smi.c: In function 'BEncApplicationSyntaxContent': rfc1155_smi.c:261:11: warning: unused variable 'component' [-Wunused-variable] 261 | void* component; | ^~~~~~~~~ rfc1155_smi.c:260:12: warning: unused variable 'listLen' [-Wunused-variable] 260 | AsnLen listLen; | ^~~~~~~ rfc1155_smi.c: In function 'BDecApplicationSyntaxContent': rfc1155_smi.c:332:12: warning: unused variable 'tagId2' [-Wunused-variable] 332 | AsnTag tagId2; | ^~~~~~ rfc1155_smi.c:331:12: warning: unused variable 'elmtLen2' [-Wunused-variable] 331 | AsnLen elmtLen2; | ^~~~~~~~ rfc1155_smi.c:330:12: warning: unused variable 'totalElmtsLen2' [-Wunused-variable] 330 | AsnLen totalElmtsLen2 = 0; | ^~~~~~~~~~~~~~ rfc1155_smi.c:329:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 329 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1155_smi.c:328:12: warning: unused variable 'tagId1' [-Wunused-variable] 328 | AsnTag tagId1; | ^~~~~~ rfc1155_smi.c:327:12: warning: unused variable 'elmtLen1' [-Wunused-variable] 327 | AsnLen elmtLen1; | ^~~~~~~~ rfc1155_smi.c:325:9: warning: unused variable 'seqDone' [-Wunused-variable] 325 | int seqDone = FALSE; | ^~~~~~~ rfc1155_smi.c: In function 'BEncObjectSyntaxContent': rfc1155_smi.c:423:11: warning: unused variable 'component' [-Wunused-variable] 423 | void* component; | ^~~~~~~~~ rfc1155_smi.c:422:12: warning: unused variable 'listLen' [-Wunused-variable] 422 | AsnLen listLen; | ^~~~~~~ rfc1155_smi.c: In function 'BDecObjectSyntaxContent': rfc1155_smi.c:462:12: warning: unused variable 'tagId2' [-Wunused-variable] 462 | AsnTag tagId2; | ^~~~~~ rfc1155_smi.c:461:12: warning: unused variable 'elmtLen2' [-Wunused-variable] 461 | AsnLen elmtLen2; | ^~~~~~~~ rfc1155_smi.c:460:12: warning: unused variable 'totalElmtsLen2' [-Wunused-variable] 460 | AsnLen totalElmtsLen2 = 0; | ^~~~~~~~~~~~~~ rfc1155_smi.c:459:9: warning: unused variable 'mandatoryElmtCount1' [-Wunused-variable] 459 | int mandatoryElmtCount1 = 0; | ^~~~~~~~~~~~~~~~~~~ rfc1155_smi.c:458:12: warning: unused variable 'tagId1' [-Wunused-variable] 458 | AsnTag tagId1; | ^~~~~~ rfc1155_smi.c:457:12: warning: unused variable 'elmtLen1' [-Wunused-variable] 457 | AsnLen elmtLen1; | ^~~~~~~~ rfc1155_smi.c:455:9: warning: unused variable 'seqDone' [-Wunused-variable] 455 | int seqDone = FALSE; | ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c util.c util.c: In function 'AppendVarBind': util.c:78:12: warning: unused variable 'entry' [-Wunused-variable] 78 | VarBind *entry; | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c io.c io.c: In function 'handle_ilmidiag': io.c:430:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 430 | write(newfd, &ic, sizeof(ic)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:417:14: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 417 | else strncpy( ic.remote_sysname, "(empty)", 7 ); | ^ io.c:422:14: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 422 | else strncpy( ic.remote_contact, "(empty)", 7 ); | ^ io.c:428:14: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 428 | else strncpy( ic.remote_portname, "(empty)", 7 ); | ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c message.c message.c: In function 'create_va_getnext_message': message.c:51:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | m->community.octs = "ILMI"; | ^ message.c: In function 'create_va_get_message': message.c:89:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | m->community.octs = "ILMI"; | ^ message.c: In function 'create_set_message': message.c:166:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 166 | set_message->community.octs = "ILMI"; | ^ message.c: In function 'create_coldstart_message': message.c:198:32: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 198 | trap_message->community.octs = "ILMI"; | ^ message.c:203:47: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 203 | trap_message->data->a.trap->enterprise.octs = "\53\06\01\04\01\03\01\01"; | ^ message.c:209:60: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 209 | trap_message->data->a.trap->agent_addr->a.internet->octs = "\0\0\0\0"; | ^ message.c:220:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 220 | entry->name.octs = "\53\06\01\02\01\01\03\00"; | ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmf_uni.c atmf_uni.c:42:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 42 | {19, "\53\06\01\04\01\202\106\02\02\02\01\06\02\01\01\01\13\00\00" }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:44:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 44 | {19, "\53\06\01\04\01\202\106\02\02\02\01\06\02\01\01\01\102\00\00" }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:45:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | AsnOid atmfPortIndex = {13, "\53\06\01\04\01\202\141\02\01\01\01\01\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:46:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 46 | AsnOid atmfPortMyIfName = {13, "\53\06\01\04\01\202\141\02\01\01\01\07\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:47:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 47 | AsnOid atmfPortMyIdentifier = {13, "\53\06\01\04\01\202\141\02\01\01\01\10\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:48:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 48 | AsnOid atmfMyIpNmAddress = {11, "\53\06\01\04\01\202\141\02\01\02\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:49:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | AsnOid atmfMySystemIdentifier = {11, "\53\06\01\04\01\202\141\02\01\04\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:50:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | AsnOid atmfAtmLayerMaxVpiBits = {13, "\53\06\01\04\01\202\141\02\02\01\01\6\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:51:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | AsnOid atmfAtmLayerMaxVciBits = {13, "\53\06\01\04\01\202\141\02\02\01\01\7\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:52:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | AsnOid atmfAtmLayerUniType = {13, "\53\06\01\04\01\202\141\02\02\01\01\10\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:53:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | AsnOid atmfAtmLayerUniVersion = {13, "\53\06\01\04\01\202\141\02\02\01\01\11\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:54:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 54 | AsnOid atmfAtmLayerDeviceType = {13, "\53\06\01\04\01\202\141\02\02\01\01\12\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:55:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | AsnOid atmfAtmLayerIlmiVersion = {13, "\53\06\01\04\01\202\141\02\02\01\01\13\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:56:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | AsnOid atmfAtmLayerNniSigVersion = {13, "\53\06\01\04\01\202\141\02\02\01\01\14\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:57:46: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | AsnOid atmfNetPrefixStatus = {NETPREFIX_LEN, "\53\06\01\04\01\202\141\02\07\01\01\03"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:60:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | {25, "\53\06\01\04\01\202\141\02\10\01\01\03\00\12\01\03\06\01\04\01\202\141\01\05\01"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:63:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | AsnOid atmfSrvcRegTable = { 10, "\53\06\01\04\01\202\141\02\10\01" }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:64:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | AsnOid atmfAddressTable = { 9, "\53\06\01\04\01\202\141\02\06" }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:65:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | AsnOid atmfAddressStatus = { 12, "\53\06\01\04\01\202\141\02\06\01\01\03" }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atmf_uni.c:67:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | { 13, "\53\06\01\04\01\202\141\02\13\01\01\02\00" }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mib.h:27, from atmf_uni.h:30, from atmf_uni.c:29: atmf_uni.c: In function 'setNetPrefix': ../../src/include/atmd.h:30:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 30 | if (r) (r)->prev = i; r = i; } }) | ^~ atmf_uni.c:234:7: note: in expansion of macro 'Q_INSERT_BEFORE' 234 | Q_INSERT_BEFORE(tmp, newPrefix, prefix); | ^~~~~~~~~~~~~~~ atmf_uni.c:234:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 234 | Q_INSERT_BEFORE(tmp, newPrefix, prefix); | ^~~ ../../src/include/atmd.h:30:25: note: in definition of macro 'Q_INSERT_BEFORE' 30 | if (r) (r)->prev = i; r = i; } }) | ^ atmf_uni.c:246:22: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 246 | NetPrefixNode *tmp = (NetPrefixNode *) var->value; | ^~~ atmf_uni.c: In function 'getLecsAddress': atmf_uni.c:257:18: warning: unused variable 'prefix' [-Wunused-variable] 257 | NetPrefixNode *prefix; | ^~~~~~ atmf_uni.c:256:7: warning: unused variable 'cmp' [-Wunused-variable] 256 | int cmp; | ^~~ atmf_uni.c: At top level: atmf_uni.c:109:16: warning: 'atmLecsAddress' defined but not used [-Wunused-variable] 109 | static AsnOcts atmLecsAddress = {0, NULL}; | ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c mib.c mib.c: In function 'getIpAddr': mib.c:371:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 371 | ((IpAddress *) var->value)->octs = p = alloc(4); | ^ mib.c: In function 'getVpiRange': mib.c:410:33: warning: pointer targets in passing argument 4 of 'put_ci' differ in signedness [-Wpointer-sign] 410 | return put_ci(varbind,var,&ci,&ci.vpi_bits); | ^~~~~~~~~~~~ | | | signed char * mib.c:392:32: note: expected 'char *' but argument is of type 'signed char *' 392 | struct atm_cirange *ci,char *bits) | ~~~~~~^~~~ mib.c: In function 'getVciRange': mib.c:418:33: warning: pointer targets in passing argument 4 of 'put_ci' differ in signedness [-Wpointer-sign] 418 | return put_ci(varbind,var,&ci,&ci.vci_bits); | ^~~~~~~~~~~~ | | | signed char * mib.c:392:32: note: expected 'char *' but argument is of type 'signed char *' 392 | struct atm_cirange *ci,char *bits) | ~~~~~~^~~~ mib.c: In function 'MIBget': mib.c:96:56: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 96 | if((result == AsnOidEqual && var->getnext == NULL) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 97 | (result == AsnOidRoot && var->getnext != NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mib.c:78:16: note: 'result' was declared here 78 | AsnOidResult result; | ^~~~~~ mib.c: In function 'MIBset': mib.c:182:56: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 182 | if((result == AsnOidEqual && var->getnext == NULL) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 183 | /* OR if the request variable is a leaf of a complex MIB object */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | (result == AsnOidRoot && var->getnext != NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mib.c:165:16: note: 'result' was declared here 165 | AsnOidResult result; | ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sysgroup.c sysgroup.c:32:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 32 | AsnOid sysDescr = {8, "\53\06\01\02\01\01\01\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:33:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 33 | AsnOid sysObjectID = {8, "\53\06\01\02\01\01\02\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:34:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 34 | AsnOid sysUpTime = {8, "\53\06\01\02\01\01\03\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:35:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 35 | AsnOid sysContact = {8, "\53\06\01\02\01\01\04\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:36:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 36 | AsnOid sysName = {8, "\53\06\01\02\01\01\05\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:37:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 37 | AsnOid sysLocation = {8, "\53\06\01\02\01\01\06\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:38:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | AsnOid sysServices = {8, "\53\06\01\02\01\01\07\00"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:40:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 40 | AsnOcts sysDescrValue = {25, "ATM on Linux Version " VERSION}; | ^~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:41:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | AsnOid sysObjectIDValue = {8, "\53\06\01\04\01\03\01\01"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:42:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 42 | AsnOcts sysContactValue = {14, "root@localhost"}; | ^~~~~~~~~~~~~~~~ sysgroup.c:43:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 43 | AsnOcts sysNameValue = {23, "localhost.my.domain.com"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ sysgroup.c:44:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 44 | AsnOcts sysLocationValue = {36, "Connected to an ATM switch somewhere"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c ilmid.c ilmid.c:320:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] 320 | int compare_attachment_point( a, b ) | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c wait.c wait.c: In function 'reset_remsys': wait.c:52:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 52 | if( remsys->sysObjectID.octs != NULL ) free( remsys->sysObjectID.octs ); if( remsys->sysContact.octs != NULL ) free( remsys->sysContact.octs ); | ^~ wait.c:52:89: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 52 | if( remsys->sysObjectID.octs != NULL ) free( remsys->sysObjectID.octs ); if( remsys->sysContact.octs != NULL ) free( remsys->sysContact.octs ); | ^~ wait.c:54:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if( remsys->sysLocation.octs != NULL ) free( remsys->sysLocation.octs ); memset( remsys, 0, sizeof( SysGroup )); | ^~ wait.c:54:89: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if( remsys->sysLocation.octs != NULL ) free( remsys->sysLocation.octs ); memset( remsys, 0, sizeof( SysGroup )); | ^~~~~~ wait.c: At top level: wait.c:63:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 63 | static void AsnOctsCopy( dest, src ) | ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c states.c gcc -DHAVE_CONFIG_H -I. -I../.. -I./../ilmid/asn1 -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c actions.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ilmid rfc1157_snmp.o rfc1155_smi.o util.o io.o message.o atmf_uni.o mib.o sysgroup.o ilmid.o wait.o states.o actions.o ../../src/lib/libatm.la ../../src/ilmid/asn1/libasn1.a libtool: link: gcc -I../../src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LINUX_TIME_H -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/ilmid rfc1157_snmp.o rfc1155_smi.o util.o io.o message.o atmf_uni.o mib.o sysgroup.o ilmid.o wait.o states.o actions.o ../../src/lib/.libs/libatm.so -lresolv ../../src/ilmid/asn1/libasn1.a