Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/openhpi-subagent.spec'], chrootPath='/var/lib/mock/f33-build-336960-58401/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/openhpi-subagent.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1596240000 Wrote: /builddir/build/SRPMS/openhpi-subagent-2.3.4-41.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/openhpi-subagent.spec'], chrootPath='/var/lib/mock/f33-build-336960-58401/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/openhpi-subagent.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1596240000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nEJJdP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openhpi-subagent-2.3.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/openhpi-subagent-2.3.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd openhpi-subagent-2.3.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (openhpi-subagent-2.3.4-format.patch): + echo 'Patch #1 (openhpi-subagent-2.3.4-format.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format --fuzz=0 patching file src/saHpiAnnouncementTable.c patching file src/saHpiAreaTable.c patching file src/saHpiAutoInsertTimeoutTable.c patching file src/saHpiDomainEventLogTable.c patching file src/saHpiDomainInfoTable.c patching file src/saHpiDomainReferenceTable.c patching file src/saHpiEventLogInfoTable.c patching file src/saHpiFieldTable.c patching file src/saHpiHotSwapEventLogTable.c patching file src/saHpiHotSwapTable.c patching file src/saHpiOemEventLogTable.c patching file src/saHpiRdrTable.c patching file src/saHpiResourceEventLogTable.c patching file src/saHpiResourceTable.c patching file src/saHpiSensorEnableChangeEventLogTable.c patching file src/saHpiSensorEventLogTable.c patching file src/saHpiSoftwareEventLogTable.c patching file src/saHpiUserEventLogTable.c patching file src/saHpiUserEventTable.c patching file src/saHpiWatchdogEventLogTable.c + echo 'Patch #2 (openhpi-subagent-2.3.4-dso.patch):' Patch #2 (openhpi-subagent-2.3.4-dso.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dso --fuzz=0 patching file configure.ac patching file configure + echo 'Patch #3 (openhpi-subagent-2.3.4-no-werror.patch):' Patch #3 (openhpi-subagent-2.3.4-no-werror.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .werror --fuzz=0 patching file configure.ac patching file configure + touch -r configure.ac.dso configure.ac + touch -r configure.dso configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rDG4aP + umask 022 + cd /builddir/build/BUILD + cd openhpi-subagent-2.3.4 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-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 --- ./configure.backup 2006-09-13 13:43:07.000000000 -0400 +++ ./configure 2020-09-01 04:31:10.368587062 -0400 @@ -4036,7 +4036,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /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 + mv ./configure.backup ./configure + /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 + mv ./configure.backup ./configure + '[' 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/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for ANSI C header files... (cached) yes checking return type of signal handlers... void checking for memset... yes checking for strncasecmp... yes checking for rpmbuild... /usr/bin/rpmbuild checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for pkg-config... yes checking for saHpiSessionOpen in -lopenhpi... yes checking for oh_lookup_error in -lopenhpiutils... yes checking for net-snmp... yes checking for preprocessor stringizing operator... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating docs/Makefile config.status: creating openhpi-subagent.spec config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/openhpi-subagent-2.3.4' Making all in src make[2]: Entering directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/src' make[3]: Entering directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c alarm.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c hpiCheckIndice.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c session_info.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c hash_utils.c In file included from alarm.c:32: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from alarm.c:25: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c hpiSubagent.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c hpiAnnunciatorMapping.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c hpiDomainAlarmMapping.c session_info.c: In function 'set_sensor_reading_value': session_info.c:511:89: warning: '%g' directive output may be truncated writing between 1 and 13 bytes into a region of size 8 [-Wformat-truncation=] 511 | snprintf((char *)saHpiCurrentSensorStateValue, sizeof(saHpiCurrentSensorStateValue), "%g", reading->Value.SensorFloat64); | ^~ session_info.c:511:88: note: assuming directive output of 12 bytes 511 | snprintf((char *)saHpiCurrentSensorStateValue, sizeof(saHpiCurrentSensorStateValue), "%g", reading->Value.SensorFloat64); | ^~~~ In file included from /usr/include/stdio.h:866, from session_info.c:17: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 14 bytes into a destination of size 8 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ session_info.c: In function 'set_sen_thd_value': session_info.c:565:39: warning: '%g' directive output may be truncated writing between 1 and 13 bytes into a region of size 8 [-Wformat-truncation=] 565 | snprintf((char *)val, sizeof(val), "%g", value->SensorFloat64); | ^~ session_info.c:565:38: note: assuming directive output of 12 bytes 565 | snprintf((char *)val, sizeof(val), "%g", value->SensorFloat64); | ^~~~ In file included from /usr/include/stdio.h:866, from session_info.c:17: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 14 bytes into a destination of size 8 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c hpiEventThread.c hpiSubagent.c: In function 'main': hpiSubagent.c:222:19: warning: variable 'run_threaded' set but not used [-Wunused-but-set-variable] 222 | SaHpiBoolT run_threaded = TRUE; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiDomainInfoTable.c hpiSubagent.c: In function 'hpiSubagent_parse_config_traps': hpiSubagent.c:167:25: warning: 'hpiSubagent: hpiSubagent_par...' directive output truncated writing 46 bytes into a region of size 3 [-Wformat-truncation=] 167 | snprintf(buf, 3, "hpiSubagent: hpiSubagent_parse_config_traps, '%s' unrecognized", cptr); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/net-snmp/net-snmp-includes.h:14, from hpiSubagent.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 61 or more bytes into a destination of size 3 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiDomainReferenceTable.c hpiSubagent.c: In function 'hpiSubagent_parse_config_max_event.part.0': hpiSubagent.c:185:25: warning: 'hpiSubagent: hpiSubagent_par...' directive output truncated writing 50 bytes into a region of size 3 [-Wformat-truncation=] 185 | snprintf(buf, 3, "hpiSubagent: hpiSubagent_parse_config_max_event, '%s' unrecognized", cptr); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/net-snmp/net-snmp-includes.h:14, from hpiSubagent.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 65 or more bytes into a destination of size 3 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiResourceTable.c In file included from hpiEventThread.c:38: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from hpiEventThread.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ hpiEventThread.c: In function 'start_event_thread': hpiEventThread.c:179:13: warning: Deprecated pre-processor symbol 179 | if (!g_thread_supported()) { | ^~~~~~~~~~~~~~~~~~~~~~~~ hpiEventThread.c:181:17: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] 181 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from hpiEventThread.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: declared here 261 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ hpiEventThread.c:186:9: warning: 'g_thread_create' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 186 | event_thread = g_thread_create(event_thread_loop, | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from hpiEventThread.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here 100 | GThread *g_thread_create (GThreadFunc func, | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiRdrTable.c In file included from saHpiDomainReferenceTable.c:56: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiDomainReferenceTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiDomainReferenceTable.c: In function 'saHpiDomainReferenceTable_set_reserve1': saHpiDomainReferenceTable.c:656:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 656 | netsnmp_variable_list *var; | ^~~ saHpiDomainReferenceTable.c: In function 'saHpiDomainReferenceTable_set_reserve2': saHpiDomainReferenceTable.c:696:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 696 | netsnmp_variable_list *var; | ^~~ saHpiDomainReferenceTable.c: In function 'saHpiDomainReferenceTable_set_action': saHpiDomainReferenceTable.c:739:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 739 | netsnmp_variable_list *var; | ^~~ saHpiDomainReferenceTable.c: In function 'saHpiDomainReferenceTable_set_commit': saHpiDomainReferenceTable.c:786:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 786 | netsnmp_variable_list *var; | ^~~ saHpiDomainReferenceTable.c: In function 'saHpiDomainReferenceTable_set_free': saHpiDomainReferenceTable.c:821:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 821 | netsnmp_variable_list *var; | ^~~ saHpiDomainReferenceTable.c: In function 'saHpiDomainReferenceTable_set_undo': saHpiDomainReferenceTable.c:866:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 866 | netsnmp_variable_list *var; | ^~~ In file included from saHpiDomainInfoTable.c:61: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiDomainInfoTable.h:36, from saHpiDomainInfoTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiDomainInfoTable.c: In function 'saHpiDomainInfoTable_set_action': saHpiDomainInfoTable.c:958:20: warning: variable 'row_err' set but not used [-Wunused-but-set-variable] 958 | int row_err = 0; | ^~~~~~~ saHpiDomainInfoTable.c: In function 'saHpiDomainInfoTable_set_commit': saHpiDomainInfoTable.c:1019:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1019 | netsnmp_variable_list *var; | ^~~ saHpiDomainInfoTable.c: In function 'saHpiDomainInfoTable_set_free': saHpiDomainInfoTable.c:1066:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1066 | netsnmp_variable_list *var; | ^~~ saHpiDomainInfoTable.c: In function 'saHpiDomainInfoTable_set_undo': saHpiDomainInfoTable.c:1124:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1124 | netsnmp_variable_list *var; | ^~~ In file included from saHpiResourceTable.c:63: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/openhpi/announcement_utils.h:25, from /usr/include/openhpi/oh_utils.h:23, from ../include/saHpiResourceTable.h:36, from saHpiResourceTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiResourceTable.c: In function 'saHpiResourceTable_set_commit': saHpiResourceTable.c:1650:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1650 | netsnmp_variable_list *var; | ^~~ saHpiResourceTable.c: In function 'saHpiResourceTable_set_free': saHpiResourceTable.c:1715:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1715 | netsnmp_variable_list *var; | ^~~ saHpiResourceTable.c: In function 'saHpiResourceTable_set_undo': saHpiResourceTable.c:1791:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1791 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiCtrlDigitalTable.c In file included from saHpiRdrTable.c:72: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/openhpi/announcement_utils.h:25, from /usr/include/openhpi/oh_utils.h:23, from ../include/saHpiRdrTable.h:36, from saHpiRdrTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiRdrTable.c: In function 'populate_saHpiRdrTable': saHpiRdrTable.c:217:3: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 217 | memset(full_oid, 0, MAX_OID_LEN); | ^~~~~~ saHpiRdrTable.c:227:3: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 227 | memset(&child_oid, 0, MAX_OID_LEN); | ^~~~~~ saHpiRdrTable.c:453:3: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 453 | memset(full_oid, 0, MAX_OID_LEN); | ^~~~~~ saHpiRdrTable.c: In function 'saHpiRdrTable_set_reserve1': saHpiRdrTable.c:1077:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1077 | netsnmp_variable_list *var; | ^~~ saHpiRdrTable.c: In function 'saHpiRdrTable_set_reserve2': saHpiRdrTable.c:1118:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1118 | netsnmp_variable_list *var; | ^~~ saHpiRdrTable.c: In function 'saHpiRdrTable_set_action': saHpiRdrTable.c:1163:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1163 | netsnmp_variable_list *var; | ^~~ saHpiRdrTable.c: In function 'saHpiRdrTable_set_commit': saHpiRdrTable.c:1216:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1216 | netsnmp_variable_list *var; | ^~~ saHpiRdrTable.c: In function 'saHpiRdrTable_set_free': saHpiRdrTable.c:1253:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1253 | netsnmp_variable_list *var; | ^~~ saHpiRdrTable.c: In function 'saHpiRdrTable_set_undo': saHpiRdrTable.c:1302:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1302 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiCtrlDiscreteTable.c In file included from saHpiCtrlDigitalTable.c:60: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/openhpi/announcement_utils.h:25, from /usr/include/openhpi/oh_utils.h:23, from ../include/saHpiCtrlDigitalTable.h:36, from saHpiCtrlDigitalTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiCtrlDigitalTable.c: In function 'saHpiCtrlDigitalTable_set_commit': saHpiCtrlDigitalTable.c:1093:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1093 | netsnmp_variable_list *var; | ^~~ saHpiCtrlDigitalTable.c: In function 'saHpiCtrlDigitalTable_set_free': saHpiCtrlDigitalTable.c:1138:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1138 | netsnmp_variable_list *var; | ^~~ saHpiCtrlDigitalTable.c: In function 'saHpiCtrlDigitalTable_set_undo': saHpiCtrlDigitalTable.c:1196:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1196 | netsnmp_variable_list *var; | ^~~ In file included from saHpiCtrlDiscreteTable.c:60: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/openhpi/announcement_utils.h:25, from /usr/include/openhpi/oh_utils.h:23, from ../include/saHpiCtrlDiscreteTable.h:36, from saHpiCtrlDiscreteTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiCtrlDiscreteTable.c: In function 'saHpiCtrlDiscreteTable_set_commit': saHpiCtrlDiscreteTable.c:1098:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1098 | netsnmp_variable_list *var; | ^~~ saHpiCtrlDiscreteTable.c: In function 'saHpiCtrlDiscreteTable_set_free': saHpiCtrlDiscreteTable.c:1141:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1141 | netsnmp_variable_list *var; | ^~~ saHpiCtrlDiscreteTable.c: In function 'saHpiCtrlDiscreteTable_set_undo': saHpiCtrlDiscreteTable.c:1196:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1196 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiCtrlAnalogTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiCtrlStreamTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiCtrlTextTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiCtrlOemTable.c In file included from saHpiCtrlAnalogTable.c:60: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/openhpi/announcement_utils.h:25, from /usr/include/openhpi/oh_utils.h:23, from ../include/saHpiCtrlAnalogTable.h:36, from saHpiCtrlAnalogTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiCtrlAnalogTable.c: In function 'saHpiCtrlAnalogTable_set_commit': saHpiCtrlAnalogTable.c:1122:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1122 | netsnmp_variable_list *var; | ^~~ saHpiCtrlAnalogTable.c: In function 'saHpiCtrlAnalogTable_set_free': saHpiCtrlAnalogTable.c:1167:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1167 | netsnmp_variable_list *var; | ^~~ saHpiCtrlAnalogTable.c: In function 'saHpiCtrlAnalogTable_set_undo': saHpiCtrlAnalogTable.c:1222:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1222 | netsnmp_variable_list *var; | ^~~ In file included from saHpiCtrlStreamTable.c:60: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiCtrlStreamTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiCtrlStreamTable.c: In function 'saHpiCtrlStreamTable_set_commit': saHpiCtrlStreamTable.c:1137:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1137 | netsnmp_variable_list *var; | ^~~ saHpiCtrlStreamTable.c: In function 'saHpiCtrlStreamTable_set_free': saHpiCtrlStreamTable.c:1186:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1186 | netsnmp_variable_list *var; | ^~~ saHpiCtrlStreamTable.c: In function 'saHpiCtrlStreamTable_set_undo': saHpiCtrlStreamTable.c:1245:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1245 | netsnmp_variable_list *var; | ^~~ In file included from saHpiCtrlTextTable.c:60: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiCtrlTextTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiCtrlTextTable.c: In function 'populate_ctrl_text': saHpiCtrlTextTable.c:160:29: warning: argument to 'sizeof' in 'memset' call is the same pointer type 'oid *' {aka 'long unsigned int *'} as the destination; expected 'oid' {aka 'long unsigned int'} or an explicit length [-Wsizeof-pointer-memaccess] 160 | memset(child_oid, 0, sizeof(child_oid_len)); | ^ saHpiCtrlTextTable.c: In function 'saHpiCtrlTextTable_set_commit': saHpiCtrlTextTable.c:1136:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1136 | netsnmp_variable_list *var; | ^~~ saHpiCtrlTextTable.c: In function 'saHpiCtrlTextTable_set_free': saHpiCtrlTextTable.c:1183:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1183 | netsnmp_variable_list *var; | ^~~ saHpiCtrlTextTable.c: In function 'saHpiCtrlTextTable_set_undo': saHpiCtrlTextTable.c:1240:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1240 | netsnmp_variable_list *var; | ^~~ In file included from saHpiCtrlOemTable.c:60: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiCtrlOemTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiCtrlOemTable.c: In function 'saHpiCtrlOemTable_set_commit': saHpiCtrlOemTable.c:1101:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1101 | netsnmp_variable_list *var; | ^~~ saHpiCtrlOemTable.c: In function 'saHpiCtrlOemTable_set_free': saHpiCtrlOemTable.c:1144:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1144 | netsnmp_variable_list *var; | ^~~ saHpiCtrlOemTable.c: In function 'saHpiCtrlOemTable_set_undo': saHpiCtrlOemTable.c:1197:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1197 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiCurrentSensorStateTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorReadingMaxTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorReadingMinTable.c In file included from saHpiSensorTable.c:75: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiSensorTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorTable.c: In function 'async_sensor_add': saHpiSensorTable.c:507:2: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 507 | memset(full_oid, 0, MAX_OID_LEN); | ^~~~~~ saHpiSensorTable.c: In function 'saHpiSensorTable_set_reserve1': saHpiSensorTable.c:1046:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1046 | netsnmp_variable_list *var; | ^~~ saHpiSensorTable.c: In function 'saHpiSensorTable_set_reserve2': saHpiSensorTable.c:1087:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1087 | netsnmp_variable_list *var; | ^~~ saHpiSensorTable.c: In function 'saHpiSensorTable_set_action': saHpiSensorTable.c:1132:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1132 | netsnmp_variable_list *var; | ^~~ saHpiSensorTable.c: In function 'saHpiSensorTable_set_commit': saHpiSensorTable.c:1185:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1185 | netsnmp_variable_list *var; | ^~~ saHpiSensorTable.c: In function 'saHpiSensorTable_set_free': saHpiSensorTable.c:1222:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1222 | netsnmp_variable_list *var; | ^~~ saHpiSensorTable.c: In function 'saHpiSensorTable_set_undo': saHpiSensorTable.c:1269:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1269 | netsnmp_variable_list *var; | ^~~ In file included from saHpiCurrentSensorStateTable.c:60: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiCurrentSensorStateTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiCurrentSensorStateTable.c: In function 'saHpiCurrentSensorStateTable_set_commit': saHpiCurrentSensorStateTable.c:1512:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1512 | netsnmp_variable_list *var; | ^~~ saHpiCurrentSensorStateTable.c: In function 'saHpiCurrentSensorStateTable_set_free': saHpiCurrentSensorStateTable.c:1575:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1575 | netsnmp_variable_list *var; | ^~~ saHpiCurrentSensorStateTable.c: In function 'saHpiCurrentSensorStateTable_set_undo': saHpiCurrentSensorStateTable.c:1648:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1648 | netsnmp_variable_list *var; | ^~~ In file included from saHpiSensorReadingMaxTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiSensorReadingMaxTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorReadingMaxTable.c: In function 'saHpiSensorReadingMaxTable_set_reserve1': saHpiSensorReadingMaxTable.c:647:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 647 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingMaxTable.c: In function 'saHpiSensorReadingMaxTable_set_reserve2': saHpiSensorReadingMaxTable.c:688:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 688 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingMaxTable.c: In function 'saHpiSensorReadingMaxTable_set_action': saHpiSensorReadingMaxTable.c:733:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 733 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingMaxTable.c: In function 'saHpiSensorReadingMaxTable_set_commit': saHpiSensorReadingMaxTable.c:785:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 785 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingMaxTable.c: In function 'saHpiSensorReadingMaxTable_set_free': saHpiSensorReadingMaxTable.c:822:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 822 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingMaxTable.c: In function 'saHpiSensorReadingMaxTable_set_undo': saHpiSensorReadingMaxTable.c:871:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 871 | netsnmp_variable_list *var; | ^~~ In file included from saHpiSensorReadingMinTable.c:59: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiSensorReadingMinTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorReadingMinTable.c: In function 'saHpiSensorReadingMinTable_set_reserve1': saHpiSensorReadingMinTable.c:646:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 646 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingMinTable.c: In function 'saHpiSensorReadingMinTable_set_reserve2': saHpiSensorReadingMinTable.c:687:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 687 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingMinTable.c: In function 'saHpiSensorReadingMinTable_set_action': saHpiSensorReadingMinTable.c:732:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 732 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingMinTable.c: In function 'saHpiSensorReadingMinTable_set_commit': saHpiSensorReadingMinTable.c:785:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 785 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingMinTable.c: In function 'saHpiSensorReadingMinTable_set_free': saHpiSensorReadingMinTable.c:822:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 822 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingMinTable.c: In function 'saHpiSensorReadingMinTable_set_undo': saHpiSensorReadingMinTable.c:870:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 870 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorReadingNominalTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorReadingNormalMaxTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorReadingNormalMinTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorThdLowCriticalTable.c In file included from saHpiSensorReadingNormalMaxTable.c:59: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiSensorReadingNormalMaxTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorReadingNormalMaxTable.c: In function 'saHpiSensorReadingNormalMaxTable_set_reserve1': saHpiSensorReadingNormalMaxTable.c:646:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 646 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingNormalMaxTable.c: In function 'saHpiSensorReadingNormalMaxTable_set_reserve2': saHpiSensorReadingNormalMaxTable.c:689:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 689 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingNormalMaxTable.c: In function 'saHpiSensorReadingNormalMaxTable_set_action': saHpiSensorReadingNormalMaxTable.c:734:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 734 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingNormalMaxTable.c: In function 'saHpiSensorReadingNormalMaxTable_set_commit': saHpiSensorReadingNormalMaxTable.c:787:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 787 | netsnmp_variable_list *var; | ^~~ In file included from saHpiSensorReadingNominalTable.c:59: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiSensorReadingNominalTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorReadingNormalMaxTable.c: In function 'saHpiSensorReadingNormalMaxTable_set_free': saHpiSensorReadingNormalMaxTable.c:824:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 824 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingNormalMaxTable.c: In function 'saHpiSensorReadingNormalMaxTable_set_undo': saHpiSensorReadingNormalMaxTable.c:873:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 873 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingNominalTable.c: In function 'saHpiSensorReadingNominalTable_set_reserve1': saHpiSensorReadingNominalTable.c:633:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 633 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingNominalTable.c: In function 'saHpiSensorReadingNominalTable_set_reserve2': saHpiSensorReadingNominalTable.c:673:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 673 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingNominalTable.c: In function 'saHpiSensorReadingNominalTable_set_action': saHpiSensorReadingNominalTable.c:716:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 716 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingNominalTable.c: In function 'saHpiSensorReadingNominalTable_set_commit': saHpiSensorReadingNominalTable.c:768:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 768 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingNominalTable.c: In function 'saHpiSensorReadingNominalTable_set_free': saHpiSensorReadingNominalTable.c:803:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 803 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingNominalTable.c: In function 'saHpiSensorReadingNominalTable_set_undo': saHpiSensorReadingNominalTable.c:850:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 850 | netsnmp_variable_list *var; | ^~~ In file included from saHpiSensorReadingNormalMinTable.c:59: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiSensorReadingNormalMinTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorReadingNormalMinTable.c: In function 'saHpiSensorReadingNormalMinTable_set_reserve1': saHpiSensorReadingNormalMinTable.c:651:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 651 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingNormalMinTable.c: In function 'saHpiSensorReadingNormalMinTable_set_reserve2': saHpiSensorReadingNormalMinTable.c:692:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 692 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingNormalMinTable.c: In function 'saHpiSensorReadingNormalMinTable_set_action': saHpiSensorReadingNormalMinTable.c:737:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 737 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingNormalMinTable.c: In function 'saHpiSensorReadingNormalMinTable_set_commit': saHpiSensorReadingNormalMinTable.c:792:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 792 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingNormalMinTable.c: In function 'saHpiSensorReadingNormalMinTable_set_free': saHpiSensorReadingNormalMinTable.c:831:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 831 | netsnmp_variable_list *var; | ^~~ saHpiSensorReadingNormalMinTable.c: In function 'saHpiSensorReadingNormalMinTable_set_undo': saHpiSensorReadingNormalMinTable.c:882:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 882 | netsnmp_variable_list *var; | ^~~ In file included from saHpiSensorThdLowCriticalTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiSensorThdLowCriticalTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorThdLowCriticalTable.c: In function 'saHpiSensorThdLowCriticalTable_set_reserve2': saHpiSensorThdLowCriticalTable.c:779:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 779 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdLowCriticalTable.c: In function 'saHpiSensorThdLowCriticalTable_set_commit': saHpiSensorThdLowCriticalTable.c:900:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 900 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdLowCriticalTable.c: In function 'saHpiSensorThdLowCriticalTable_set_free': saHpiSensorThdLowCriticalTable.c:943:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 943 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdLowCriticalTable.c: In function 'saHpiSensorThdLowCriticalTable_set_undo': saHpiSensorThdLowCriticalTable.c:998:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 998 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorThdLowMajorTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorThdLowMinorTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorThdUpCriticalTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorThdUpMajorTable.c In file included from saHpiSensorThdLowMajorTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from saHpiSensorThdLowMinorTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiSensorThdLowMinorTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiSensorThdLowMajorTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorThdLowMinorTable.c: In function 'saHpiSensorThdLowMinorTable_set_reserve2': saHpiSensorThdLowMinorTable.c:785:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 785 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdLowMinorTable.c: In function 'saHpiSensorThdLowMinorTable_set_commit': saHpiSensorThdLowMajorTable.c: In function 'saHpiSensorThdLowMajorTable_set_reserve2': saHpiSensorThdLowMajorTable.c:777:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 777 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdLowMinorTable.c:907:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 907 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdLowMinorTable.c: In function 'saHpiSensorThdLowMinorTable_set_free': saHpiSensorThdLowMajorTable.c: In function 'saHpiSensorThdLowMajorTable_set_commit': saHpiSensorThdLowMajorTable.c:898:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 898 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdLowMajorTable.c: In function 'saHpiSensorThdLowMajorTable_set_free': saHpiSensorThdLowMajorTable.c:939:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 939 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdLowMajorTable.c: In function 'saHpiSensorThdLowMajorTable_set_undo': saHpiSensorThdLowMajorTable.c:992:25: warning: variable 'var' set but not used [-Wunused-but-set-variable] 992 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdLowMinorTable.c:950:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 950 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdLowMinorTable.c: In function 'saHpiSensorThdLowMinorTable_set_undo': saHpiSensorThdLowMinorTable.c:1005:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1005 | netsnmp_variable_list *var; | ^~~ In file included from saHpiSensorThdUpCriticalTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiSensorThdUpCriticalTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorThdUpCriticalTable.c: In function 'saHpiSensorThdUpCriticalTable_set_reserve2': saHpiSensorThdUpCriticalTable.c:769:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 769 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdUpCriticalTable.c: In function 'saHpiSensorThdUpCriticalTable_set_commit': saHpiSensorThdUpCriticalTable.c:888:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 888 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdUpCriticalTable.c: In function 'saHpiSensorThdUpCriticalTable_set_free': saHpiSensorThdUpCriticalTable.c:929:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 929 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdUpCriticalTable.c: In function 'saHpiSensorThdUpCriticalTable_set_undo': saHpiSensorThdUpCriticalTable.c:982:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 982 | netsnmp_variable_list *var; | ^~~ In file included from saHpiSensorThdUpMajorTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiSensorThdUpMajorTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorThdUpMajorTable.c: In function 'saHpiSensorThdUpMajorTable_set_reserve2': saHpiSensorThdUpMajorTable.c:779:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 779 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdUpMajorTable.c: In function 'saHpiSensorThdUpMajorTable_set_commit': saHpiSensorThdUpMajorTable.c:899:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 899 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdUpMajorTable.c: In function 'saHpiSensorThdUpMajorTable_set_free': saHpiSensorThdUpMajorTable.c:940:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 940 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdUpMajorTable.c: In function 'saHpiSensorThdUpMajorTable_set_undo': saHpiSensorThdUpMajorTable.c:993:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 993 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorThdUpMinorTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorThdPosHysteresisTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorThdNegHysteresisTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiInventoryTable.c In file included from saHpiSensorThdUpMinorTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiSensorThdUpMinorTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorThdUpMinorTable.c: In function 'saHpiSensorThdUpMinorTable_set_reserve2': saHpiSensorThdUpMinorTable.c:768:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 768 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdUpMinorTable.c: In function 'saHpiSensorThdUpMinorTable_set_commit': saHpiSensorThdUpMinorTable.c:888:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 888 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdUpMinorTable.c: In function 'saHpiSensorThdUpMinorTable_set_free': saHpiSensorThdUpMinorTable.c:929:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 929 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdUpMinorTable.c: In function 'saHpiSensorThdUpMinorTable_set_undo': saHpiSensorThdUpMinorTable.c:982:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 982 | netsnmp_variable_list *var; | ^~~ In file included from saHpiSensorThdPosHysteresisTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiSensorThdPosHysteresisTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorThdPosHysteresisTable.c: In function 'saHpiSensorThdPosHysteresisTable_set_reserve2': saHpiSensorThdPosHysteresisTable.c:767:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 767 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdPosHysteresisTable.c: In function 'saHpiSensorThdPosHysteresisTable_set_commit': saHpiSensorThdPosHysteresisTable.c:886:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 886 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdPosHysteresisTable.c: In function 'saHpiSensorThdPosHysteresisTable_set_free': saHpiSensorThdPosHysteresisTable.c:927:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 927 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdPosHysteresisTable.c: In function 'saHpiSensorThdPosHysteresisTable_set_undo': saHpiSensorThdPosHysteresisTable.c:980:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 980 | netsnmp_variable_list *var; | ^~~ In file included from saHpiSensorThdNegHysteresisTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiSensorThdNegHysteresisTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorThdNegHysteresisTable.c: In function 'saHpiSensorThdNegHysteresisTable_set_reserve2': saHpiSensorThdNegHysteresisTable.c:772:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 772 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdNegHysteresisTable.c: In function 'saHpiSensorThdNegHysteresisTable_set_commit': saHpiSensorThdNegHysteresisTable.c:892:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 892 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdNegHysteresisTable.c: In function 'saHpiSensorThdNegHysteresisTable_set_free': saHpiSensorThdNegHysteresisTable.c:933:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 933 | netsnmp_variable_list *var; | ^~~ saHpiSensorThdNegHysteresisTable.c: In function 'saHpiSensorThdNegHysteresisTable_set_undo': saHpiSensorThdNegHysteresisTable.c:986:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 986 | netsnmp_variable_list *var; | ^~~ In file included from saHpiInventoryTable.c:60: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiInventoryTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiInventoryTable.c: In function 'saHpiInventoryTable_set_reserve1': saHpiInventoryTable.c:847:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 847 | netsnmp_variable_list *var; | ^~~ saHpiInventoryTable.c: In function 'saHpiInventoryTable_set_reserve2': saHpiInventoryTable.c:888:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 888 | netsnmp_variable_list *var; | ^~~ saHpiInventoryTable.c: In function 'saHpiInventoryTable_set_action': saHpiInventoryTable.c:933:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 933 | netsnmp_variable_list *var; | ^~~ saHpiInventoryTable.c: In function 'saHpiInventoryTable_set_commit': saHpiInventoryTable.c:986:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 986 | netsnmp_variable_list *var; | ^~~ saHpiInventoryTable.c: In function 'saHpiInventoryTable_set_free': saHpiInventoryTable.c:1023:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1023 | netsnmp_variable_list *var; | ^~~ saHpiInventoryTable.c: In function 'saHpiInventoryTable_set_undo': saHpiInventoryTable.c:1072:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1072 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiWatchdogTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiAnnunciatorTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiAreaTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiFieldTable.c In file included from saHpiWatchdogTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiWatchdogTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiWatchdogTable.c: In function 'saHpiWatchdogTable_set_reserve2': saHpiWatchdogTable.c:1203:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1203 | netsnmp_variable_list *var; | ^~~ saHpiWatchdogTable.c: In function 'saHpiWatchdogTable_set_commit': saHpiWatchdogTable.c:1472:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1472 | netsnmp_variable_list *var; | ^~~ saHpiWatchdogTable.c: In function 'saHpiWatchdogTable_set_free': saHpiWatchdogTable.c:1547:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1547 | netsnmp_variable_list *var; | ^~~ saHpiWatchdogTable.c: In function 'saHpiWatchdogTable_set_undo': saHpiWatchdogTable.c:1634:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1634 | netsnmp_variable_list *var; | ^~~ In file included from saHpiAnnunciatorTable.c:60: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiAnnunciatorTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiAnnunciatorTable.c: In function 'saHpiAnnunciatorTable_set_commit': saHpiAnnunciatorTable.c:994:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 994 | netsnmp_variable_list *var; | ^~~ saHpiAnnunciatorTable.c: In function 'saHpiAnnunciatorTable_set_free': saHpiAnnunciatorTable.c:1034:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1034 | netsnmp_variable_list *var; | ^~~ saHpiAnnunciatorTable.c: In function 'saHpiAnnunciatorTable_set_undo': saHpiAnnunciatorTable.c:1086:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1086 | netsnmp_variable_list *var; | ^~~ In file included from saHpiAreaTable.c:62: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiAreaTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiAreaTable.c: In function 'saHpiAreaTable_set_reserve2': saHpiAreaTable.c:1144:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1144 | netsnmp_variable_list *var; | ^~~ saHpiAreaTable.c: In function 'saHpiAreaTable_set_commit': saHpiAreaTable.c:1293:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1293 | netsnmp_variable_list *var; | ^~~ saHpiAreaTable.c: In function 'saHpiAreaTable_set_free': saHpiAreaTable.c:1338:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1338 | netsnmp_variable_list *var; | ^~~ saHpiAreaTable.c: In function 'saHpiAreaTable_set_undo': saHpiAreaTable.c:1395:32: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1395 | netsnmp_variable_list *var; | ^~~ In file included from saHpiFieldTable.c:61: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiFieldTable.c:54: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiFieldTable.c: In function 'saHpiFieldTable_set_reserve2': saHpiFieldTable.c:1444:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1444 | netsnmp_variable_list *var; | ^~~ saHpiFieldTable.c: In function 'saHpiFieldTable_set_commit': saHpiFieldTable.c:1669:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1669 | netsnmp_variable_list *var; | ^~~ saHpiFieldTable.c: In function 'saHpiFieldTable_set_free': saHpiFieldTable.c:1726:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1726 | netsnmp_variable_list *var; | ^~~ saHpiFieldTable.c: In function 'saHpiFieldTable_set_undo': saHpiFieldTable.c:1795:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1795 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiEventTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiResourceEventTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiDomainEventTable.c In file included from saHpiResourceEventTable.c:59: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiResourceEventTable.h:35, from saHpiResourceEventTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiResourceEventTable.c: In function 'populate_saHpiResourceEventTable': saHpiResourceEventTable.c:160:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 160 | memset(this_child_oid, 0, sizeof(this_child_oid)); | ^ saHpiResourceEventTable.c:108:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 108 | SaErrorT rv = SA_OK; | ^~ saHpiResourceEventTable.c: In function 'async_resource_event_add': saHpiResourceEventTable.c:258:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 258 | memset(this_child_oid, 0, sizeof(this_child_oid)); | ^ saHpiResourceEventTable.c:209:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 209 | SaErrorT rv = SA_OK; | ^~ saHpiResourceEventTable.c: In function 'saHpiResourceEventTable_set_reserve1': saHpiResourceEventTable.c:870:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 870 | netsnmp_variable_list *var; | ^~~ saHpiResourceEventTable.c: In function 'saHpiResourceEventTable_set_reserve2': In file included from saHpiEventTable.c:74: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiEventTable.h:36, from saHpiEventTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiResourceEventTable.c:911:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 911 | netsnmp_variable_list *var; | ^~~ saHpiResourceEventTable.c: In function 'saHpiResourceEventTable_set_action': saHpiResourceEventTable.c:956:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 956 | netsnmp_variable_list *var; | ^~~ saHpiResourceEventTable.c: In function 'saHpiResourceEventTable_set_commit': saHpiResourceEventTable.c:1008:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1008 | netsnmp_variable_list *var; | ^~~ saHpiResourceEventTable.c: In function 'saHpiResourceEventTable_set_free': saHpiResourceEventTable.c:1045:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1045 | netsnmp_variable_list *var; | ^~~ saHpiResourceEventTable.c: In function 'saHpiResourceEventTable_set_undo': saHpiResourceEventTable.c:1094:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1094 | netsnmp_variable_list *var; | ^~~ saHpiEventTable.c: In function 'saHpiEventTable_set_reserve1': saHpiEventTable.c:886:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 886 | netsnmp_variable_list *var; | ^~~ saHpiEventTable.c: In function 'saHpiEventTable_set_reserve2': saHpiEventTable.c:926:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 926 | netsnmp_variable_list *var; | ^~~ saHpiEventTable.c: In function 'saHpiEventTable_set_action': saHpiEventTable.c:969:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 969 | netsnmp_variable_list *var; | ^~~ saHpiEventTable.c: In function 'saHpiEventTable_set_commit': saHpiEventTable.c:1020:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1020 | netsnmp_variable_list *var; | ^~~ saHpiEventTable.c: In function 'saHpiEventTable_set_free': saHpiEventTable.c:1055:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1055 | netsnmp_variable_list *var; | ^~~ saHpiEventTable.c: In function 'saHpiEventTable_set_undo': saHpiEventTable.c:1102:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1102 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiEventLogInfoTable.c In file included from saHpiDomainEventTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiDomainEventTable.h:35, from saHpiDomainEventTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiDomainEventTable.c: In function 'populate_saHpiDomainEventTable': saHpiDomainEventTable.c:187:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 187 | memset(this_child_oid, 0, sizeof(this_child_oid)); | ^ saHpiDomainEventTable.c:106:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 106 | SaErrorT rv = SA_OK; | ^~ saHpiDomainEventTable.c: In function 'async_domain_event_add': saHpiDomainEventTable.c:282:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 282 | memset(this_child_oid, 0, sizeof(this_child_oid)); | ^ saHpiDomainEventTable.c:206:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 206 | SaErrorT rv = SA_OK; | ^~ saHpiDomainEventTable.c: In function 'saHpiDomainEventTable_set_reserve1': saHpiDomainEventTable.c:839:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 839 | netsnmp_variable_list *var; | ^~~ saHpiDomainEventTable.c: In function 'saHpiDomainEventTable_set_reserve2': saHpiDomainEventTable.c:879:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 879 | netsnmp_variable_list *var; | ^~~ saHpiDomainEventTable.c: In function 'saHpiDomainEventTable_set_action': saHpiDomainEventTable.c:922:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 922 | netsnmp_variable_list *var; | ^~~ saHpiDomainEventTable.c: In function 'saHpiDomainEventTable_set_commit': saHpiDomainEventTable.c:988:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 988 | netsnmp_variable_list *var; | ^~~ saHpiDomainEventTable.c: In function 'saHpiDomainEventTable_set_free': saHpiDomainEventTable.c:1023:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1023 | netsnmp_variable_list *var; | ^~~ saHpiDomainEventTable.c: In function 'saHpiDomainEventTable_set_undo': saHpiDomainEventTable.c:1068:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1068 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiEventLogTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiResourceEventLogTable.c In file included from saHpiEventLogInfoTable.c:62: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiEventLogInfoTable.h:35, from saHpiEventLogInfoTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorEventLogTable.c saHpiEventLogInfoTable.c: In function 'event_log_info_clear': saHpiEventLogInfoTable.c:419:33: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 419 | int rv = SNMP_ERR_NOERROR; | ^~ saHpiEventLogInfoTable.c: In function 'saHpiEventLogInfoTable_set_reserve2': saHpiEventLogInfoTable.c:1233:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1233 | netsnmp_variable_list *var; | ^~~ saHpiEventLogInfoTable.c: In function 'saHpiEventLogInfoTable_set_commit': saHpiEventLogInfoTable.c:1398:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1398 | netsnmp_variable_list *var; | ^~~ saHpiEventLogInfoTable.c: In function 'saHpiEventLogInfoTable_set_free': saHpiEventLogInfoTable.c:1449:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1449 | netsnmp_variable_list *var; | ^~~ saHpiEventLogInfoTable.c: In function 'saHpiEventLogInfoTable_set_undo': saHpiEventLogInfoTable.c:1512:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1512 | netsnmp_variable_list *var; | ^~~ In file included from saHpiEventLogTable.c:67: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiEventLogTable.h:35, from saHpiEventLogTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiEventLogTable.c: In function 'saHpiEventLogTable_set_reserve1': saHpiEventLogTable.c:1119:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1119 | netsnmp_variable_list *var; | ^~~ saHpiEventLogTable.c: In function 'saHpiEventLogTable_set_reserve2': saHpiEventLogTable.c:1159:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1159 | netsnmp_variable_list *var; | ^~~ saHpiEventLogTable.c: In function 'saHpiEventLogTable_set_action': saHpiEventLogTable.c:1202:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1202 | netsnmp_variable_list *var; | ^~~ saHpiEventLogTable.c: In function 'saHpiEventLogTable_set_commit': saHpiEventLogTable.c:1253:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1253 | netsnmp_variable_list *var; | ^~~ saHpiEventLogTable.c: In function 'saHpiEventLogTable_set_free': saHpiEventLogTable.c:1288:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1288 | netsnmp_variable_list *var; | ^~~ saHpiEventLogTable.c: In function 'saHpiEventLogTable_set_undo': saHpiEventLogTable.c:1335:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1335 | netsnmp_variable_list *var; | ^~~ In file included from saHpiResourceEventLogTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiResourceEventLogTable.h:35, from saHpiResourceEventLogTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiResourceEventLogTable.c: In function 'populate_saHpiResourceEventLogTable': saHpiResourceEventLogTable.c:163:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 163 | memset(this_child_oid, 0, sizeof(this_child_oid)); | ^ saHpiResourceEventLogTable.c:115:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 115 | SaErrorT rv = SA_OK; | ^~ saHpiResourceEventLogTable.c: In function 'resource_event_log_clear': saHpiResourceEventLogTable.c:225:17: warning: variable 'res_index' set but not used [-Wunused-but-set-variable] 225 | netsnmp_index *res_index; | ^~~~~~~~~ saHpiResourceEventLogTable.c: In function 'saHpiResourceEventLogTable_set_reserve1': saHpiResourceEventLogTable.c:860:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 860 | netsnmp_variable_list *var; | ^~~ saHpiResourceEventLogTable.c: In function 'saHpiResourceEventLogTable_set_reserve2': saHpiResourceEventLogTable.c:901:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 901 | netsnmp_variable_list *var; | ^~~ saHpiResourceEventLogTable.c: In function 'saHpiResourceEventLogTable_set_action': saHpiResourceEventLogTable.c:946:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 946 | netsnmp_variable_list *var; | ^~~ saHpiResourceEventLogTable.c: In function 'saHpiResourceEventLogTable_set_commit': saHpiResourceEventLogTable.c:998:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 998 | netsnmp_variable_list *var; | ^~~ saHpiResourceEventLogTable.c: In function 'saHpiResourceEventLogTable_set_free': saHpiResourceEventLogTable.c:1035:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1035 | netsnmp_variable_list *var; | ^~~ saHpiResourceEventLogTable.c: In function 'saHpiResourceEventLogTable_set_undo': saHpiResourceEventLogTable.c:1084:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1084 | netsnmp_variable_list *var; | ^~~ In file included from saHpiSensorEventLogTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiSensorEventLogTable.h:35, from saHpiSensorEventLogTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorEventLogTable.c: In function 'sensor_event_log_clear': saHpiSensorEventLogTable.c:339:17: warning: variable 'sensor_index' set but not used [-Wunused-but-set-variable] 339 | netsnmp_index *sensor_index; | ^~~~~~~~~~~~ saHpiSensorEventLogTable.c: In function 'saHpiSensorEventLogTable_set_reserve1': saHpiSensorEventLogTable.c:1003:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1003 | netsnmp_variable_list *var; | ^~~ saHpiSensorEventLogTable.c: In function 'saHpiSensorEventLogTable_set_reserve2': saHpiSensorEventLogTable.c:1043:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1043 | netsnmp_variable_list *var; | ^~~ saHpiSensorEventLogTable.c: In function 'saHpiSensorEventLogTable_set_action': saHpiSensorEventLogTable.c:1086:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1086 | netsnmp_variable_list *var; | ^~~ saHpiSensorEventLogTable.c: In function 'saHpiSensorEventLogTable_set_commit': saHpiSensorEventLogTable.c:1136:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1136 | netsnmp_variable_list *var; | ^~~ saHpiSensorEventLogTable.c: In function 'saHpiSensorEventLogTable_set_free': saHpiSensorEventLogTable.c:1171:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1171 | netsnmp_variable_list *var; | ^~~ saHpiSensorEventLogTable.c: In function 'saHpiSensorEventLogTable_set_undo': saHpiSensorEventLogTable.c:1218:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1218 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorEventTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiOemEventTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiHotSwapEventTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiWatchdogEventTable.c In file included from saHpiSensorEventTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiSensorEventTable.h:35, from saHpiSensorEventTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorEventTable.c: In function 'populate_saHpiSensorEventTable': saHpiSensorEventTable.c:107:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 107 | SaErrorT rv = SA_OK; | ^~ saHpiSensorEventTable.c: In function 'async_sensor_event_add': saHpiSensorEventTable.c:368:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 368 | SaErrorT rv = SA_OK; | ^~ saHpiSensorEventTable.c: In function 'saHpiSensorEventTable_set_reserve1': saHpiSensorEventTable.c:1199:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1199 | netsnmp_variable_list *var; | ^~~ saHpiSensorEventTable.c: In function 'saHpiSensorEventTable_set_reserve2': saHpiSensorEventTable.c:1239:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1239 | netsnmp_variable_list *var; | ^~~ saHpiSensorEventTable.c: In function 'saHpiSensorEventTable_set_action': saHpiSensorEventTable.c:1282:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1282 | netsnmp_variable_list *var; | ^~~ saHpiSensorEventTable.c: In function 'saHpiSensorEventTable_set_commit': saHpiSensorEventTable.c:1338:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1338 | netsnmp_variable_list *var; | ^~~ saHpiSensorEventTable.c: In function 'saHpiSensorEventTable_set_free': saHpiSensorEventTable.c:1373:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1373 | netsnmp_variable_list *var; | ^~~ saHpiSensorEventTable.c: In function 'saHpiSensorEventTable_set_undo': saHpiSensorEventTable.c:1419:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1419 | netsnmp_variable_list *var; | ^~~ In file included from saHpiHotSwapEventTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiHotSwapEventTable.h:35, from saHpiHotSwapEventTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiHotSwapEventTable.c: In function 'populate_saHpiHotSwapEventTable': saHpiHotSwapEventTable.c:190:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 190 | memset(this_child_oid, 0, sizeof(this_child_oid)); | ^ saHpiHotSwapEventTable.c:106:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 106 | SaErrorT rv = SA_OK; | ^~ saHpiHotSwapEventTable.c: In function 'async_hotswap_event_add': saHpiHotSwapEventTable.c:303:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 303 | memset(this_child_oid, 0, sizeof(this_child_oid)); | ^ saHpiHotSwapEventTable.c:209:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 209 | SaErrorT rv = SA_OK; | ^~ saHpiHotSwapEventTable.c: In function 'saHpiHotSwapEventTable_set_reserve1': saHpiHotSwapEventTable.c:875:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 875 | netsnmp_variable_list *var; | ^~~ saHpiHotSwapEventTable.c: In function 'saHpiHotSwapEventTable_set_reserve2': saHpiHotSwapEventTable.c:915:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 915 | netsnmp_variable_list *var; | ^~~ saHpiHotSwapEventTable.c: In function 'saHpiHotSwapEventTable_set_action': saHpiHotSwapEventTable.c:958:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 958 | netsnmp_variable_list *var; | ^~~ saHpiHotSwapEventTable.c: In function 'saHpiHotSwapEventTable_set_commit': saHpiHotSwapEventTable.c:1014:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1014 | netsnmp_variable_list *var; | ^~~ saHpiHotSwapEventTable.c: In function 'saHpiHotSwapEventTable_set_free': saHpiHotSwapEventTable.c:1049:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1049 | netsnmp_variable_list *var; | ^~~ In file included from saHpiOemEventTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiOemEventTable.h:35, from saHpiOemEventTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiHotSwapEventTable.c: In function 'saHpiHotSwapEventTable_set_undo': saHpiHotSwapEventTable.c:1095:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1095 | netsnmp_variable_list *var; | ^~~ saHpiOemEventTable.c: In function 'populate_saHpiOemEventTable': saHpiOemEventTable.c:203:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 203 | memset(this_child_oid, 0, sizeof(this_child_oid)); | ^ saHpiOemEventTable.c:107:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 107 | SaErrorT rv = SA_OK; | ^~ saHpiOemEventTable.c: In function 'async_oem_event_add': saHpiOemEventTable.c:327:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 327 | memset(this_child_oid, 0, sizeof(this_child_oid)); | ^ saHpiOemEventTable.c:222:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 222 | SaErrorT rv = SA_OK; | ^~ saHpiOemEventTable.c: In function 'saHpiOemEventTable_set_reserve1': saHpiOemEventTable.c:906:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 906 | netsnmp_variable_list *var; | ^~~ saHpiOemEventTable.c: In function 'saHpiOemEventTable_set_reserve2': saHpiOemEventTable.c:946:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 946 | netsnmp_variable_list *var; | ^~~ saHpiOemEventTable.c: In function 'saHpiOemEventTable_set_action': saHpiOemEventTable.c:989:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 989 | netsnmp_variable_list *var; | ^~~ saHpiOemEventTable.c: In function 'saHpiOemEventTable_set_commit': saHpiOemEventTable.c:1044:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1044 | netsnmp_variable_list *var; | ^~~ saHpiOemEventTable.c: In function 'saHpiOemEventTable_set_free': saHpiOemEventTable.c:1079:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1079 | netsnmp_variable_list *var; | ^~~ saHpiOemEventTable.c: In function 'saHpiOemEventTable_set_undo': saHpiOemEventTable.c:1125:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1125 | netsnmp_variable_list *var; | ^~~ In file included from saHpiWatchdogEventTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiWatchdogEventTable.h:35, from saHpiWatchdogEventTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiWatchdogEventTable.c: In function 'populate_saHpiWatchdogEventTable': saHpiWatchdogEventTable.c:107:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 107 | SaErrorT rv = SA_OK; | ^~ saHpiWatchdogEventTable.c: In function 'async_watchdog_event_add': saHpiWatchdogEventTable.c:218:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 218 | SaErrorT rv = SA_OK; | ^~ saHpiWatchdogEventTable.c: In function 'saHpiWatchdogEventTable_set_reserve1': saHpiWatchdogEventTable.c:910:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 910 | netsnmp_variable_list *var; | ^~~ saHpiWatchdogEventTable.c: In function 'saHpiWatchdogEventTable_set_reserve2': saHpiWatchdogEventTable.c:950:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 950 | netsnmp_variable_list *var; | ^~~ saHpiWatchdogEventTable.c: In function 'saHpiWatchdogEventTable_set_action': saHpiWatchdogEventTable.c:993:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 993 | netsnmp_variable_list *var; | ^~~ saHpiWatchdogEventTable.c: In function 'saHpiWatchdogEventTable_set_commit': saHpiWatchdogEventTable.c:1049:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1049 | netsnmp_variable_list *var; | ^~~ saHpiWatchdogEventTable.c: In function 'saHpiWatchdogEventTable_set_free': saHpiWatchdogEventTable.c:1084:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1084 | netsnmp_variable_list *var; | ^~~ saHpiWatchdogEventTable.c: In function 'saHpiWatchdogEventTable_set_undo': saHpiWatchdogEventTable.c:1130:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1130 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSoftwareEventTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorEnableChangeEventTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiUserEventTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiHotSwapEventLogTable.c In file included from saHpiSoftwareEventTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiSoftwareEventTable.h:35, from saHpiSoftwareEventTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSoftwareEventTable.c: In function 'populate_saHpiSoftwareEventTable': saHpiSoftwareEventTable.c:106:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 106 | SaErrorT rv = SA_OK; | ^~ saHpiSoftwareEventTable.c: In function 'async_software_event_add': saHpiSoftwareEventTable.c:225:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 225 | SaErrorT rv = SA_OK; | ^~ saHpiSoftwareEventTable.c: In function 'saHpiSoftwareEventTable_set_reserve1': saHpiSoftwareEventTable.c:900:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 900 | netsnmp_variable_list *var; | ^~~ saHpiSoftwareEventTable.c: In function 'saHpiSoftwareEventTable_set_reserve2': saHpiSoftwareEventTable.c:940:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 940 | netsnmp_variable_list *var; | ^~~ saHpiSoftwareEventTable.c: In function 'saHpiSoftwareEventTable_set_action': saHpiSoftwareEventTable.c:983:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 983 | netsnmp_variable_list *var; | ^~~ saHpiSoftwareEventTable.c: In function 'saHpiSoftwareEventTable_set_commit': saHpiSoftwareEventTable.c:1042:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1042 | netsnmp_variable_list *var; | ^~~ saHpiSoftwareEventTable.c: In function 'saHpiSoftwareEventTable_set_free': saHpiSoftwareEventTable.c:1077:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1077 | netsnmp_variable_list *var; | ^~~ saHpiSoftwareEventTable.c: In function 'saHpiSoftwareEventTable_set_undo': saHpiSoftwareEventTable.c:1123:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1123 | netsnmp_variable_list *var; | ^~~ In file included from saHpiUserEventTable.c:59: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiUserEventTable.h:35, from saHpiUserEventTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiUserEventTable.c: In function 'populate_saHpiUserEventTable': saHpiUserEventTable.c:117:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 117 | SaErrorT rv = SA_OK; | ^~ saHpiUserEventTable.c: In function 'async_user_event_add': saHpiUserEventTable.c:228:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 228 | SaErrorT rv = SA_OK; | ^~ saHpiUserEventTable.c: In function 'saHpiUserEventTable_set_commit': saHpiUserEventTable.c:1396:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1396 | netsnmp_variable_list *var; | ^~~ saHpiUserEventTable.c: In function 'saHpiUserEventTable_set_free': saHpiUserEventTable.c:1453:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1453 | netsnmp_variable_list *var; | ^~~ saHpiUserEventTable.c: In function 'saHpiUserEventTable_set_undo': saHpiUserEventTable.c:1521:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1521 | netsnmp_variable_list *var; | ^~~ In file included from saHpiSensorEnableChangeEventTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiSensorEnableChangeEventTable.h:35, from saHpiSensorEnableChangeEventTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorEnableChangeEventTable.c: In function 'populate_saHpiSensorEnableChangeEventTable': saHpiSensorEnableChangeEventTable.c:107:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 107 | SaErrorT rv = SA_OK; | ^~ saHpiSensorEnableChangeEventTable.c: In function 'async_sensor_enable_change_event_add': saHpiSensorEnableChangeEventTable.c:338:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 338 | SaErrorT rv = SA_OK; | ^~ saHpiSensorEnableChangeEventTable.c: In function 'saHpiSensorEnableChangeEventTable_set_reserve1': saHpiSensorEnableChangeEventTable.c:1155:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1155 | netsnmp_variable_list *var; | ^~~ saHpiSensorEnableChangeEventTable.c: In function 'saHpiSensorEnableChangeEventTable_set_reserve2': saHpiSensorEnableChangeEventTable.c:1195:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1195 | netsnmp_variable_list *var; | ^~~ saHpiSensorEnableChangeEventTable.c: In function 'saHpiSensorEnableChangeEventTable_set_action': saHpiSensorEnableChangeEventTable.c:1238:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1238 | netsnmp_variable_list *var; | ^~~ saHpiSensorEnableChangeEventTable.c: In function 'saHpiSensorEnableChangeEventTable_set_commit': saHpiSensorEnableChangeEventTable.c:1294:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1294 | netsnmp_variable_list *var; | ^~~ saHpiSensorEnableChangeEventTable.c: In function 'saHpiSensorEnableChangeEventTable_set_free': saHpiSensorEnableChangeEventTable.c:1329:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1329 | netsnmp_variable_list *var; | ^~~ saHpiSensorEnableChangeEventTable.c: In function 'saHpiSensorEnableChangeEventTable_set_undo': saHpiSensorEnableChangeEventTable.c:1375:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1375 | netsnmp_variable_list *var; | ^~~ In file included from saHpiHotSwapEventLogTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiHotSwapEventLogTable.h:35, from saHpiHotSwapEventLogTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiHotSwapEventLogTable.c: In function 'populate_saHpiHotSwapEventLogTable': saHpiHotSwapEventLogTable.c:158:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 158 | memset(this_child_oid, 0, sizeof(this_child_oid)); | ^ saHpiHotSwapEventLogTable.c:106:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 106 | SaErrorT rv = SA_OK; | ^~ saHpiHotSwapEventLogTable.c: In function 'hotswap_event_log_clear': saHpiHotSwapEventLogTable.c:222:17: warning: variable 'hotswap_index' set but not used [-Wunused-but-set-variable] 222 | netsnmp_index *hotswap_index; | ^~~~~~~~~~~~~ saHpiHotSwapEventLogTable.c: In function 'saHpiHotSwapEventLogTable_set_reserve1': saHpiHotSwapEventLogTable.c:846:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 846 | netsnmp_variable_list *var; | ^~~ saHpiHotSwapEventLogTable.c: In function 'saHpiHotSwapEventLogTable_set_reserve2': saHpiHotSwapEventLogTable.c:886:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 886 | netsnmp_variable_list *var; | ^~~ saHpiHotSwapEventLogTable.c: In function 'saHpiHotSwapEventLogTable_set_action': saHpiHotSwapEventLogTable.c:929:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 929 | netsnmp_variable_list *var; | ^~~ saHpiHotSwapEventLogTable.c: In function 'saHpiHotSwapEventLogTable_set_commit': saHpiHotSwapEventLogTable.c:985:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 985 | netsnmp_variable_list *var; | ^~~ saHpiHotSwapEventLogTable.c: In function 'saHpiHotSwapEventLogTable_set_free': saHpiHotSwapEventLogTable.c:1020:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1020 | netsnmp_variable_list *var; | ^~~ saHpiHotSwapEventLogTable.c: In function 'saHpiHotSwapEventLogTable_set_undo': saHpiHotSwapEventLogTable.c:1066:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1066 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiWatchdogEventLogTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSoftwareEventLogTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiOemEventLogTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiUserEventLogTable.c In file included from saHpiWatchdogEventLogTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiWatchdogEventLogTable.h:35, from saHpiWatchdogEventLogTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiWatchdogEventLogTable.c: In function 'populate_saHpiWatchdogEventLogTable': saHpiWatchdogEventLogTable.c:106:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 106 | SaErrorT rv = SA_OK; | ^~ saHpiWatchdogEventLogTable.c: In function 'watchdog_event_log_clear': saHpiWatchdogEventLogTable.c:229:17: warning: variable 'watchdog_index' set but not used [-Wunused-but-set-variable] 229 | netsnmp_index *watchdog_index; | ^~~~~~~~~~~~~~ saHpiWatchdogEventLogTable.c: In function 'saHpiWatchdogEventLogTable_set_reserve1': saHpiWatchdogEventLogTable.c:882:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 882 | netsnmp_variable_list *var; | ^~~ saHpiWatchdogEventLogTable.c: In function 'saHpiWatchdogEventLogTable_set_reserve2': saHpiWatchdogEventLogTable.c:922:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 922 | netsnmp_variable_list *var; | ^~~ saHpiWatchdogEventLogTable.c: In function 'saHpiWatchdogEventLogTable_set_action': saHpiWatchdogEventLogTable.c:965:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 965 | netsnmp_variable_list *var; | ^~~ saHpiWatchdogEventLogTable.c: In function 'saHpiWatchdogEventLogTable_set_commit': saHpiWatchdogEventLogTable.c:1020:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1020 | netsnmp_variable_list *var; | ^~~ saHpiWatchdogEventLogTable.c: In function 'saHpiWatchdogEventLogTable_set_free': saHpiWatchdogEventLogTable.c:1055:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1055 | netsnmp_variable_list *var; | ^~~ saHpiWatchdogEventLogTable.c: In function 'saHpiWatchdogEventLogTable_set_undo': saHpiWatchdogEventLogTable.c:1101:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1101 | netsnmp_variable_list *var; | ^~~ In file included from saHpiSoftwareEventLogTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiSoftwareEventLogTable.h:35, from saHpiSoftwareEventLogTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSoftwareEventLogTable.c: In function 'populate_saHpiSoftwareEventLogTable': saHpiSoftwareEventLogTable.c:105:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 105 | SaErrorT rv = SA_OK; | ^~ saHpiSoftwareEventLogTable.c: In function 'software_event_log_clear': saHpiSoftwareEventLogTable.c:238:17: warning: variable 'software_index' set but not used [-Wunused-but-set-variable] 238 | netsnmp_index *software_index; | ^~~~~~~~~~~~~~ saHpiSoftwareEventLogTable.c: In function 'saHpiSoftwareEventLogTable_set_reserve1': saHpiSoftwareEventLogTable.c:868:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 868 | netsnmp_variable_list *var; | ^~~ saHpiSoftwareEventLogTable.c: In function 'saHpiSoftwareEventLogTable_set_reserve2': saHpiSoftwareEventLogTable.c:908:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 908 | netsnmp_variable_list *var; | ^~~ saHpiSoftwareEventLogTable.c: In function 'saHpiSoftwareEventLogTable_set_action': saHpiSoftwareEventLogTable.c:951:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 951 | netsnmp_variable_list *var; | ^~~ saHpiSoftwareEventLogTable.c: In function 'saHpiSoftwareEventLogTable_set_commit': saHpiSoftwareEventLogTable.c:1007:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1007 | netsnmp_variable_list *var; | ^~~ saHpiSoftwareEventLogTable.c: In function 'saHpiSoftwareEventLogTable_set_free': saHpiSoftwareEventLogTable.c:1042:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1042 | netsnmp_variable_list *var; | ^~~ saHpiSoftwareEventLogTable.c: In function 'saHpiSoftwareEventLogTable_set_undo': saHpiSoftwareEventLogTable.c:1088:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1088 | netsnmp_variable_list *var; | ^~~ In file included from saHpiOemEventLogTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiOemEventLogTable.h:35, from saHpiOemEventLogTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiOemEventLogTable.c: In function 'populate_saHpiOemEventLogTable': saHpiOemEventLogTable.c:157:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 157 | memset(this_child_oid, 0, sizeof(this_child_oid)); | ^ saHpiOemEventLogTable.c:105:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 105 | SaErrorT rv = SA_OK; | ^~ saHpiOemEventLogTable.c: In function 'oem_event_log_clear': saHpiOemEventLogTable.c:234:17: warning: variable 'oem_index' set but not used [-Wunused-but-set-variable] 234 | netsnmp_index *oem_index; | ^~~~~~~~~ saHpiOemEventLogTable.c: In function 'saHpiOemEventLogTable_set_reserve1': saHpiOemEventLogTable.c:868:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 868 | netsnmp_variable_list *var; | ^~~ saHpiOemEventLogTable.c: In function 'saHpiOemEventLogTable_set_reserve2': saHpiOemEventLogTable.c:908:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 908 | netsnmp_variable_list *var; | ^~~ saHpiOemEventLogTable.c: In function 'saHpiOemEventLogTable_set_action': saHpiOemEventLogTable.c:951:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 951 | netsnmp_variable_list *var; | ^~~ saHpiOemEventLogTable.c: In function 'saHpiOemEventLogTable_set_commit': saHpiOemEventLogTable.c:1005:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1005 | netsnmp_variable_list *var; | ^~~ saHpiOemEventLogTable.c: In function 'saHpiOemEventLogTable_set_free': saHpiOemEventLogTable.c:1040:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1040 | netsnmp_variable_list *var; | ^~~ saHpiOemEventLogTable.c: In function 'saHpiOemEventLogTable_set_undo': saHpiOemEventLogTable.c:1086:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1086 | netsnmp_variable_list *var; | ^~~ In file included from saHpiUserEventLogTable.c:60: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiUserEventLogTable.h:35, from saHpiUserEventLogTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiUserEventLogTable.c: In function 'populate_saHpiUserEventLogTable': saHpiUserEventLogTable.c:107:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 107 | SaErrorT rv = SA_OK; | ^~ saHpiUserEventLogTable.c: In function 'user_event_log_clear': saHpiUserEventLogTable.c:234:17: warning: variable 'user_index' set but not used [-Wunused-but-set-variable] 234 | netsnmp_index *user_index; | ^~~~~~~~~~ saHpiUserEventLogTable.c: In function 'user_event_log_add': saHpiUserEventLogTable.c:379:17: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 379 | memset(this_child_oid, 0, MAX_OID_LEN); | ^~~~~~ saHpiUserEventLogTable.c: In function 'saHpiUserEventLogTable_set_commit': saHpiUserEventLogTable.c:1316:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1316 | netsnmp_variable_list *var; | ^~~ saHpiUserEventLogTable.c: In function 'saHpiUserEventLogTable_set_free': saHpiUserEventLogTable.c:1371:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1371 | netsnmp_variable_list *var; | ^~~ saHpiUserEventLogTable.c: In function 'saHpiUserEventLogTable_set_undo': saHpiUserEventLogTable.c:1437:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1437 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiSensorEnableChangeEventLogTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiDomainEventLogTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiHotSwapTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiDomainAlarmTable.c In file included from saHpiSensorEnableChangeEventLogTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiSensorEnableChangeEventLogTable.h:35, from saHpiSensorEnableChangeEventLogTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiSensorEnableChangeEventLogTable.c: In function 'populate_saHpiSensorEnableChangeEventLogTable': saHpiSensorEnableChangeEventLogTable.c:162:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 162 | memset(this_child_oid, 0, sizeof(this_child_oid)); | ^ saHpiSensorEnableChangeEventLogTable.c:107:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 107 | SaErrorT rv = SA_OK; | ^~ saHpiSensorEnableChangeEventLogTable.c: In function 'sen_en_change_event_log_clear': saHpiSensorEnableChangeEventLogTable.c:350:17: warning: variable 'sec_index' set but not used [-Wunused-but-set-variable] 350 | netsnmp_index *sec_index; | ^~~~~~~~~ saHpiSensorEnableChangeEventLogTable.c: In function 'saHpiSensorEnableChangeEventLogTable_set_reserve1': saHpiSensorEnableChangeEventLogTable.c:1015:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1015 | netsnmp_variable_list *var; | ^~~ saHpiSensorEnableChangeEventLogTable.c: In function 'saHpiSensorEnableChangeEventLogTable_set_reserve2': saHpiSensorEnableChangeEventLogTable.c:1055:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1055 | netsnmp_variable_list *var; | ^~~ saHpiSensorEnableChangeEventLogTable.c: In function 'saHpiSensorEnableChangeEventLogTable_set_action': saHpiSensorEnableChangeEventLogTable.c:1098:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1098 | netsnmp_variable_list *var; | ^~~ saHpiSensorEnableChangeEventLogTable.c: In function 'saHpiSensorEnableChangeEventLogTable_set_commit': saHpiSensorEnableChangeEventLogTable.c:1153:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1153 | netsnmp_variable_list *var; | ^~~ saHpiSensorEnableChangeEventLogTable.c: In function 'saHpiSensorEnableChangeEventLogTable_set_free': saHpiSensorEnableChangeEventLogTable.c:1188:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1188 | netsnmp_variable_list *var; | ^~~ saHpiSensorEnableChangeEventLogTable.c: In function 'saHpiSensorEnableChangeEventLogTable_set_undo': saHpiSensorEnableChangeEventLogTable.c:1234:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1234 | netsnmp_variable_list *var; | ^~~ In file included from saHpiDomainEventLogTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiDomainEventLogTable.h:35, from saHpiDomainEventLogTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiDomainEventLogTable.c: In function 'populate_saHpiDomainEventLogTable': saHpiDomainEventLogTable.c:156:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 156 | memset(this_child_oid, 0, sizeof(this_child_oid)); | ^ saHpiDomainEventLogTable.c:105:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 105 | SaErrorT rv = SA_OK; | ^~ saHpiDomainEventLogTable.c: In function 'domain_event_log_clear': saHpiDomainEventLogTable.c:220:17: warning: variable 'domain_index' set but not used [-Wunused-but-set-variable] 220 | netsnmp_index *domain_index; | ^~~~~~~~~~~~ saHpiDomainEventLogTable.c: In function 'saHpiDomainEventLogTable_set_reserve1': saHpiDomainEventLogTable.c:829:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 829 | netsnmp_variable_list *var; | ^~~ saHpiDomainEventLogTable.c: In function 'saHpiDomainEventLogTable_set_reserve2': saHpiDomainEventLogTable.c:869:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 869 | netsnmp_variable_list *var; | ^~~ saHpiDomainEventLogTable.c: In function 'saHpiDomainEventLogTable_set_action': saHpiDomainEventLogTable.c:912:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 912 | netsnmp_variable_list *var; | ^~~ saHpiDomainEventLogTable.c: In function 'saHpiDomainEventLogTable_set_commit': saHpiDomainEventLogTable.c:973:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 973 | netsnmp_variable_list *var; | ^~~ saHpiDomainEventLogTable.c: In function 'saHpiDomainEventLogTable_set_free': saHpiDomainEventLogTable.c:1008:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1008 | netsnmp_variable_list *var; | ^~~ saHpiDomainEventLogTable.c: In function 'saHpiDomainEventLogTable_set_undo': saHpiDomainEventLogTable.c:1054:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1054 | netsnmp_variable_list *var; | ^~~ In file included from saHpiHotSwapTable.c:59: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiHotSwapTable.h:35, from saHpiHotSwapTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiHotSwapTable.c: In function 'saHpiHotSwapTable_set_commit': saHpiHotSwapTable.c:1258:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1258 | netsnmp_variable_list *var; | ^~~ saHpiHotSwapTable.c: In function 'saHpiHotSwapTable_set_free': saHpiHotSwapTable.c:1319:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1319 | netsnmp_variable_list *var; | ^~~ saHpiHotSwapTable.c: In function 'saHpiHotSwapTable_set_undo': saHpiHotSwapTable.c:1391:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1391 | netsnmp_variable_list *var; | ^~~ In file included from saHpiDomainAlarmTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/openhpi/announcement_utils.h:25, from /usr/include/openhpi/oh_utils.h:23, from ../include/saHpiDomainAlarmTable.h:35, from saHpiDomainAlarmTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiDomainAlarmTable.c: In function 'saHpiDomainAlarmTable_set_commit': saHpiDomainAlarmTable.c:1642:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1642 | netsnmp_variable_list *var; | ^~~ saHpiDomainAlarmTable.c: In function 'saHpiDomainAlarmTable_set_free': saHpiDomainAlarmTable.c:1733:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1733 | netsnmp_variable_list *var; | ^~~ saHpiDomainAlarmTable.c: In function 'saHpiDomainAlarmTable_set_undo': saHpiDomainAlarmTable.c:1835:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1835 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiAutoInsertTimeoutTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiAnnouncementTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiAnnouncementEventLogTable.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c saHpiAdministration.c In file included from saHpiAutoInsertTimeoutTable.c:59: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from ../include/saHpiAutoInsertTimeoutTable.h:35, from saHpiAutoInsertTimeoutTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiAutoInsertTimeoutTable.c: In function 'saHpiAutoInsertTimeoutTable_set_reserve2': saHpiAutoInsertTimeoutTable.c:617:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 617 | netsnmp_variable_list *var; | ^~~ saHpiAutoInsertTimeoutTable.c: In function 'saHpiAutoInsertTimeoutTable_set_commit': saHpiAutoInsertTimeoutTable.c:746:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 746 | netsnmp_variable_list *var; | ^~~ saHpiAutoInsertTimeoutTable.c: In function 'saHpiAutoInsertTimeoutTable_set_free': saHpiAutoInsertTimeoutTable.c:785:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 785 | netsnmp_variable_list *var; | ^~~ saHpiAutoInsertTimeoutTable.c: In function 'saHpiAutoInsertTimeoutTable_set_undo': saHpiAutoInsertTimeoutTable.c:835:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 835 | netsnmp_variable_list *var; | ^~~ In file included from saHpiAnnouncementTable.c:58: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/openhpi/announcement_utils.h:25, from /usr/include/openhpi/oh_utils.h:23, from ../include/saHpiAnnouncementTable.h:35, from saHpiAnnouncementTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiAnnouncementTable.c: In function 'update_announcements': saHpiAnnouncementTable.c:772:26: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 772 | SaErrorT rv; | ^~ saHpiAnnouncementTable.c: In function 'saHpiAnnouncementTable_set_commit': saHpiAnnouncementTable.c:1989:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1989 | netsnmp_variable_list *var; | ^~~ saHpiAnnouncementTable.c: In function 'saHpiAnnouncementTable_set_free': saHpiAnnouncementTable.c:2083:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 2083 | netsnmp_variable_list *var; | ^~~ saHpiAnnouncementTable.c: In function 'saHpiAnnouncementTable_set_undo': saHpiAnnouncementTable.c:2187:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 2187 | netsnmp_variable_list *var; | ^~~ In file included from saHpiAnnouncementEventLogTable.c:57: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/openhpi/announcement_utils.h:25, from /usr/include/openhpi/oh_utils.h:23, from ../include/saHpiAnnouncementEventLogTable.h:35, from saHpiAnnouncementEventLogTable.c:53: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ saHpiAnnouncementEventLogTable.c: In function 'saHpiAnnouncementEventLogTable_set_reserve2': saHpiAnnouncementEventLogTable.c:902:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 902 | netsnmp_variable_list *var; | ^~~ saHpiAnnouncementEventLogTable.c: In function 'saHpiAnnouncementEventLogTable_set_commit': saHpiAnnouncementEventLogTable.c:1223:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1223 | netsnmp_variable_list *var; | ^~~ saHpiAnnouncementEventLogTable.c: In function 'saHpiAnnouncementEventLogTable_set_free': saHpiAnnouncementEventLogTable.c:1306:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1306 | netsnmp_variable_list *var; | ^~~ saHpiAnnouncementEventLogTable.c: In function 'saHpiAnnouncementEventLogTable_set_undo': saHpiAnnouncementEventLogTable.c:1400:28: warning: variable 'var' set but not used [-Wunused-but-set-variable] 1400 | netsnmp_variable_list *var; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -c hpiLock.c In file included from saHpiAdministration.c:96: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiSubagent.h:36, from saHpiAdministration.c:27: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ In file included from hpiLock.c:19: ../include/hpiLock.h:29:7: warning: 'GStaticRecMutex' is deprecated: Use 'GRecMutex' instead [-Wdeprecated-declarations] 29 | GStaticRecMutex thread_mutex; | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiLock.h:26, from hpiLock.c:19: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ hpiLock.c:24:13: warning: Deprecated pre-processor symbol, replace with 24 | .thread_mutex = G_STATIC_REC_MUTEX_INIT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hpiLock.c:24:13: warning: Deprecated pre-processor symbol, replace with hpiLock.c: In function 'subagent_lock': hpiLock.c:32:2: warning: 'g_static_rec_mutex_trylock' is deprecated: Use 'g_rec_mutex_try_lock' instead [-Wdeprecated-declarations] 32 | if (!g_static_rec_mutex_trylock(&hpi_lock_data->thread_mutex)) { | ^~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiLock.h:26, from hpiLock.c:19: /usr/include/glib-2.0/glib/deprecated/gthread.h:178:10: note: declared here 178 | gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ hpiLock.c:37:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] 37 | g_static_rec_mutex_lock(&hpi_lock_data->thread_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiLock.h:26, from hpiLock.c:19: /usr/include/glib-2.0/glib/deprecated/gthread.h:175:10: note: declared here 175 | void g_static_rec_mutex_lock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~ hpiLock.c: In function 'subagent_unlock': hpiLock.c:60:2: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] 60 | g_static_rec_mutex_unlock(&hpi_lock_data->thread_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../include/hpiLock.h:26, from hpiLock.c:19: /usr/include/glib-2.0/glib/deprecated/gthread.h:181:10: note: declared here 181 | void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I. -I/usr/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpiSubagent alarm.o hpiCheckIndice.o session_info.o hash_utils.o hpiSubagent.o hpiAnnunciatorMapping.o hpiDomainAlarmMapping.o hpiEventThread.o saHpiDomainInfoTable.o saHpiDomainReferenceTable.o saHpiResourceTable.o saHpiRdrTable.o saHpiCtrlDigitalTable.o saHpiCtrlDiscreteTable.o saHpiCtrlAnalogTable.o saHpiCtrlStreamTable.o saHpiCtrlTextTable.o saHpiCtrlOemTable.o saHpiSensorTable.o saHpiCurrentSensorStateTable.o saHpiSensorReadingMaxTable.o saHpiSensorReadingMinTable.o saHpiSensorReadingNominalTable.o saHpiSensorReadingNormalMaxTable.o saHpiSensorReadingNormalMinTable.o saHpiSensorThdLowCriticalTable.o saHpiSensorThdLowMajorTable.o saHpiSensorThdLowMinorTable.o saHpiSensorThdUpCriticalTable.o saHpiSensorThdUpMajorTable.o saHpiSensorThdUpMinorTable.o saHpiSensorThdPosHysteresisTable.o saHpiSensorThdNegHysteresisTable.o saHpiInventoryTable.o saHpiWatchdogTable.o saHpiAnnunciatorTable.o saHpiAreaTable.o saHpiFieldTable.o saHpiEventTable.o saHpiResourceEventTable.o saHpiDomainEventTable.o saHpiEventLogInfoTable.o saHpiEventLogTable.o saHpiResourceEventLogTable.o saHpiSensorEventLogTable.o saHpiSensorEventTable.o saHpiOemEventTable.o saHpiHotSwapEventTable.o saHpiWatchdogEventTable.o saHpiSoftwareEventTable.o saHpiSensorEnableChangeEventTable.o saHpiUserEventTable.o saHpiHotSwapEventLogTable.o saHpiWatchdogEventLogTable.o saHpiSoftwareEventLogTable.o saHpiOemEventLogTable.o saHpiUserEventLogTable.o saHpiSensorEnableChangeEventLogTable.o saHpiDomainEventLogTable.o saHpiHotSwapTable.o saHpiDomainAlarmTable.o saHpiAutoInsertTimeoutTable.o saHpiAnnouncementTable.o saHpiAnnouncementEventLogTable.o saHpiAdministration.o hpiLock.o -lopenhpi -lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lm -L/usr/lib64 -lnetsnmpmibs -lsensors -ldl -lrpm -lrpmio -lnetsnmpagent -Wl,--enable-new-dtags -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lnetsnmp -lssl -lssl -lcrypto -lm -lopenhpi -lglib-2.0 -lopenhpiutils -lglib-2.0 -lm make[3]: Leaving directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/src' make[2]: Leaving directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/src' Making all in docs make[2]: Entering directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/docs' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/docs' make[2]: Entering directory '/builddir/build/BUILD/openhpi-subagent-2.3.4' make[2]: Leaving directory '/builddir/build/BUILD/openhpi-subagent-2.3.4' make[1]: Leaving directory '/builddir/build/BUILD/openhpi-subagent-2.3.4' + make -C docs subagent-manual/book1.html make: Entering directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/docs' db2html -o subagent-manual subagent-manual.sgml Output is subagent-manual/subagent-manual.html Using catalogs: /etc/sgml/sgml-docbook-4.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html Working on: /builddir/build/BUILD/openhpi-subagent-2.3.4/docs/subagent-manual.sgml mkdir -p subagent-manual/images cp images/set-actions.jpg subagent-manual/images ./htmlfilter.pl subagent-manual/*html make: Leaving directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/docs' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.P9uI5Q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64 + cd openhpi-subagent-2.3.4 + make install DESTDIR=/builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64 Making install in src make[1]: Entering directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/src' make[2]: Entering directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/src' make[3]: Entering directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/src' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/usr/bin" /usr/bin/install -c 'hpiSubagent' '/builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/usr/bin/hpiSubagent' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/src' make[2]: Leaving directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/src' make[1]: Leaving directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/src' Making install in docs make[1]: Entering directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/docs' make[2]: Entering directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/docs' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/docs' make[1]: Leaving directory '/builddir/build/BUILD/openhpi-subagent-2.3.4/docs' make[1]: Entering directory '/builddir/build/BUILD/openhpi-subagent-2.3.4' make[2]: Entering directory '/builddir/build/BUILD/openhpi-subagent-2.3.4' make[2]: Nothing to be done for 'install-exec-am'. /builddir/build/BUILD/openhpi-subagent-2.3.4/install-sh -d /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/etc/snmp /usr/bin/install -c -m 644 ./hpiSubagent.conf /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/etc/snmp /builddir/build/BUILD/openhpi-subagent-2.3.4/install-sh -d /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/etc/init.d/ /usr/bin/install -c -m 755 ./openhpi-subagent.rc /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/etc/init.d/openhpi-subagent test -z "/usr/share/snmp/mibs" || mkdir -p -- "/builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/usr/share/snmp/mibs" /usr/bin/install -c -m 644 'mib/SAI-HPI-SNMP-MIB-B.01.01.mib' '/builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/usr/share/snmp/mibs/SAI-HPI-SNMP-MIB-B.01.01.mib' /usr/bin/install -c -m 644 'mib/SAF-TC-MIB.mib' '/builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/usr/share/snmp/mibs/SAF-TC-MIB.mib' make[2]: Leaving directory '/builddir/build/BUILD/openhpi-subagent-2.3.4' make[1]: Leaving directory '/builddir/build/BUILD/openhpi-subagent-2.3.4' + rm -f /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/etc/init.d/openhpi-subagent + mkdir -p /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/usr/lib/systemd/system + install -p -m 755 /builddir/build/SOURCES/openhpi-subagent.service /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/usr/lib/systemd/system/openhpi-subagent.service + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.3.4-41.fc33 --unique-debug-suffix -2.3.4-41.fc33.riscv64 --unique-debug-src-base openhpi-subagent-2.3.4-41.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/openhpi-subagent-2.3.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/usr/bin/hpiSubagent extracting debug info from /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/usr/bin/hpiSubagent original debug info size: 8960kB, size after compression: 7960kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 6454 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib/systemd/system/openhpi-subagent.service is executable but has no shebang, removing executable bit Processing files: openhpi-subagent-2.3.4-41.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oFhFZQ + umask 022 + cd /builddir/build/BUILD + cd openhpi-subagent-2.3.4 + DOCDIR=/builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/usr/share/doc/openhpi-subagent + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/usr/share/doc/openhpi-subagent + cp -pr COPYING /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/usr/share/doc/openhpi-subagent + cp -pr README /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/usr/share/doc/openhpi-subagent + cp -pr docs/subagent-manual /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64/usr/share/doc/openhpi-subagent + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(openhpi-subagent) = 2.3.4-41.fc33 openhpi-subagent = 2.3.4-41.fc33 openhpi-subagent(riscv-64) = 2.3.4-41.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libglib-2.0.so.0()(64bit) libnetsnmp.so.35()(64bit) libnetsnmpagent.so.35()(64bit) libopenhpi.so.3()(64bit) libopenhpiutils.so.3()(64bit) rtld(GNU_HASH) Processing files: openhpi-subagent-debugsource-2.3.4-41.fc33.riscv64 Provides: openhpi-subagent-debugsource = 2.3.4-41.fc33 openhpi-subagent-debugsource(riscv-64) = 2.3.4-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: openhpi-subagent-debuginfo-2.3.4-41.fc33.riscv64 Provides: debuginfo(build-id) = 46c7a9f2a65ee4ccc7ae251b574e7e20e0f374d3 openhpi-subagent-debuginfo = 2.3.4-41.fc33 openhpi-subagent-debuginfo(riscv-64) = 2.3.4-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: openhpi-subagent-debugsource(riscv-64) = 2.3.4-41.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64 Wrote: /builddir/build/RPMS/openhpi-subagent-2.3.4-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/openhpi-subagent-debuginfo-2.3.4-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/openhpi-subagent-debugsource-2.3.4-41.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eTp4vO + umask 022 + cd /builddir/build/BUILD + cd openhpi-subagent-2.3.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/openhpi-subagent-2.3.4-41.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0