Mock Version: 2.16 Mock Version: 2.16 Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/dist-oc8-gcc-toolset-10-build-6388-909/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False sh: /opt/rh/gcc-toolset-10/root/usr/bin/gcc: No such file or directory sh: /opt/rh/gcc-toolset-10/root/usr/bin/gcc: No such file or directory Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/gcc-toolset-10-annobin-9.29-1.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/dist-oc8-gcc-toolset-10-build-6388-909/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gglnWs + umask 022 + cd /builddir/build/BUILD Requires: (gcc-toolset-10-gcc >= 10 and gcc-toolset-10-gcc < 11) + '[' -z 10.3.1-1 ']' + echo 'Requires: (gcc-toolset-10-gcc >= 10 and gcc-toolset-10-gcc < 11)' + cd /builddir/build/BUILD + rm -rf annobin-9.29 + /usr/bin/xz -dc /builddir/build/SOURCES/annobin-9.29.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd annobin-9.29 + /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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UNz0zt + umask 022 + cd /builddir/build/BUILD + cd annobin-9.29 + CONFIG_ARGS= + CONFIG_ARGS=' --without-debuginfod' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/opt/rh/gcc-toolset-10/root/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/opt/rh/gcc-toolset-10/root/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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 ./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' + 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' + '[' 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"~' ./gcc-plugin/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 + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/rh/gcc-toolset-10/root/usr --exec-prefix=/opt/rh/gcc-toolset-10/root/usr --bindir=/opt/rh/gcc-toolset-10/root/usr/bin --sbindir=/opt/rh/gcc-toolset-10/root/usr/sbin --sysconfdir=/opt/rh/gcc-toolset-10/root/etc --datadir=/opt/rh/gcc-toolset-10/root/usr/share --includedir=/opt/rh/gcc-toolset-10/root/usr/include --libdir=/opt/rh/gcc-toolset-10/root/usr/lib64 --libexecdir=/opt/rh/gcc-toolset-10/root/usr/libexec --localstatedir=/opt/rh/gcc-toolset-10/root/var --sharedstatedir=/opt/rh/gcc-toolset-10/root/var/lib --mandir=/opt/rh/gcc-toolset-10/root/usr/share/man --infodir=/opt/rh/gcc-toolset-10/root/usr/share/info --quiet --with-gcc-plugin-dir=/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin CC=/opt/rh/gcc-toolset-10/root/usr/bin/gcc CXX=/opt/rh/gcc-toolset-10/root/usr/bin/g++ --without-debuginfod + /usr/bin/make -O -j32 Making all in gcc-plugin /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' /bin/sh ../libtool --tag=CXX --mode=compile /opt/rh/gcc-toolset-10/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o aarch64.annobin.lo aarch64.annobin.cc libtool: compile: /opt/rh/gcc-toolset-10/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c aarch64.annobin.cc -fPIC -DPIC -o .libs/aarch64.annobin.o make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' make[2]: Entering directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' /bin/sh ../libtool --tag=CXX --mode=compile /opt/rh/gcc-toolset-10/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o annobin.lo annobin.cc libtool: compile: /opt/rh/gcc-toolset-10/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c annobin.cc -fPIC -DPIC -o .libs/annobin.o make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' annobin.cc: In function 'int annobin_get_gcc_int_option(int)': annobin.cc:768:23: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 768 | if (cl_option_index >= cl_options_count) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ annobin.cc: In function 'const char* annobin_get_gcc_str_option(int)': annobin.cc:818:23: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 818 | if (cl_option_index >= cl_options_count) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' /bin/sh ../libtool --tag=CXX --mode=link /opt/rh/gcc-toolset-10/root/usr/bin/g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -module -o annobin.la -rpath /opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin annobin.lo aarch64.annobin.lo libtool: link: /opt/rh/gcc-toolset-10/root/usr/bin/g++ -fPIC -DPIC -shared -nostdlib /lib/../lib64/crti.o /opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/crtbeginS.o .libs/annobin.o .libs/aarch64.annobin.o -L/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10 -L/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/../../.. -lstdc++ -lm -lc -lgcc_s /opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/crtendS.o /lib/../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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-9.29/gcc-plugin' Making all in doc make[1]: Nothing to be done for 'all'. Making all in tests make[1]: Nothing to be done for 'all'. Making all in annocheck make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/annocheck' /opt/rh/gcc-toolset-10/root/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o annocheck-timing.o `test -f 'timing.c' || echo './'`timing.c make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/annocheck' /opt/rh/gcc-toolset-10/root/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o annocheck-size.o `test -f 'size.c' || echo './'`size.c make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/annocheck' /opt/rh/gcc-toolset-10/root/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o annocheck-built-by.o `test -f 'built-by.c' || echo './'`built-by.c make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/annocheck' /opt/rh/gcc-toolset-10/root/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o annocheck-notes.o `test -f 'notes.c' || echo './'`notes.c make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/annocheck' /opt/rh/gcc-toolset-10/root/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o annocheck-annocheck.o `test -f 'annocheck.c' || echo './'`annocheck.c make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/annocheck' /opt/rh/gcc-toolset-10/root/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o annocheck-hardened.o `test -f 'hardened.c' || echo './'`hardened.c make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/annocheck' /bin/sh ../libtool --tag=CC --mode=link /opt/rh/gcc-toolset-10/root/usr/bin/gcc -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o annocheck annocheck-annocheck.o annocheck-timing.o annocheck-size.o annocheck-notes.o annocheck-hardened.o annocheck-built-by.o -lelf -ldw -lrpm -lrpmio -liberty libtool: link: /opt/rh/gcc-toolset-10/root/usr/bin/gcc -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o annocheck annocheck-annocheck.o annocheck-timing.o annocheck-size.o annocheck-notes.o annocheck-hardened.o annocheck-built-by.o -lelf -ldw -lrpm -lrpmio -liberty make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29/annocheck' 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-9.29/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-9.29/gcc-plugin' + BUILD_FLAGS='-fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename' + make -C gcc-plugin 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename' make: Entering directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' make all-am make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' /bin/sh ../libtool --tag=CXX --mode=compile /opt/rh/gcc-toolset-10/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -c -o annobin.lo annobin.cc libtool: compile: /opt/rh/gcc-toolset-10/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -c annobin.cc -fPIC -DPIC -o .libs/annobin.o annobin.cc: In function 'int annobin_get_gcc_int_option(int)': annobin.cc:768:23: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 768 | if (cl_option_index >= cl_options_count) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ annobin.cc: In function 'const char* annobin_get_gcc_str_option(int)': annobin.cc:818:23: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 818 | if (cl_option_index >= cl_options_count) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile /opt/rh/gcc-toolset-10/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -c -o aarch64.annobin.lo aarch64.annobin.cc libtool: compile: /opt/rh/gcc-toolset-10/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -I/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -c aarch64.annobin.cc -fPIC -DPIC -o .libs/aarch64.annobin.o /bin/sh ../libtool --tag=CXX --mode=link /opt/rh/gcc-toolset-10/root/usr/bin/g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -module -o annobin.la -rpath /opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin annobin.lo aarch64.annobin.lo libtool: link: /opt/rh/gcc-toolset-10/root/usr/bin/g++ -fPIC -DPIC -shared -nostdlib /lib/../lib64/crti.o /opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/crtbeginS.o .libs/annobin.o .libs/aarch64.annobin.o -L/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10 -L/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/../../.. -lstdc++ -lm -lc -lgcc_s /opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/crtendS.o /lib/../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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-9.29/gcc-plugin' make: Leaving directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' + rm /var/tmp/tmp_annobin.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uufQTu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64 ++ dirname /builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64 + cd annobin-9.29 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64 'INSTALL=/usr/bin/install -p' Making install in gcc-plugin make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' make[2]: Entering directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin' /bin/sh ../libtool --mode=install /usr/bin/install -p annobin.la '/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin' libtool: install: /usr/bin/install -p .libs/annobin.so.0.0.0 /builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/annobin.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/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/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/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/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/annobin.la libtool: warning: remember to run 'libtool --finish /opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' rm -f '/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/annobin.la' make[3]: Leaving directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/doc' make[2]: Entering directory '/builddir/build/BUILD/annobin-9.29/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/share/doc/annobin-plugin' /usr/bin/install -p -m 644 annotation.proposal.txt '/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/share/doc/annobin-plugin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/share/info' /usr/bin/install -p -m 644 ./annobin.info '/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/share/info' '/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/share/info/annobin.info' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/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/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.29/doc' make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29/doc' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/tests' make[2]: Entering directory '/builddir/build/BUILD/annobin-9.29/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-9.29/tests' make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29/tests' Making install in annocheck make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/annocheck' make[2]: Entering directory '/builddir/build/BUILD/annobin-9.29/annocheck' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p annocheck '/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/bin' libtool: install: /usr/bin/install -p annocheck /builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/bin/annocheck make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.29/annocheck' make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29' make[2]: Entering directory '/builddir/build/BUILD/annobin-9.29' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/share/doc/annobin-plugin' /usr/bin/install -p -m 644 LICENSE COPYING3 '/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/share/doc/annobin-plugin' make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.29' make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29' + rm -f /builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/share/info/dir + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 9.29-1.oc8 --unique-debug-suffix -9.29-1.oc8.aarch64 --unique-debug-src-base gcc-toolset-10-annobin-9.29-1.oc8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/annobin-9.29 extracting debug info from /builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/lib/gcc/aarch64-redhat-linux/10/plugin/annobin.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/bin/annocheck /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 596 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/gcc-toolset-10/root + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/libexec/platform-python 1 /opt/rh/gcc-toolset-10/root + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.lce8Gs + umask 022 + cd /builddir/build/BUILD + cd annobin-9.29 + make check GCC=/opt/rh/gcc-toolset-10/root/usr/bin/gcc Making check in gcc-plugin make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29/gcc-plugin' Making check in doc make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29/doc' Making check in tests make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/tests' make check-TESTS make[2]: Entering directory '/builddir/build/BUILD/annobin-9.29/tests' make[3]: Entering directory '/builddir/build/BUILD/annobin-9.29/tests' PASS: compile-test PASS: hardening-test XFAIL: hardening-fail-test XFAIL: missing-notes-test XFAIL: active-checks-test PASS: abi-test PASS: function-sections-test PASS: assembler-gap-test PASS: dynamic-notes-test PASS: instrumentation-test PASS: section-size-test ============================================================================ Testsuite summary for Binary Annotations 9.0 ============================================================================ # TOTAL: 11 # PASS: 8 # SKIP: 0 # XFAIL: 3 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory '/builddir/build/BUILD/annobin-9.29/tests' make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.29/tests' make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29/tests' Making check in annocheck make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29/annocheck' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.29' make[1]: Nothing to be done for 'check-am'. make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.29' + '[' -f tests/test-suite.log ']' + cat tests/test-suite.log ================================================== Binary Annotations 9.0: tests/test-suite.log ================================================== # TOTAL: 11 # PASS: 8 # SKIP: 0 # XFAIL: 3 # FAIL: 0 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 XFAIL: hardening-fail-test ========================== annocheck: Version 9.29. Hardened: hardening-fail-test.exe: WARN: this file was built by more than one version of gcc (10 and 8). Hardened: hardening-fail-test.exe: WARN: notes produced by annobins compiled for more than one version of gcc (10 vs 8). Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without -D_FORTIFY_SOURCE=2. Run with -v to see where. Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without -D_GLIBCXX_ASSRTIONS. Run with -v to see where. Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without sufficient optimization. Run with -v to see where. Hardened: hardening-fail-test.exe: FAIL: Not linked as a position independent executable (ie need to add '-pie' to link command line). Hardened: hardening-fail-test.exe: FAIL: Linked with different -fshort-enum settings. Run with -v to see where. Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without a suffcient -fstack-protector setting. Run with -v to see where. XFAIL hardening-fail-test (exit status: 1) XFAIL: missing-notes-test ========================= cc1: error: '-fcf-protection=full' is not supported for this target Compiler might not support -fcf-protection, retrying without it gcc: error: unrecognized command-line option '-mstackrealign' Compiler might not support -mstackrealign, retrying without it cc1: error: '-fcf-protection=full' is not supported for this target Compiler might not support either -fcf-protection or -mstackrealign, retrying without both annocheck: Version 9.29. Hardened: missing-notes-test.exe: info: Set binary producer to gcc version 8. Hardened: missing-notes-test.exe: warn: Multiple versions of a tool were used to build this file (10 8) - using highest version. Hardened: missing-notes-test.exe: FAIL: (component: ordinary_func): Compiled without either -Wall or -Wformat-security. Hardened: missing-notes-test.exe: info: (component: ordinary_func): Compiled without -mbranch-protection. Hardened: missing-notes-test.exe: FAIL: (component: ordinary_func): Compiled without either -Wall or -Wformat-security. Hardened: missing-notes-test.exe: FAIL: (component: baz.start): Compiled without either -Wall or -Wformat-security. Hardened: missing-notes-test.exe: info: (component: main): Compiled without -mbranch-protection. Hardened: missing-notes-test.exe: FAIL: (component: main): Compiled without either -Wall or -Wformat-security. Hardened: missing-notes-test.exe: FAIL: (component: extern_func2): Compiled without either -Wall or -Wformat-security. Hardened: missing-notes-test.exe: info: (component: extern_func2): Compiled without -mbranch-protection. Hardened: missing-notes-test.exe: FAIL: (component: extern_func3): Compiled without either -Wall or -Wformat-security. Hardened: missing-notes-test.exe: info: (component: extern_func3): Compiled without -mbranch-protection. Hardened: missing-notes-test.exe: WARN: this file was built by more than one version of gcc (10 and 8). Hardened: missing-notes-test.exe: warn: Annobin plugin was built by gcc 10.3.1 but run on gcc version 10.5.0. Hardened: missing-notes-test.exe: warn: If there are FAIL results that appear to be incorrect, it could be due to this discrepancy. Hardened: missing-notes-test.exe: WARN: notes produced by annobins compiled for more than one version of gcc (10 vs 8). Hardened: missing-notes-test.exe: warn: Annobin plugin was built by gcc 10.4.1 but run on gcc version 10.5.0. Hardened: missing-notes-test.exe: warn: If there are FAIL results that appear to be incorrect, it could be due to this discrepancy. Hardened: missing-notes-test.exe: gap: (8d0..980 probable component: foo) in annobin notes. Hardened: missing-notes-test.exe: FAIL: Gaps were detected in the annobin coverage. Hardened: missing-notes-test.exe: skip: Test for -Wl,-z-now. (Dynamic segment present, but no dynamic relocations found). Hardened: missing-notes-test.exe: info: The -mbranch-protection setting was not recorded. Hardened: missing-notes-test.exe: skip: Test for control flow protection. (Only supported on x86 binaries). Hardened: missing-notes-test.exe: PASS: One dynamic section/segment found. Hardened: missing-notes-test.exe: skip: Entry point instruction is ENDBR. (Not an x86 binary). Hardened: missing-notes-test.exe: PASS: Compiled with -D_FORTIFY_SOURCE=2. Hardened: missing-notes-test.exe: PASS: Compiled with -D_GLIBCXX_ASSERTIONS. Hardened: missing-notes-test.exe: skip: Test for -Wl,-z,relro. (No dynamic relocations). Hardened: missing-notes-test.exe: PASS: Stack not executable. Hardened: missing-notes-test.exe: PASS: Compiled with sufficient optimization. Hardened: missing-notes-test.exe: PASS: Compiled with PIC/PIE. Hardened: missing-notes-test.exe: PASS: Compiled as a position independent binary. Hardened: missing-notes-test.exe: skip: GNU Property note check. (Only useful on x86_64 binaries). Hardened: missing-notes-test.exe: PASS: DT_RPATH/DT_RUNPATH absent or rooted at /usr. Hardened: missing-notes-test.exe: PASS: No RWX segments found. Hardened: missing-notes-test.exe: PASS: Consistent use of the -fshort-enum option. Hardened: missing-notes-test.exe: PASS: Compiled with -fstack-clash-protection. Hardened: missing-notes-test.exe: PASS: Compiled with sufficient stack protection. Hardened: missing-notes-test.exe: skip: Test for stack realignment support. (Only needed on i686 binaries). Hardened: missing-notes-test.exe: PASS: No text relocations found. Hardened: missing-notes-test.exe: PASS: No thread cancellation problems. Hardened: missing-notes-test.exe: FAIL: Compiled without using either the -Wall or -Wformat-security options. Hardened: missing-notes-test.exe: PASS: GOT/PLT relocations are read only. XFAIL missing-notes-test (exit status: 1) XFAIL: active-checks-test ========================= ./hello.c:1: error: -fcf-protection=full needed 1 | #include | ./hello.c:1: error: optimization level is too low! XFAIL active-checks-test (exit status: 1) + exit 0 Processing files: gcc-toolset-10-annobin-9.29-1.oc8.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.O8vhAu + umask 022 + cd /builddir/build/BUILD + cd annobin-9.29 + LICENSEDIR=/builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-annobin + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-annobin + cp -pr COPYING3 /builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-annobin + cp -pr LICENSE /builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-annobin + exit 0 Provides: gcc-toolset-10-annobin = 9.29-1.oc8 gcc-toolset-10-annobin(aarch-64) = 9.29-1.oc8 scl-package(gcc-toolset-10) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: gcc-toolset-10-runtime ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) rtld(GNU_HASH) Processing files: gcc-toolset-10-annobin-annocheck-9.29-1.oc8.aarch64 Provides: gcc-toolset-10-annobin-annocheck = 9.29-1.oc8 gcc-toolset-10-annobin-annocheck(aarch-64) = 9.29-1.oc8 scl-package(gcc-toolset-10) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: gcc-toolset-10-runtime ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libdw.so.1()(64bit) libdw.so.1(ELFUTILS_0.122)(64bit) libdw.so.1(ELFUTILS_0.126)(64bit) libdw.so.1(ELFUTILS_0.159)(64bit) libelf.so.1()(64bit) libelf.so.1(ELFUTILS_1.0)(64bit) libelf.so.1(ELFUTILS_1.3)(64bit) libelf.so.1(ELFUTILS_1.5)(64bit) libelf.so.1(ELFUTILS_1.6)(64bit) librpm.so.8()(64bit) librpmio.so.8()(64bit) rtld(GNU_HASH) Processing files: gcc-toolset-10-annobin-debuginfo-9.29-1.oc8.aarch64 Provides: gcc-toolset-10-annobin-debuginfo = 9.29-1.oc8 gcc-toolset-10-annobin-debuginfo(aarch-64) = 9.29-1.oc8 scl-package(gcc-toolset-10) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: gcc-toolset-10-annobin-annocheck-debuginfo-9.29-1.oc8.aarch64 Provides: gcc-toolset-10-annobin-annocheck-debuginfo = 9.29-1.oc8 gcc-toolset-10-annobin-annocheck-debuginfo(aarch-64) = 9.29-1.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gcc-toolset-10-annobin-debuginfo(aarch-64) = 9.29-1.oc8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64 Wrote: /builddir/build/RPMS/gcc-toolset-10-annobin-9.29-1.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/gcc-toolset-10-annobin-annocheck-9.29-1.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/gcc-toolset-10-annobin-debuginfo-9.29-1.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/gcc-toolset-10-annobin-annocheck-debuginfo-9.29-1.oc8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZbLLNu + umask 022 + cd /builddir/build/BUILD + cd annobin-9.29 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gcc-toolset-10-annobin-9.29-1.oc8.aarch64 + exit 0 Child return code was: 0