Mock Version: 4.1
Mock Version: 4.1
Mock Version: 4.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/inferit-9_3-bootstrap-build-21332-36830/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7ffff4601430>timeout=86400uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._bjxx0uz:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._bjxx0uz:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f8e0dbeaaa3c4bf999cdf6b89333297a', '-D', '/var/lib/mock/inferit-9_3-bootstrap-build-21332-36830/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._bjxx0uz:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --nodeps /builddir/build/SPECS/annobin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
sh: line 1: gcc: command not found
sh: line 1: gcc: command not found
Building target platforms: i686
Building for target i686
setting SOURCE_DATE_EPOCH=1696291200
Wrote: /builddir/build/SRPMS/annobin-12.12-1.el9.inferit.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/inferit-9_3-bootstrap-build-21332-36830/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7ffff4601430>timeout=86400uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._bjxx0uz:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._bjxx0uz:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'eb6aea4046244cb88967d12597a78529', '-D', '/var/lib/mock/inferit-9_3-bootstrap-build-21332-36830/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._bjxx0uz:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/annobin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: i686
Building for target i686
setting SOURCE_DATE_EPOCH=1696291200
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pKraPm
+ umask 022
+ cd /builddir/build/BUILD
Requires: (gcc >= 11 and gcc < 12)
+ '[' -z 11.4.1-2 ']'
+ echo 'Requires: (gcc >= 11 and gcc < 12)'
+ cd /builddir/build/BUILD
+ rm -rf annobin-12.12
+ /usr/bin/xz -dc /builddir/build/SOURCES/annobin-12.12.tar.xz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd annobin-12.12
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ touch aclocal.m4 gcc-plugin/config.h.in
+ touch configure gcc-plugin/configure Makefile.in annocheck/Makefile.in clang-plugin/Makefile.in doc/Makefile.in gcc-plugin/Makefile.in llvm-plugin/Makefile.in scripts/Makefile.in tests/Makefile.in
+ touch doc/annobin.info
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6gMopT
+ umask 022
+ cd /builddir/build/BUILD
+ cd annobin-12.12
+ CONFIG_ARGS='--quiet --with-gcc-plugin-dir=/usr/lib/gcc/i686-redhat-linux/11/plugin'
+ CONFIG_ARGS='--quiet --with-gcc-plugin-dir=/usr/lib/gcc/i686-redhat-linux/11/plugin --without-debuginfod'
+ CONFIG_ARGS='--quiet --with-gcc-plugin-dir=/usr/lib/gcc/i686-redhat-linux/11/plugin --without-debuginfod --with-clang'
+ CONFIG_ARGS='--quiet --with-gcc-plugin-dir=/usr/lib/gcc/i686-redhat-linux/11/plugin --without-debuginfod --with-clang --with-llvm'
+ 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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ 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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '
+ 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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ 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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ 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' ./gcc-plugin/configure
+ diff -u ./gcc-plugin/configure.backup ./gcc-plugin/configure
+ mv ./gcc-plugin/configure.backup ./gcc-plugin/configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./gcc-plugin/configure
+ diff -u ./gcc-plugin/configure.backup ./gcc-plugin/configure
+ mv ./gcc-plugin/configure.backup ./gcc-plugin/configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./gcc-plugin/configure
+ diff -u ./gcc-plugin/configure.backup ./gcc-plugin/configure
+ mv ./gcc-plugin/configure.backup ./gcc-plugin/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' ./gcc-plugin/configure
+ diff -u ./gcc-plugin/configure.backup ./gcc-plugin/configure
+ mv ./gcc-plugin/configure.backup ./gcc-plugin/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'\''"#' ./gcc-plugin/configure
+ diff -u ./gcc-plugin/configure.backup ./gcc-plugin/configure
+ mv ./gcc-plugin/configure.backup ./gcc-plugin/configure
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup	2023-10-03 19:59:59.905432686 +0000
+++ ./configure	2023-10-03 20:00:00.020432875 +0000
@@ -1931,7 +1931,7 @@
 #ifdef __cplusplus
 extern "C"
 #endif
-char $2 ();
+__attribute__ ((used)) char $2 ();
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup	2023-10-03 20:00:00.020432875 +0000
+++ ./configure	2023-10-03 20:00:00.063432945 +0000
@@ -7200,7 +7200,7 @@
 # Transform an extracted symbol line into a proper C declaration.
 # Some systems (esp. on ia64) link data and code symbols differently,
 # so use this general approach.
-lt_cv_sys_global_symbol_to_cdecl="sed -n"\
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 $lt_cdecl_hook\
 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
@@ -16735,7 +16735,7 @@
 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -19424,7 +19424,7 @@
 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
+ '[' 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/config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config/config.guess
++ basename ./config/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config/config.guess'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config/config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config/config.sub
++ basename ./config/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config/config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./gcc-plugin/config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./gcc-plugin/config.guess
++ basename ./gcc-plugin/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./gcc-plugin/config.guess
'/usr/lib/rpm/redhat/config.guess' -> './gcc-plugin/config.guess'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./gcc-plugin/config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./gcc-plugin/config.sub
++ basename ./gcc-plugin/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./gcc-plugin/config.sub
'/usr/lib/rpm/redhat/config.sub' -> './gcc-plugin/config.sub'
+ '[' 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"~' ./config/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"~' ./gcc-plugin/ltmain.sh
+ ./configure --build=i686-redhat-linux-gnu --host=i686-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --quiet --with-gcc-plugin-dir=/usr/lib/gcc/i686-redhat-linux/11/plugin --without-debuginfod --with-clang --with-llvm
./configure: line 7206:  -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory
+ export CLANG_TARGET_OPTIONS=-fcf-protection
+ CLANG_TARGET_OPTIONS=-fcf-protection
+ /usr/bin/make -O -j16 V=1 VERBOSE=1
Making all in doc
make[1]: Nothing to be done for 'all'.
Making all in gcc-plugin
/usr/bin/make  all-am
make[2]: Entering directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I'..' -I'..' -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty  -O2 -flto=auto -ffat-lto-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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o i686.annobin.lo i686.annobin.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty -O2 -flto=auto -ffat-lto-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c i686.annobin.cc  -fPIC -DPIC -o .libs/i686.annobin.o
make[2]: Leaving directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
i686.annobin.cc:18: warning: "GNU_PROPERTY_X86_ISA_1_USED" redefined
   18 | #define GNU_PROPERTY_X86_ISA_1_USED             0xc0000000
      | 
In file included from annobin.h:42,
                 from i686.annobin.cc:16:
