Mock Version: 2.4 Mock Version: 2.4 Mock Version: 2.4 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/f33-build-602745-67220/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=604800uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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: gcc: command not found sh: gcc: command not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1619827200 Wrote: /builddir/build/SRPMS/annobin-9.68-2.0.riscv64.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/f33-build-602745-67220/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=604800uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1619827200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.20tPH6 + umask 022 + cd /builddir/build/BUILD + '[' -z 10.3.1-1 ']' + echo 'Requires: (gcc >= 10 and gcc < 11)' Requires: (gcc >= 10 and gcc < 11) + cd /builddir/build/BUILD + rm -rf annobin-9.68 + /usr/bin/xz -dc /builddir/build/SOURCES/annobin-9.68.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd annobin-9.68 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/annobin-add-riscv-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + 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.Xx8IT4 + umask 022 + cd /builddir/build/BUILD + cd annobin-9.68 + CONFIG_ARGS= + CONFIG_ARGS=' --without-debuginfod' + 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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + 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 2021-05-01 03:18:56.550000000 +0000 +++ ./configure 2021-05-01 03:18:56.790000000 +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 2021-05-01 03:18:56.790000000 +0000 +++ ./configure 2021-05-01 03:18:56.990000000 +0000 @@ -7205,7 +7205,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'" @@ -16740,7 +16740,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"`' @@ -19433,7 +19433,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"`' + 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 + '[' 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.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 ./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 ./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 ./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' + '[' 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=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --quiet --with-gcc-plugin-dir=/usr/lib/gcc/riscv64-redhat-linux/10/plugin --without-debuginfod ./configure: line 7159: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory + /usr/bin/make -O -j4 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-9.68/gcc-plugin' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o riscv.annobin.lo riscv.annobin.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c riscv.annobin.cc -fPIC -DPIC -o .libs/riscv.annobin.o make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.68/gcc-plugin' make[2]: Entering directory '/builddir/build/BUILD/annobin-9.68/gcc-plugin' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o annobin.lo annobin.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c annobin.cc -fPIC -DPIC -o .libs/annobin.o make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.68/gcc-plugin' make[2]: Entering directory '/builddir/build/BUILD/annobin-9.68/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 -fasynchronous-unwind-tables -fstack-clash-protection -module -o annobin.la -rpath /usr/lib/gcc/riscv64-redhat-linux/10/plugin annobin.lo riscv.annobin.lo libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/10/crti.o /usr/lib/gcc/riscv64-redhat-linux/10/crtbeginS.o .libs/annobin.o .libs/riscv.annobin.o -L/usr/lib/gcc/riscv64-redhat-linux/10 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/10/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/10/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 -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.68/gcc-plugin' Making all in annocheck make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/annocheck' gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -O2 -ansi -g -Wall -Werror -O2 -flto=auto -ffat-lto-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 -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.68/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/annocheck' gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -O2 -ansi -g -Wall -Werror -O2 -flto=auto -ffat-lto-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 -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.68/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/annocheck' gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -O2 -ansi -g -Wall -Werror -O2 -flto=auto -ffat-lto-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 -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.68/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/annocheck' gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -O2 -ansi -g -Wall -Werror -O2 -flto=auto -ffat-lto-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 -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.68/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/annocheck' gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -O2 -ansi -g -Wall -Werror -O2 -flto=auto -ffat-lto-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 -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.68/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/annocheck' gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -O2 -ansi -g -Wall -Werror -O2 -flto=auto -ffat-lto-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 -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.68/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/annocheck' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -ansi -g -Wall -Werror -O2 -flto=auto -ffat-lto-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -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: gcc -O2 -ansi -g -Wall -Werror -O2 -flto=auto -ffat-lto-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -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.68/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-9.68/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.68/gcc-plugin' + BUILD_FLAGS='-fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename' + 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 -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.68/gcc-plugin' make all-am make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/gcc-plugin' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -c -o riscv.annobin.lo riscv.annobin.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/10/plugin/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -c riscv.annobin.cc -fPIC -DPIC -o .libs/riscv.annobin.o /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 -fasynchronous-unwind-tables -fstack-clash-protection -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -module -o annobin.la -rpath /usr/lib/gcc/riscv64-redhat-linux/10/plugin annobin.lo riscv.annobin.lo libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/10/crti.o /usr/lib/gcc/riscv64-redhat-linux/10/crtbeginS.o .libs/annobin.o .libs/riscv.annobin.o -L/usr/lib/gcc/riscv64-redhat-linux/10 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/10/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/10/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 -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.68/gcc-plugin' make: Leaving directory '/builddir/build/BUILD/annobin-9.68/gcc-plugin' + rm /var/tmp/tmp_annobin.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.I1lbK8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64 + cd annobin-9.68 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64 'INSTALL=/usr/bin/install -p' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/doc' make[2]: Entering directory '/builddir/build/BUILD/annobin-9.68/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/share/doc/annobin-plugin' /usr/bin/install -p -m 644 annotation.proposal.txt '/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/share/doc/annobin-plugin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/share/info' /usr/bin/install -p -m 644 ./annobin.info '/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/share/info' '/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/share/info/annobin.info' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/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-9.68-2.0.riscv64.fc33.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.68/doc' make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.68/doc' Making install in gcc-plugin make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/gcc-plugin' make[2]: Entering directory '/builddir/build/BUILD/annobin-9.68/gcc-plugin' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/lib/gcc/riscv64-redhat-linux/10/plugin' /bin/sh ../libtool --mode=install /usr/bin/install -p annobin.la '/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/lib/gcc/riscv64-redhat-linux/10/plugin' libtool: install: /usr/bin/install -p .libs/annobin.so.0.0.0 /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/lib/gcc/riscv64-redhat-linux/10/plugin/annobin.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/lib/gcc/riscv64-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/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/lib/gcc/riscv64-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/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/lib/gcc/riscv64-redhat-linux/10/plugin/annobin.la libtool: warning: remember to run 'libtool --finish /usr/lib/gcc/riscv64-redhat-linux/10/plugin' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/annobin-9.68/gcc-plugin' rm -f '/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/lib/gcc/riscv64-redhat-linux/10/plugin/annobin.la' make[3]: Leaving directory '/builddir/build/BUILD/annobin-9.68/gcc-plugin' make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.68/gcc-plugin' make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.68/gcc-plugin' Making install in annocheck make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/annocheck' make[2]: Entering directory '/builddir/build/BUILD/annobin-9.68/annocheck' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p annocheck '/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/bin' libtool: install: /usr/bin/install -p annocheck /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/bin/annocheck make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.68/annocheck' make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.68/annocheck' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/tests' make[2]: Entering directory '/builddir/build/BUILD/annobin-9.68/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.68/tests' make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.68/tests' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68' make[2]: Entering directory '/builddir/build/BUILD/annobin-9.68' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/share/doc/annobin-plugin' /usr/bin/install -p -m 644 LICENSE COPYING3 '/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/share/doc/annobin-plugin' make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.68' make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.68' + rm -f /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/share/info/dir + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 9.68-2.0.riscv64.fc33 --unique-debug-suffix -9.68-2.0.riscv64.fc33.riscv64 --unique-debug-src-base annobin-9.68-2.0.riscv64.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/annobin-9.68 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/bin/annocheck explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/lib/gcc/riscv64-redhat-linux/10/plugin/annobin.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/bin/annocheck extracting debug info from /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/lib/gcc/riscv64-redhat-linux/10/plugin/annobin.so.0.0.0 original debug info size: 1932kB, size after compression: 1876kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 636 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.G2C167 + umask 022 + cd /builddir/build/BUILD + cd annobin-9.68 + make check Making check in doc make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.68/doc' Making check in gcc-plugin make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/gcc-plugin' make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.68/gcc-plugin' Making check in annocheck make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/annocheck' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.68/annocheck' Making check in tests make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68/tests' make check-TESTS make[2]: Entering directory '/builddir/build/BUILD/annobin-9.68/tests' make[3]: Entering directory '/builddir/build/BUILD/annobin-9.68/tests' PASS: compile-test PASS: abi-test XFAIL: active-checks-test PASS: assembler-gap-test PASS: function-sections-test PASS: glibc-notes-test XFAIL: hardening-fail-test PASS: hardening-test PASS: instrumentation-test PASS: lto-test XFAIL: missing-notes-test PASS: objcopy-test PASS: section-size-test ============================================================================ Testsuite summary for Binary Annotations 9.0 ============================================================================ # TOTAL: 13 # PASS: 10 # SKIP: 0 # XFAIL: 3 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory '/builddir/build/BUILD/annobin-9.68/tests' make[2]: Leaving directory '/builddir/build/BUILD/annobin-9.68/tests' make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.68/tests' make[1]: Entering directory '/builddir/build/BUILD/annobin-9.68' make[1]: Nothing to be done for 'check-am'. make[1]: Leaving directory '/builddir/build/BUILD/annobin-9.68' + '[' -f tests/test-suite.log ']' + cat tests/test-suite.log ================================================== Binary Annotations 9.0: tests/test-suite.log ================================================== # TOTAL: 13 # PASS: 10 # SKIP: 0 # XFAIL: 3 # FAIL: 0 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 XFAIL: active-checks-test ========================= ./hello.c:1: error: -D_FORTIFY_SOURCE not defined 1 | #include | XFAIL active-checks-test (exit status: 1) XFAIL: hardening-fail-test ========================== annocheck: Version 9.68. Hardened: hardening-fail-test.exe: FAIL: pie test because not built with '-Wl,-pie' (gcc/clang) or '-buildmode pie' (go) Hardened: hardening-fail-test.exe: FAIL: bind-now test because not linked with -Wl,-z,now Hardened: hardening-fail-test.exe: FAIL: fortify test because -O level is too low Hardened: hardening-fail-test.exe: FAIL: glibcxx-assertions test because compiled without -D_GLIBCXX_ASSERTIONS Hardened: hardening-fail-test.exe: FAIL: stack-prot test because stack protection deliberately disabled Hardened: hardening-fail-test.exe: FAIL: short-enum 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: Rerun annocheck with --verbose to see more information on the tests. 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.68. Hardened: missing-notes-test.exe: PASS: pie test Hardened: missing-notes-test.exe: PASS: writeable-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: info: set binary producer to GCC version 10. Hardened: missing-notes-test.exe: info: set binary producer to Gas version 2. Hardened: missing-notes-test.exe: info: notes produced by assembler plugin version 1 Hardened: missing-notes-test.exe: info: set binary producer to GCC version 9. Hardened: missing-notes-test.exe: info: notes produced by gcc plugin version 9.68 Hardened: missing-notes-test.exe: PASS: optimization test Hardened: missing-notes-test.exe: PASS: stack-prot test Hardened: missing-notes-test.exe: PASS: stack-clash test Hardened: missing-notes-test.exe: PASS: fortify test Hardened: missing-notes-test.exe: PASS: glibcxx-assertions test Hardened: missing-notes-test.exe: PASS: pic 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: (0x750..0x7d6 probable component: big_stack) in annobin notes. Hardened: missing-notes-test.exe: FAIL: notes test because gaps were detected in the annobin coverage Hardened: missing-notes-test.exe: info: not all of the .text section is covered by notes. Hardened: missing-notes-test.exe: info: addr range not covered: 750..7d0. Hardened: missing-notes-test.exe: skip: branch-protection test because not an AArch64 binary Hardened: missing-notes-test.exe: skip: cf-protection test because not an x86 executable Hardened: missing-notes-test.exe: skip: dynamic-tags test because AArch64 specific Hardened: missing-notes-test.exe: PASS: entry test Hardened: missing-notes-test.exe: skip: go-revision test because no GO compiled code found Hardened: missing-notes-test.exe: PASS: lto test Hardened: missing-notes-test.exe: skip: only-go test because not compiled for x86 Hardened: missing-notes-test.exe: PASS: production test Hardened: missing-notes-test.exe: skip: property-note test because property notes not used 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-enum test Hardened: missing-notes-test.exe: skip: stack-realign test because not an x86 executable Hardened: missing-notes-test.exe: PASS: textrel test Hardened: missing-notes-test.exe: PASS: threads test XFAIL missing-notes-test (exit status: 1) + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + cd annobin-9.68 + LICENSEDIR=/builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/share/licenses/annobin + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/share/licenses/annobin + cp -pr COPYING3 /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/share/licenses/annobin + cp -pr LICENSE /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64/usr/share/licenses/annobin + RPM_EC=0 ++ jobs -p + exit 0 Processing files: annobin-9.68-2.0.riscv64.fc33.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vDPnl5 Provides: annobin = 9.68-2.0.riscv64.fc33 annobin(riscv-64) = 9.68-2.0.riscv64.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) 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: annobin-annocheck-9.68-2.0.riscv64.fc33.riscv64 Provides: annobin-annocheck = 9.68-2.0.riscv64.fc33 annobin-annocheck(riscv-64) = 9.68-2.0.riscv64.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) 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.9()(64bit) librpmio.so.9()(64bit) rtld(GNU_HASH) Processing files: annobin-debugsource-9.68-2.0.riscv64.fc33.riscv64 Provides: annobin-debugsource = 9.68-2.0.riscv64.fc33 annobin-debugsource(riscv-64) = 9.68-2.0.riscv64.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: annobin-debuginfo-9.68-2.0.riscv64.fc33.riscv64 Provides: annobin-debuginfo = 9.68-2.0.riscv64.fc33 annobin-debuginfo(riscv-64) = 9.68-2.0.riscv64.fc33 debuginfo(build-id) = e2428bf53be69ed24227c0f5eda5fb442532448f Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: annobin-debugsource(riscv-64) = 9.68-2.0.riscv64.fc33 Processing files: annobin-annocheck-debuginfo-9.68-2.0.riscv64.fc33.riscv64 Provides: annobin-annocheck-debuginfo = 9.68-2.0.riscv64.fc33 annobin-annocheck-debuginfo(riscv-64) = 9.68-2.0.riscv64.fc33 debuginfo(build-id) = dc6601cab41be623d3453c6e75fa8bb155c004f3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: annobin-debugsource(riscv-64) = 9.68-2.0.riscv64.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64 Wrote: /builddir/build/RPMS/annobin-annocheck-9.68-2.0.riscv64.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/annobin-9.68-2.0.riscv64.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/annobin-annocheck-debuginfo-9.68-2.0.riscv64.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/annobin-debuginfo-9.68-2.0.riscv64.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/annobin-debugsource-9.68-2.0.riscv64.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QVKdy8 + umask 022 + cd /builddir/build/BUILD + cd annobin-9.68 + /usr/bin/rm -rf /builddir/build/BUILDROOT/annobin-9.68-2.0.riscv64.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0