/usr/include/elf.h:1332: note: this is the location of the previous definition
 1332 | #define GNU_PROPERTY_X86_ISA_1_USED             0xc0010002
      | 
i686.annobin.cc:19: warning: "GNU_PROPERTY_X86_ISA_1_NEEDED" redefined
   19 | #define GNU_PROPERTY_X86_ISA_1_NEEDED           0xc0000001
      | 
In file included from annobin.h:42,
                 from i686.annobin.cc:16:
/usr/include/elf.h:1335: note: this is the location of the previous definition
 1335 | #define GNU_PROPERTY_X86_ISA_1_NEEDED           0xc0008002
      | 
i686.annobin.cc: In function 'void record_ABI_note(long unsigned int, annobin_function_info*)':
i686.annobin.cc:76:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
   76 |       sprintf (annobin_note_buffer, "%s:%d", ANNOBIN_STRING_X86_64_ABI, val);
      |                                         ~^                              ~~~
      |                                          |                              |
      |                                          int                            long unsigned int
      |                                         %ld
make[2]: Entering directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I'..' -I'..' -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty  -O2 -flto=auto -ffat-lto-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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o annobin.lo annobin.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty -O2 -flto=auto -ffat-lto-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c annobin.cc  -fPIC -DPIC -o .libs/annobin.o
make[2]: Leaving directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
make[2]: Entering directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
/bin/sh ../libtool --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -module  -o annobin.la -rpath /usr/lib/gcc/i686-redhat-linux/11/plugin annobin.lo i686.annobin.lo 
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i686-redhat-linux/11/../../../crti.o /usr/lib/gcc/i686-redhat-linux/11/crtbeginS.o  .libs/annobin.o .libs/i686.annobin.o   -L/usr/lib/gcc/i686-redhat-linux/11 -L/usr/lib/gcc/i686-redhat-linux/11/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-redhat-linux/11/crtendS.o /usr/lib/gcc/i686-redhat-linux/11/../../../crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign   -Wl,-soname -Wl,annobin.so.0 -o .libs/annobin.so.0.0.0
libtool: link: (cd ".libs" && rm -f "annobin.so.0" && ln -s "annobin.so.0.0.0" "annobin.so.0")
libtool: link: (cd ".libs" && rm -f "annobin.so" && ln -s "annobin.so.0.0.0" "annobin.so")
libtool: link: ( cd ".libs" && rm -f "annobin.la" && ln -s "../annobin.la" "annobin.la" )
make[2]: Leaving directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
Making all in clang-plugin
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/clang-plugin'
clang++ -fcf-protection -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -shared -fPIC -Wall -O2 -flto -g -grecord-gcc-switches -Wl,--build-id=md5 -Wl,-z,now -I .. -I./.. -lLLVM annobin.cpp -o annobin-for-clang.so
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/clang-plugin'
Making all in llvm-plugin
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/llvm-plugin'
clang++ -fcf-protection -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -shared -fPIC -Wall -O2 -flto -g -grecord-gcc-switches -Wl,--build-id=md5 -Wl,-z,now -I .. -I./.. annobin.cpp -o annobin-for-llvm.so
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/llvm-plugin'
Making all in annocheck
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/annocheck'
gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin  -I'..' -I'..' -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty  -O2 -flto=auto -ffat-lto-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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o timing.o timing.c
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/annocheck'
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/annocheck'
gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin  -I'..' -I'..' -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty  -O2 -flto=auto -ffat-lto-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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o built-by.o built-by.c
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/annocheck'
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/annocheck'
gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin  -I'..' -I'..' -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty  -O2 -flto=auto -ffat-lto-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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o size.o size.c
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/annocheck'
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/annocheck'
gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin  -I'..' -I'..' -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty  -O2 -flto=auto -ffat-lto-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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o notes.o notes.c
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/annocheck'
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/annocheck'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin  -I'..' -I'..' -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty -DLIBANNOCHECK=1 -O2 -flto=auto -ffat-lto-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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libannocheck_la-annocheck.lo `test -f 'annocheck.c' || echo './'`annocheck.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I.. -I.. -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty -DLIBANNOCHECK=1 -O2 -flto=auto -ffat-lto-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c annocheck.c  -fPIC -DPIC -o .libs/libannocheck_la-annocheck.o
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/annocheck'
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/annocheck'
gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin  -I'..' -I'..' -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty  -O2 -flto=auto -ffat-lto-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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o annocheck.o annocheck.c
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/annocheck'
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/annocheck'
gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin  -I'..' -I'..' -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty  -O2 -flto=auto -ffat-lto-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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o hardened.o hardened.c
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/annocheck'
hardened.c: In function 'ignore_gap':
hardened.c:5997:53: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=]
 5997 |         einfo (VERBOSE2, "debug: data = %p, off = %ld type = %d %d, start 0x%lx, bias 0x%lx, end 0x%lx, size 0x%lx",
      |                                                   ~~^
      |                                                     |
      |                                                     long int
      |                                                   %lld
 5998 |                sec_data, sec_data->d_off, sec_data->d_type, ELF_T_BYTE,
      |                          ~~~~~~~~~~~~~~~             
      |                                  |
      |                                  int64_t {aka long long int}
hardened.c:5997:114: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
 5997 |         einfo (VERBOSE2, "debug: data = %p, off = %ld type = %d %d, start 0x%lx, bias 0x%lx, end 0x%lx, size 0x%lx",
      |                                                                                                                ~~^
      |                                                                                                                  |
      |                                                                                                                  long unsigned int
      |                                                                                                                %x
 5998 |                sec_data, sec_data->d_off, sec_data->d_type, ELF_T_BYTE,
 5999 |                gap->start, addr1_bias, gap->end, sec_data->d_size);
      |                                                  ~~~~~~~~~~~~~~~~                                                 
      |                                                          |
      |                                                          size_t {aka unsigned int}
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/annocheck'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin  -I'..' -I'..' -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty -DLIBANNOCHECK=1 -O2 -flto=auto -ffat-lto-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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libannocheck_la-hardened.lo `test -f 'hardened.c' || echo './'`hardened.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I.. -I.. -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty -DLIBANNOCHECK=1 -O2 -flto=auto -ffat-lto-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c hardened.c  -fPIC -DPIC -o .libs/libannocheck_la-hardened.o
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/annocheck'
hardened.c: In function 'ignore_gap':
hardened.c:5997:53: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64_t' {aka 'long long int'} [-Wformat=]
 5997 |         einfo (VERBOSE2, "debug: data = %p, off = %ld type = %d %d, start 0x%lx, bias 0x%lx, end 0x%lx, size 0x%lx",
      |                                                   ~~^
      |                                                     |
      |                                                     long int
      |                                                   %lld
 5998 |                sec_data, sec_data->d_off, sec_data->d_type, ELF_T_BYTE,
      |                          ~~~~~~~~~~~~~~~             
      |                                  |
      |                                  int64_t {aka long long int}
hardened.c:5997:114: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
 5997 |         einfo (VERBOSE2, "debug: data = %p, off = %ld type = %d %d, start 0x%lx, bias 0x%lx, end 0x%lx, size 0x%lx",
      |                                                                                                                ~~^
      |                                                                                                                  |
      |                                                                                                                  long unsigned int
      |                                                                                                                %x
 5998 |                sec_data, sec_data->d_off, sec_data->d_type, ELF_T_BYTE,
 5999 |                gap->start, addr1_bias, gap->end, sec_data->d_size);
      |                                                  ~~~~~~~~~~~~~~~~                                                 
      |                                                          |
      |                                                          size_t {aka unsigned int}
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/annocheck'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -DLIBANNOCHECK=1 -O2 -flto=auto -ffat-lto-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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -o libannocheck.la -rpath /usr/lib libannocheck_la-annocheck.lo libannocheck_la-hardened.lo  
libtool: link: gcc -shared  -fPIC -DPIC  .libs/libannocheck_la-annocheck.o .libs/libannocheck_la-hardened.o   -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1   -Wl,-soname -Wl,libannocheck.so.0 -o .libs/libannocheck.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libannocheck.so.0" && ln -s "libannocheck.so.0.0.0" "libannocheck.so.0")
libtool: link: (cd ".libs" && rm -f "libannocheck.so" && ln -s "libannocheck.so.0.0.0" "libannocheck.so")
libtool: link: ( cd ".libs" && rm -f "libannocheck.la" && ln -s "../libannocheck.la" "libannocheck.la" )
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/annocheck'
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/annocheck'
/bin/sh ../libtool  --tag=CC   --mode=link 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  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -o annocheck annocheck.o timing.o size.o notes.o hardened.o built-by.o -lelf -ldw -lrpm -lrpmio -liberty  
libtool: link: 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o annocheck annocheck.o timing.o size.o notes.o hardened.o built-by.o  -lelf -ldw -lrpm -lrpmio -liberty
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/annocheck'
Making all in tests
make[1]: Nothing to be done for 'all'.
make[1]: Nothing to be done for 'all-am'.
+ cp gcc-plugin/.libs/annobin.so.0.0.0 /var/tmp/tmp_annobin.so
+ make -C gcc-plugin clean
make: Entering directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
rm -rf .libs _libs
test -z "annobin.la" || rm -f annobin.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
make: Leaving directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
+ BUILD_FLAGS=-fplugin=/var/tmp/tmp_annobin.so
++ rpm --eval ' -O2 -flto=auto -ffat-lto-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   -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  '
+ OPTS=' -O2 -flto=auto -ffat-lto-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   -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  '
+ make -C gcc-plugin '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   -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld   -fplugin=/var/tmp/tmp_annobin.so'
make: Entering directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
make  all-am
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I'..' -I'..' -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty  -O2 -flto=auto -ffat-lto-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   -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld   -fplugin=/var/tmp/tmp_annobin.so -c -o annobin.lo annobin.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty -O2 -flto=auto -ffat-lto-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fplugin=/var/tmp/tmp_annobin.so -c annobin.cc  -fPIC -DPIC -o .libs/annobin.o
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I'..' -I'..' -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty  -O2 -flto=auto -ffat-lto-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   -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld   -fplugin=/var/tmp/tmp_annobin.so -c -o i686.annobin.lo i686.annobin.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/lib/gcc/i686-redhat-linux/11/plugin/include -I/usr/include/libiberty -O2 -flto=auto -ffat-lto-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fplugin=/var/tmp/tmp_annobin.so -c i686.annobin.cc  -fPIC -DPIC -o .libs/i686.annobin.o
i686.annobin.cc:18: warning: "GNU_PROPERTY_X86_ISA_1_USED" redefined
   18 | #define GNU_PROPERTY_X86_ISA_1_USED             0xc0000000
      | 
In file included from annobin.h:42,
                 from i686.annobin.cc:16:
/usr/include/elf.h:1332: note: this is the location of the previous definition
 1332 | #define GNU_PROPERTY_X86_ISA_1_USED             0xc0010002
      | 
i686.annobin.cc:19: warning: "GNU_PROPERTY_X86_ISA_1_NEEDED" redefined
   19 | #define GNU_PROPERTY_X86_ISA_1_NEEDED           0xc0000001
      | 
In file included from annobin.h:42,
                 from i686.annobin.cc:16:
/usr/include/elf.h:1335: note: this is the location of the previous definition
 1335 | #define GNU_PROPERTY_X86_ISA_1_NEEDED           0xc0008002
      | 
i686.annobin.cc: In function 'void record_ABI_note(long unsigned int, annobin_function_info*)':
i686.annobin.cc:76:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
   76 |       sprintf (annobin_note_buffer, "%s:%d", ANNOBIN_STRING_X86_64_ABI, val);
      |                                         ~^                              ~~~
      |                                          |                              |
      |                                          int                            long unsigned int
      |                                         %ld
/bin/sh ../libtool --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-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   -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld   -fplugin=/var/tmp/tmp_annobin.so -module  -o annobin.la -rpath /usr/lib/gcc/i686-redhat-linux/11/plugin annobin.lo i686.annobin.lo 
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i686-redhat-linux/11/../../../crti.o /usr/lib/gcc/i686-redhat-linux/11/crtbeginS.o  .libs/annobin.o .libs/i686.annobin.o   -L/usr/lib/gcc/i686-redhat-linux/11 -L/usr/lib/gcc/i686-redhat-linux/11/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-redhat-linux/11/crtendS.o /usr/lib/gcc/i686-redhat-linux/11/../../../crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld   -Wl,-soname -Wl,annobin.so.0 -o .libs/annobin.so.0.0.0
libtool: link: (cd ".libs" && rm -f "annobin.so.0" && ln -s "annobin.so.0.0.0" "annobin.so.0")
libtool: link: (cd ".libs" && rm -f "annobin.so" && ln -s "annobin.so.0.0.0" "annobin.so")
libtool: link: ( cd ".libs" && rm -f "annobin.la" && ln -s "../annobin.la" "annobin.la" )
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
make: Leaving directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
+ rm /var/tmp/tmp_annobin.so
+ cp clang-plugin/annobin-for-clang.so /var/tmp/tmp_annobin.so
+ make -C clang-plugin all '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   -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld   -fplugin=/var/tmp/tmp_annobin.so'
make: Entering directory '/builddir/build/BUILD/annobin-12.12/clang-plugin'
make: Nothing to be done for 'all'.
make: Leaving directory '/builddir/build/BUILD/annobin-12.12/clang-plugin'
+ cp llvm-plugin/annobin-for-llvm.so /var/tmp/tmp_annobin.so
+ make -C llvm-plugin all '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   -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld   -fplugin=/var/tmp/tmp_annobin.so'
make: Entering directory '/builddir/build/BUILD/annobin-12.12/llvm-plugin'
make: Nothing to be done for 'all'.
make: Leaving directory '/builddir/build/BUILD/annobin-12.12/llvm-plugin'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.moODJx
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386
++ dirname /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386
+ cd annobin-12.12
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386 'INSTALL=/usr/bin/install -p' PLUGIN_INSTALL_DIR=/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386//usr/lib/llvm/plugins
Making install in doc
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/doc'
make[2]: Entering directory '/builddir/build/BUILD/annobin-12.12/doc'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/share/doc/annobin-plugin'
 /usr/bin/install -p -m 644 annotation.proposal.txt '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/share/doc/annobin-plugin'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/share/info'
 /usr/bin/install -p -m 644 ./annobin.info '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/share/info'
 install-info --info-dir='/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/share/info' '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/share/info/annobin.info'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/share/man/man1'
 /usr/bin/install -p -m 644 annobin.1 built-by.1 check-abi.1 hardened.1 run-on-binaries-in.1 annocheck.1 '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/share/man/man1'
make[2]: Leaving directory '/builddir/build/BUILD/annobin-12.12/doc'
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/doc'
Making install in gcc-plugin
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
make[2]: Entering directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/gcc/i686-redhat-linux/11/plugin'
 /bin/sh ../libtool   --mode=install /usr/bin/install -p   annobin.la '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/gcc/i686-redhat-linux/11/plugin'
libtool: install: /usr/bin/install -p .libs/annobin.so.0.0.0 /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/gcc/i686-redhat-linux/11/plugin/annobin.so.0.0.0
libtool: install: (cd /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/gcc/i686-redhat-linux/11/plugin && { ln -s -f annobin.so.0.0.0 annobin.so.0 || { rm -f annobin.so.0 && ln -s annobin.so.0.0.0 annobin.so.0; }; })
libtool: install: (cd /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/gcc/i686-redhat-linux/11/plugin && { ln -s -f annobin.so.0.0.0 annobin.so || { rm -f annobin.so && ln -s annobin.so.0.0.0 annobin.so; }; })
libtool: install: /usr/bin/install -p .libs/annobin.lai /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/gcc/i686-redhat-linux/11/plugin/annobin.la
libtool: warning: remember to run 'libtool --finish /usr/lib/gcc/i686-redhat-linux/11/plugin'
/usr/bin/make  install-data-hook
make[3]: Entering directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
rm -f '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/gcc/i686-redhat-linux/11/plugin/annobin.la'
make[3]: Leaving directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
make[2]: Leaving directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
Making install in clang-plugin
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/clang-plugin'
install -Dpm0755 -t /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386//usr/lib/llvm/plugins annobin-for-clang.so
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/clang-plugin'
Making install in llvm-plugin
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/llvm-plugin'
install -Dpm0755 -t /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386//usr/lib/llvm/plugins annobin-for-llvm.so
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/llvm-plugin'
Making install in annocheck
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/annocheck'
make[2]: Entering directory '/builddir/build/BUILD/annobin-12.12/annocheck'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -p   libannocheck.la '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib'
libtool: install: /usr/bin/install -p .libs/libannocheck.so.0.0.0 /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/libannocheck.so.0.0.0
libtool: install: (cd /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib && { ln -s -f libannocheck.so.0.0.0 libannocheck.so.0 || { rm -f libannocheck.so.0 && ln -s libannocheck.so.0.0.0 libannocheck.so.0; }; })
libtool: install: (cd /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib && { ln -s -f libannocheck.so.0.0.0 libannocheck.so || { rm -f libannocheck.so && ln -s libannocheck.so.0.0.0 libannocheck.so; }; })
libtool: install: /usr/bin/install -p .libs/libannocheck.lai /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/libannocheck.la
libtool: warning: remember to run 'libtool --finish /usr/lib'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -p annocheck '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/bin'
libtool: install: /usr/bin/install -p annocheck /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/bin/annocheck
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/include'
 /usr/bin/install -p -m 644 libannocheck.h '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/include'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/pkgconfig'
 /usr/bin/install -p -m 644 libannocheck.pc '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/pkgconfig'
make[2]: Leaving directory '/builddir/build/BUILD/annobin-12.12/annocheck'
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/annocheck'
Making install in tests
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/tests'
make[2]: Entering directory '/builddir/build/BUILD/annobin-12.12/tests'
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/annobin-12.12/tests'
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/tests'
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12'
make[2]: Entering directory '/builddir/build/BUILD/annobin-12.12'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/share/doc/annobin-plugin'
 /usr/bin/install -p -m 644 LICENSE COPYING3 '/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/share/doc/annobin-plugin'
make[2]: Leaving directory '/builddir/build/BUILD/annobin-12.12'
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12'
+ mkdir -p /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386//usr/lib/clang/plugins
+ mv /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386//usr/lib/llvm/plugins/annobin-for-clang.so /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386//usr/lib/clang/plugins
+ mkdir -p /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386//usr/lib/gcc/i686-redhat-linux/11/plugin
++ gcc --print-file-name=rpmver
+ cat /usr/lib/gcc/i686-redhat-linux/11/rpmver
+ mkdir -p /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/src/annobin
+ cp /builddir/build/SOURCES/annobin-12.12.tar.xz /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/src/annobin/latest-annobin.tar.xz
+ rm -f /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/share/info/dir
+ /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 12.12-1.el9.inferit --unique-debug-suffix -12.12-1.el9.inferit.i386 --unique-debug-src-base annobin-12.12-1.el9.inferit.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/annobin-12.12
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/bin/annocheck
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/clang/plugins/annobin-for-clang.so
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/gcc/i686-redhat-linux/11/plugin/annobin.so.0.0.0
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/libannocheck.so.0.0.0
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/llvm/plugins/annobin-for-llvm.so
extracting debug info from /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/clang/plugins/annobin-for-clang.so
extracting debug info from /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/bin/annocheck
extracting debug info from /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/gcc/i686-redhat-linux/11/plugin/annobin.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/libannocheck.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/lib/llvm/plugins/annobin-for-llvm.so
original debug info size: 2712kB, size after compression: 2552kB
/usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match.
1049 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/libannocheck.la is executable but has no shebang, removing executable bit
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.YBunsK
+ umask 022
+ cd /builddir/build/BUILD
+ cd annobin-12.12
+ make check CLANG_TESTS=check-pre-clang-13
Making check in doc
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/doc'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/doc'
Making check in gcc-plugin
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/gcc-plugin'
Making check in clang-plugin
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/clang-plugin'
clang -fplugin=/builddir/build/BUILD/annobin-12.12/clang-plugin/annobin-for-clang.so -D_FORTIFY_SOURCE=2 -O2 -g -grecord-gcc-switches -fPIE -Wall -fsanitize=safe-stack -fstack-protector-strong -fsanitize=cfi-cast-strict  -c ./hello.c
readelf --wide --notes hello.o > clang-plugin-test.readelf.out
/builddir/build/BUILD/annobin-12.12/clang-plugin/../annocheck/annocheck --skip-all --test-optimization --test-fortify --test-stack-prot  hello.o > clang-plugin-test.annocheck.out
PASS Clang plugin test
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/clang-plugin'
Making check in llvm-plugin
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/llvm-plugin'
make[2]: Entering directory '/builddir/build/BUILD/annobin-12.12/llvm-plugin'
make[3]: Entering directory '/builddir/build/BUILD/annobin-12.12/llvm-plugin'
Compiling with -fpass-plugin=/builddir/build/BUILD/annobin-12.12/llvm-plugin/annobin-for-llvm.so ...
Checking with readelf ...
Checking with annocheck ...
annocheck: Version 12.12.
Hardened: using profile: none.
Hardened: hello.o: PASS.
annocheck: Version 12.12.
Hardened: using profile: none.
Hardened: hello.o: PASS.
PASS LLVM plugin test [-fpass-plugin=/builddir/build/BUILD/annobin-12.12/llvm-plugin/annobin-for-llvm.so]
make[3]: Leaving directory '/builddir/build/BUILD/annobin-12.12/llvm-plugin'
make[2]: Leaving directory '/builddir/build/BUILD/annobin-12.12/llvm-plugin'
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/llvm-plugin'
Making check in annocheck
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/annocheck'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/annocheck'
Making check in tests
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12/tests'
make  check-TESTS
make[2]: Entering directory '/builddir/build/BUILD/annobin-12.12/tests'
make[3]: Entering directory '/builddir/build/BUILD/annobin-12.12/tests'
PASS: abi-test
PASS: active-checks-test
PASS: assembler-gap-test
PASS: atexit-test
PASS: compile-test
PASS: fast-test
PASS: fortify-test
PASS: function-sections-test
PASS: future-test
PASS: gaps-test
PASS: glibc-notes-test
PASS: hardening-fail-test
PASS: hardening-test
PASS: instrumentation-test
PASS: ldconfig-test
PASS: lto-test
PASS: missing-notes-test
PASS: note-format-test
PASS: objcopy-test
PASS: property-note-test
PASS: section-size-test
PASS: stat-test
PASS: unicode-test
PASS: libannocheck-test
============================================================================
Testsuite summary for Binary Annotations 12.0
============================================================================
# TOTAL: 24
# PASS:  24
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[3]: Leaving directory '/builddir/build/BUILD/annobin-12.12/tests'
make[2]: Leaving directory '/builddir/build/BUILD/annobin-12.12/tests'
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12/tests'
make[1]: Entering directory '/builddir/build/BUILD/annobin-12.12'
make[1]: Nothing to be done for 'check-am'.
make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.12'
+ res=0
+ cat tests/abi-test.log tests/active-checks-test.log tests/assembler-gap-test.log tests/atexit-test.log tests/compile-test.log tests/fast-test.log tests/fortify-test.log tests/function-sections-test.log tests/future-test.log tests/gaps-test.log tests/glibc-notes-test.log tests/hardening-fail-test.log tests/hardening-test.log tests/instrumentation-test.log tests/ldconfig-test.log tests/libannocheck-test.log tests/lto-test.log tests/missing-notes-test.log tests/note-format-test.log tests/objcopy-test.log tests/property-note-test.log tests/section-size-test.log tests/stat-test.log tests/test-suite.log tests/unicode-test.log
~/build/BUILD/annobin-12.12/tests/tmp_abi ~/build/BUILD/annobin-12.12/tests
~/build/BUILD/annobin-12.12/tests
PASS abi-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_active-checks ~/build/BUILD/annobin-12.12/tests
active-checks: PASS: found expected warning message about -D_GLIBCXX_ASSERTIONS typo
active-checks: PASS: found expected warning message about -D_FORTIFY_SOURCE typo
active-checks: PASS: found expected warning message about missing -D_FORTIFY_SOURCE
~/build/BUILD/annobin-12.12/tests
PASS active-checks-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_assembler-gap ~/build/BUILD/annobin-12.12/tests
/builddir/build/BUILD/annobin-12.12/tests/tmp_assembler-gap
compilation comnmand: gcc -fplugin=../../gcc-plugin/.libs/annobin.so -fplugin-arg-annobin-no-attach -c -O2 -fPIC
~/build/BUILD/annobin-12.12/tests
PASS assembler-gap-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_atexit ~/build/BUILD/annobin-12.12/tests
 atexit: Running: gcc -fno-lto -O2 -g -Wl,-z,now -pie -fpie -Wa,--generate-missing-build-notes=yes -Wl,-Map,atexit.map .././atexit.c -o atexit.exe
Hardened: atexit.strip: PASS.
~/build/BUILD/annobin-12.12/tests
PASS atexit-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_compile ~/build/BUILD/annobin-12.12/tests
gcc -fplugin=../../gcc-plugin/.libs/annobin.so -fplugin-arg-annobin-no-attach -c -fPIC -Wall -g --save-temps -fverbose-asm -fno-stack-protector -fplugin-arg-annobin-stack-threshold=0x10 .././hello.c
annobin: Annobin GCC Plugin Version 12.12
~/build/BUILD/annobin-12.12/tests
PASS compile-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_fast ~/build/BUILD/annobin-12.12/tests
gcc: warning: hello_hard.o: linker input file unused because linking not done
Hardened: Internal Failure: fast-test.exe: Corrupt annobin note, start address 0x8049130 > end address 0x8049121.
Hardened: fast-test.exe: MAYB: test: fast, reason: some parts of the program were compiled with -Ofast and some were not(function: extern_func2)
Hardened: fast2.exe: PASS: fast test 
~/build/BUILD/annobin-12.12/tests
PASS fast-test (exit status: 0)
START
~/build/BUILD/annobin-12.12/tests/tmp_fortify ~/build/BUILD/annobin-12.12/tests
Hardened: fortify-test.exe: Overall: FAIL.
~/build/BUILD/annobin-12.12/tests
PASS fortify-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_function-sections ~/build/BUILD/annobin-12.12/tests
annocheck: Version 12.12.
Hardened: function-sections-test.exe: info: No matching profile found.
Hardened: function-sections-test.exe: PASS: pie test 
Hardened: function-sections-test.exe: PASS: cf-protection test because correct flags found in .note.gnu.property note 
Hardened: function-sections-test.exe: PASS: writable-got test 
Hardened: function-sections-test.exe: PASS: dynamic-segment test 
Hardened: function-sections-test.exe: PASS: bind-now test 
Hardened: function-sections-test.exe: PASS: stack-realign test 
Hardened: function-sections-test.exe: PASS: stack-prot test because annobin notes show full protection 
Hardened: function-sections-test.exe: PASS: stack-clash test 
Hardened: function-sections-test.exe: PASS: pic test 
Hardened: function-sections-test.exe: PASS: warnings test 
Hardened: function-sections-test.exe: FAIL: lto test because a region of code compiled without LTO was detected (function: linkonce_func_1) 
Hardened: function-sections-test.exe: info: For more information visit: https://sourceware.org/annobin/annobin.html/Test-lto.html
Hardened: function-sections-test.exe: PASS: fortify test because fortify note found 
Hardened: function-sections-test.exe: PASS: glibcxx-assertions test 
Hardened: function-sections-test.exe: PASS: gnu-stack test because stack segment exists with the correct permissions 
Hardened: function-sections-test.exe: PASS: gnu-relro test 
Hardened: function-sections-test.exe: PASS: notes test 
Hardened: function-sections-test.exe: PASS: fast test 
Hardened: function-sections-test.exe: skip: go-revision test because no GO compiled code found 
Hardened: function-sections-test.exe: PASS: instrumentation test 
Hardened: function-sections-test.exe: skip: not-branch-protection test because not an AArch64 binary 
Hardened: function-sections-test.exe: skip: not-dynamic-tags test because AArch64 specific 
Hardened: function-sections-test.exe: PASS: production test 
Hardened: function-sections-test.exe: PASS: property-note test because CET enabled property note found 
Hardened: function-sections-test.exe: PASS: run-path test 
Hardened: function-sections-test.exe: PASS: rwx-seg test 
Hardened: function-sections-test.exe: PASS: short-enums test 
Hardened: function-sections-test.exe: PASS: textrel test 
Hardened: function-sections-test.exe: PASS: threads test 
Hardened: function-sections-test.exe: PASS: unicode test 
Hardened: function-sections-test.exe: Overall: FAIL.
~/build/BUILD/annobin-12.12/tests
PASS function-sections-test (exit status: 0)
START
~/build/BUILD/annobin-12.12/tests/tmp_future__auto_var_init ~/build/BUILD/annobin-12.12/tests
cc1: error: unrecognized command-line option '-ftrivial-auto-var-init=zero'
 future__auto_var_init: SKIP: compiler does not support -ftrivial-auto-var-init
~/build/BUILD/annobin-12.12/tests
PASS future-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_gaps ~/build/BUILD/annobin-12.12/tests
Hardened: main.exe: PASS.
~/build/BUILD/annobin-12.12/tests
PASS gaps-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_glibc-notes ~/build/BUILD/annobin-12.12/tests
Hardened: glibc-notes.exe: PASS.
~/build/BUILD/annobin-12.12/tests
PASS glibc-notes-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_hardening-fail ~/build/BUILD/annobin-12.12/tests
annocheck: Version 12.12.
Hardened: hardening-fail-test.exe: FAIL: bind-now test because not linked with -Wl,-z,now 
Hardened: hardening-fail-test.exe: FAIL: stack-realign test because -mstackrealign not enabled 
Hardened: hardening-fail-test.exe: FAIL: cf-protection test because no protection enabled 
Hardened: hardening-fail-test.exe: FAIL: lto test because a region of code compiled without LTO was detected 
Hardened: hardening-fail-test.exe: FAIL: glibcxx-assertions test because compiled without -D_GLIBCXX_ASSERTIONS 
Hardened: Internal Failure: hardening-fail-test.exe: Corrupt annobin note, start address 0x8049100 > end address 0x80490f1.
Hardened: hardening-fail-test.exe: FAIL: fortify test because fortification level is too low 
Hardened: hardening-fail-test.exe: FAIL: stack-prot test because a region of code compiled without stack protection was detected 
Hardened: hardening-fail-test.exe: FAIL: short-enums test because both short and long enums supported 
Hardened: hardening-fail-test.exe: FAIL: optimization test because level too low 
Hardened: hardening-fail-test.exe: FAIL: gnu-relro test because not linked with -Wl,-z,relro 
Hardened: hardening-fail-test.exe: FAIL: pie test because not built with '-Wl,-pie' 
Hardened: hardening-fail-test.exe: FAIL: property-note test because a property note was found but it shows that cf-protection is not enabled 
Hardened: Rerun annocheck with --verbose to see more information on the tests.
Hardened: hardening-fail-test.exe: Overall: FAIL.
~/build/BUILD/annobin-12.12/tests
PASS hardening-fail-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_hardening ~/build/BUILD/annobin-12.12/tests
gcc: warning: hello_hard.o: linker input file unused because linking not done
annocheck: Version 12.12.
Hardened: hardening-test.exe: info: No matching profile found.
Hardened: hardening-test.exe: PASS: pie test 
Hardened: hardening-test.exe: PASS: optimization test because option found in DW_AT_producer string 
Hardened: hardening-test.exe: PASS: pic test because option found in DW_AT_producer string 
Hardened: hardening-test.exe: PASS: stack-prot test because option found in DW_AT_producer string 
Hardened: hardening-test.exe: PASS: cf-protection test because correct flags found in .note.gnu.property note 
Hardened: hardening-test.exe: PASS: dynamic-segment test 
Hardened: hardening-test.exe: PASS: bind-now test 
Hardened: hardening-test.exe: PASS: stack-realign test 
Hardened: hardening-test.exe: PASS: stack-clash test 
Hardened: hardening-test.exe: FAIL: lto test because a region of code compiled without LTO was detected (function: linkonce_func_1) 
Hardened: hardening-test.exe: info: For more information visit: https://sourceware.org/annobin/annobin.html/Test-lto.html
Hardened: hardening-test.exe: PASS: fortify test because fortify note found 
Hardened: hardening-test.exe: PASS: glibcxx-assertions test 
Hardened: hardening-test.exe: PASS: gnu-stack test because stack segment exists with the correct permissions 
Hardened: hardening-test.exe: PASS: gnu-relro test 
Timing: hardening-test.exe: total time 591 microseconds, section scan: 278 microseconds, segment scan: 15 microseconds 
Hardened: hardening-test.exe: PASS: notes test 
Hardened: hardening-test.exe: PASS: fast test 
Hardened: hardening-test.exe: skip: go-revision test because no GO compiled code found 
Hardened: hardening-test.exe: PASS: instrumentation test 
Hardened: hardening-test.exe: skip: not-branch-protection test because not an AArch64 binary 
Hardened: hardening-test.exe: skip: not-dynamic-tags test because AArch64 specific 
Hardened: hardening-test.exe: PASS: production test 
Hardened: hardening-test.exe: PASS: property-note test because CET enabled property note found 
Hardened: hardening-test.exe: PASS: run-path test 
Hardened: hardening-test.exe: PASS: rwx-seg test 
Hardened: hardening-test.exe: PASS: short-enums test 
Hardened: hardening-test.exe: PASS: textrel test 
Hardened: hardening-test.exe: PASS: threads test 
Hardened: hardening-test.exe: PASS: unicode test 
Hardened: hardening-test.exe: PASS: writable-got test 
Hardened: hardening-test.exe: Overall: FAIL.
Timing: 1 files processed in 591 microseconds.
~/build/BUILD/annobin-12.12/tests
PASS hardening-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_instrumentation ~/build/BUILD/annobin-12.12/tests
annocheck: Version 12.12.
Hardened: instrumentation-test.exe: FAIL: lto test because a region of code compiled without LTO was detected 
Hardened: instrumentation-test.exe: FAIL: cf-protection test because no protection enabled 
Hardened: instrumentation-test.exe: WARN: (component: ordinary_func): Instrumentation enabled - this is probably a mistake for production binaries.
Hardened: instrumentation-test.exe: info: (component: ordinary_func):  Run with -v for more information.
Hardened: instrumentation-test.exe: FAIL: stack-realign test because -mstackrealign not enabled 
Hardened: instrumentation-test.exe: FAIL: property-note test because a property note was found but it shows that cf-protection is not enabled 
Hardened: Rerun annocheck with --verbose to see more information on the tests.
Hardened: instrumentation-test.exe: Overall: FAIL.
~/build/BUILD/annobin-12.12/tests
PASS instrumentation-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_ldconfig ~/build/BUILD/annobin-12.12/tests
 ldconfig: SKIP: ldconfig.debug file not found
~/build/BUILD/annobin-12.12/tests
PASS ldconfig-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_libannocheck ~/build/BUILD/annobin-12.12/tests
 libannocheck: Running first test - expecting EXIT_SUCCESS
libannocheck: Internal Failure: use-libannocheck: Corrupt annobin note, start address 0x80496b0 > end address 0x80496a1.
 libannocheck: Running second test - expecting EXIT_FAILURE
libannocheck: Internal Failure: use-libannocheck: Corrupt annobin note, start address 0x80496b0 > end address 0x80496a1.
~/build/BUILD/annobin-12.12/tests
PASS libannocheck-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_lto ~/build/BUILD/annobin-12.12/tests
Hardened: PASS: test: lto file: lto-test.exe.
~/build/BUILD/annobin-12.12/tests
PASS lto-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_missing-notes ~/build/BUILD/annobin-12.12/tests
annocheck: Version 12.12.
Hardened: missing-notes-test.exe: info: No matching profile found.
Hardened: missing-notes-test.exe: PASS: pie test 
Hardened: missing-notes-test.exe: PASS: cf-protection test because correct flags found in .note.gnu.property note 
Hardened: missing-notes-test.exe: PASS: writable-got test 
Hardened: missing-notes-test.exe: PASS: dynamic-segment test 
Hardened: missing-notes-test.exe: PASS: bind-now test 
Hardened: missing-notes-test.exe: PASS: optimization test 
Hardened: missing-notes-test.exe: FAIL: lto test because a region of code compiled without LTO was detected (function: ordinary_func) 
Hardened: missing-notes-test.exe: info: For more information visit: https://sourceware.org/annobin/annobin.html/Test-lto.html
Hardened: missing-notes-test.exe: PASS: stack-prot test because annobin notes show full protection 
Hardened: missing-notes-test.exe: PASS: stack-clash test 
Hardened: missing-notes-test.exe: PASS: fortify test because fortify note found 
Hardened: missing-notes-test.exe: PASS: glibcxx-assertions test 
Hardened: missing-notes-test.exe: PASS: pic test 
Hardened: missing-notes-test.exe: FAIL: stack-realign test because -mstackrealign not enabled (function: ordinary_func) 
Hardened: missing-notes-test.exe: info: For more information visit: https://sourceware.org/annobin/annobin.html/Test-stack-realign.html
Hardened: missing-notes-test.exe: PASS: entry test 
Hardened: missing-notes-test.exe: PASS: gnu-stack test because stack segment exists with the correct permissions 
Hardened: missing-notes-test.exe: PASS: gnu-relro test 
Hardened: missing-notes-test.exe: gap:  (0x1280..0x1340 probable component: foo) in annobin notes.
Hardened: missing-notes-test.exe: FAIL: gaps test because gaps were detected in the annobin coverage 
Hardened: missing-notes-test.exe: info: For more information visit: https://sourceware.org/annobin/annobin.html/Test-gaps.html
Hardened: missing-notes-test.exe: PASS: notes test 
Hardened: missing-notes-test.exe: PASS: fast test 
Hardened: missing-notes-test.exe: skip: go-revision test because no GO compiled code found 
Hardened: missing-notes-test.exe: PASS: instrumentation test 
Hardened: missing-notes-test.exe: skip: not-branch-protection test because not an AArch64 binary 
Hardened: missing-notes-test.exe: skip: not-dynamic-tags test because AArch64 specific 
Hardened: missing-notes-test.exe: PASS: production test 
Hardened: missing-notes-test.exe: PASS: property-note test because CET enabled property note found 
Hardened: missing-notes-test.exe: PASS: run-path test 
Hardened: missing-notes-test.exe: PASS: rwx-seg test 
Hardened: missing-notes-test.exe: PASS: short-enums test 
Hardened: missing-notes-test.exe: PASS: textrel test 
Hardened: missing-notes-test.exe: PASS: threads test 
Hardened: missing-notes-test.exe: PASS: unicode test 
Hardened: missing-notes-test.exe: Overall: FAIL.
~/build/BUILD/annobin-12.12/tests
PASS missing-notes-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_note-format ~/build/BUILD/annobin-12.12/tests
 note-format: PASS: ELF note format test
 note-format: PASS: string note format test
Hardened: unused_code.o: FAIL: optimization test because level too low (.././unused_code.c) 
Hardened: unused_code.o: FAIL: optimization test because level too low (.././unused_code.c) 
~/build/BUILD/annobin-12.12/tests
 note-format: PASS: string note filename test
PASS note-format-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_objcopy ~/build/BUILD/annobin-12.12/tests
Hardened: objcopy-merged.exe: PASS: optimization test because option found in DW_AT_producer string 
~/build/BUILD/annobin-12.12/tests
PASS objcopy-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_property-note ~/build/BUILD/annobin-12.12/tests
/usr/bin/ld: warning: property-note.o: corrupt GNU_PROPERTY_TYPE (5) size: 0x10
annocheck: Version 12.12.
Hardened: property-note-test.exe: FAIL: property-note test because the SHSTK property is not enabled 
Hardened: property-note-test.exe: FAIL: lto test because a region of code compiled without LTO was detected 
Hardened: property-note-test.exe: FAIL: gnu-stack test because the GNU stack segment has execute permission 
Hardened: property-note-test.exe: FAIL: cf-protection test because .note.gnu.property section did not contain the necessary flags 
Hardened: Rerun annocheck with --verbose to see more information on the tests.
Hardened: property-note-test.exe: Overall: FAIL.
~/build/BUILD/annobin-12.12/tests
PASS property-note-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_section-size ~/build/BUILD/annobin-12.12/tests
annocheck: Version 12.12.
Size: hello.o: .gnu.build.attributes: 2Kb
Size: hello2.o: .gnu.build.attributes: 2Kb
Size: hello3.o: .gnu.build.attributes: 1Kb
Size: hello_lib.o: .gnu.build.attributes: 1Kb
Size: section-size.exe: .gnu.build.attributes: 15Kb
Size: Section '.gnu.build.attributes' found in 5 files, total size: 23Kb
~/build/BUILD/annobin-12.12/tests
PASS section-size-test (exit status: 0)
~/build/BUILD/annobin-12.12/tests/tmp_stat ~/build/BUILD/annobin-12.12/tests
Hardened: stat.exe: PASS.
~/build/BUILD/annobin-12.12/tests
PASS stat-test (exit status: 0)
===================================================
   Binary Annotations 12.0: tests/test-suite.log
===================================================
# TOTAL: 24
# PASS:  24
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
~/build/BUILD/annobin-12.12/tests/tmp_unicode ~/build/BUILD/annobin-12.12/tests
Hardened: Internal Failure: trick-hello.exe: Corrupt annobin note, start address 0x8049090 > end address 0x8049081.
Hardened: trick-hello.exe: FAIL: unicode test because suspicious characters were found in a symbol name 
~/build/BUILD/annobin-12.12/tests
PASS unicode-test (exit status: 0)
Processing files: annobin-12.12-1.el9.inferit.i686
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.sfLWTt
+ exit 0
+ umask 022
+ cd /builddir/build/BUILD
+ cd annobin-12.12
+ LICENSEDIR=/builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/share/licenses/annobin
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/share/licenses/annobin
+ cp -pr COPYING3 /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/share/licenses/annobin
+ cp -pr LICENSE /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386/usr/share/licenses/annobin
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: annobin = 12.12-1.el9.inferit annobin(x86-32) = 12.12-1.el9.inferit
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libLLVM-16.so libLLVM-16.so(LLVM_16) libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libm.so.6 libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.21) libstdc++.so.6(GLIBCXX_3.4.26) libstdc++.so.6(GLIBCXX_3.4.9) rtld(GNU_HASH)
Processing files: annobin-annocheck-12.12-1.el9.inferit.i686
Provides: annobin-annocheck = 12.12-1.el9.inferit annobin-annocheck(x86-32) = 12.12-1.el9.inferit libannocheck.so.0 libtool(/usr/lib/libannocheck.la) pkgconfig(libannocheck) = 12.12
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/pkg-config libannocheck.so.0 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.17) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libc.so.6(GLIBC_2.8) libdw.so.1 libdw.so.1(ELFUTILS_0.122) libdw.so.1(ELFUTILS_0.126) libdw.so.1(ELFUTILS_0.159) libelf.so.1 libelf.so.1(ELFUTILS_1.0) libelf.so.1(ELFUTILS_1.3) libelf.so.1(ELFUTILS_1.5) libelf.so.1(ELFUTILS_1.6) librpm.so.9 rtld(GNU_HASH)
Processing files: annobin-debugsource-12.12-1.el9.inferit.i686
Provides: annobin-debugsource = 12.12-1.el9.inferit annobin-debugsource(x86-32) = 12.12-1.el9.inferit
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: annobin-debuginfo-12.12-1.el9.inferit.i686
Provides: annobin-debuginfo = 12.12-1.el9.inferit annobin-debuginfo(x86-32) = 12.12-1.el9.inferit debuginfo(build-id) = 9c53132854b21eb0af1117f973aaa2e1f5265236 debuginfo(build-id) = 9c8a3e58d7ce5d0020781c525c4be1a7 debuginfo(build-id) = cfc7fdfa9746ccff8ab7e410b2125375
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: annobin-debugsource(x86-32) = 12.12-1.el9.inferit
Processing files: annobin-annocheck-debuginfo-12.12-1.el9.inferit.i686
Provides: annobin-annocheck-debuginfo = 12.12-1.el9.inferit annobin-annocheck-debuginfo(x86-32) = 12.12-1.el9.inferit debuginfo(build-id) = 87efc35b407b900af1ac92620d66b250530b1210 debuginfo(build-id) = 9e54d912618548c0cc4934360645001f075747d5
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: annobin-debugsource(x86-32) = 12.12-1.el9.inferit
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/annobin-12.12-1.el9.inferit.i386
Wrote: /builddir/build/RPMS/annobin-debugsource-12.12-1.el9.inferit.i686.rpm
Wrote: /builddir/build/RPMS/annobin-annocheck-debuginfo-12.12-1.el9.inferit.i686.rpm
Wrote: /builddir/build/RPMS/annobin-12.12-1.el9.inferit.i686.rpm
Wrote: /builddir/build/RPMS/annobin-annocheck-12.12-1.el9.inferit.i686.rpm
Wrote: /builddir/build/RPMS/annobin-debuginfo-12.12-1.el9.inferit.i686.rpm
Child return code was: 0