Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/805878-fedora-rawhide-x86_64-1538649056.247702/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9dttyjuf:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '46b1e26b52aa401ba1303843c1d52508', '-D', '/var/lib/mock/805878-fedora-rawhide-x86_64-1538649056.247702/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9dttyjuf:/etc/resolv.conf', '--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;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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': 'en_US.UTF-8'} and shell False BUILDSTDERR: sh: gcc: command not found BUILDSTDERR: sh: gcc: command not found BUILDSTDERR: gawk: cmd. line:1: warning: escape sequence `\)' treated as plain `)' Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/annobin-8.45-1.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/805878-fedora-rawhide-x86_64-1538649056.247702/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9dttyjuf:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '75426f9694d043e79d459d8a2c4d25d1', '-D', '/var/lib/mock/805878-fedora-rawhide-x86_64-1538649056.247702/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9dttyjuf:/etc/resolv.conf', '--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;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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': 'en_US.UTF-8'} and shell False BUILDSTDERR: gawk: cmd. line:1: warning: escape sequence `\)' treated as plain `)' Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KmyRUx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf annobin-8.45 + /usr/bin/xz -dc /builddir/build/SOURCES/annobin-8.45.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd annobin-8.45 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + touch aclocal.m4 plugin/config.h.in + touch configure plugin/configure Makefile.in annocheck/Makefile.in doc/Makefile.in plugin/Makefile.in scripts/Makefile.in tests/Makefile.in + touch doc/annobin.info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4IGXHn + umask 022 + cd /builddir/build/BUILD + cd annobin-8.45 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./plugin/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./plugin/config.sub BUILDSTDERR: ++ basename ./plugin/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./plugin/config.sub '/usr/lib/rpm/redhat/config.sub' -> './plugin/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./plugin/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./plugin/config.guess BUILDSTDERR: ++ basename ./plugin/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./plugin/config.guess '/usr/lib/rpm/redhat/config.guess' -> './plugin/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub BUILDSTDERR: ++ 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) BUILDSTDERR: ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess BUILDSTDERR: ++ 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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"~' ./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=x86_64-redhat-linux-gnu --host=x86_64-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/x86_64-redhat-linux/8/plugin + /usr/bin/make -O -j2 Making all in plugin /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/annobin-8.45/plugin' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/x86_64-redhat-linux/8/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x86_64.annobin.lo x86_64.annobin.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/x86_64-redhat-linux/8/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c x86_64.annobin.cc -fPIC -DPIC -o .libs/x86_64.annobin.o make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.45/plugin' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.45/plugin' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/x86_64-redhat-linux/8/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -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/x86_64-redhat-linux/8/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -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-8.45/plugin' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.45/plugin' /bin/sh ../libtool --tag=CXX --mode=link 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -module -o annobin.la -rpath /usr/lib/gcc/x86_64-redhat-linux/8/plugin annobin.lo x86_64.annobin.lo libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/8/crtbeginS.o .libs/annobin.o .libs/x86_64.annobin.o -L/usr/lib/gcc/x86_64-redhat-linux/8 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/8/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -m64 -mtune=generic -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-8.45/plugin' Making all in scripts make[1]: Nothing to be done for 'all'. 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-8.45/annocheck' gcc -DHAVE_CONFIG_H -I. -I../plugin -I'..' -I'..' -I/usr/lib/gcc/x86_64-redhat-linux/8/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o annocheck-annocheck.o `test -f 'annocheck.c' || echo './'`annocheck.c make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/annocheck' gcc -DHAVE_CONFIG_H -I. -I../plugin -I'..' -I'..' -I/usr/lib/gcc/x86_64-redhat-linux/8/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o annocheck-hardened.o `test -f 'hardened.c' || echo './'`hardened.c make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/annocheck' gcc -DHAVE_CONFIG_H -I. -I../plugin -I'..' -I'..' -I/usr/lib/gcc/x86_64-redhat-linux/8/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o annocheck-built-by.o `test -f 'built-by.c' || echo './'`built-by.c make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/annocheck' gcc -DHAVE_CONFIG_H -I. -I../plugin -I'..' -I'..' -I/usr/lib/gcc/x86_64-redhat-linux/8/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o annocheck-size.o `test -f 'size.c' || echo './'`size.c make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/annocheck' gcc -DHAVE_CONFIG_H -I. -I../plugin -I'..' -I'..' -I/usr/lib/gcc/x86_64-redhat-linux/8/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o annocheck-timing.o `test -f 'timing.c' || echo './'`timing.c make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/annocheck' /bin/sh ../libtool --tag=CC --mode=link 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -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 -o annocheck annocheck-annocheck.o annocheck-hardened.o annocheck-built-by.o annocheck-size.o annocheck-timing.o -lelf -ldw -lrpm -lrpmio -liberty libtool: link: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -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 -o annocheck annocheck-annocheck.o annocheck-hardened.o annocheck-built-by.o annocheck-size.o annocheck-timing.o -lelf -ldw -lrpm -lrpmio -liberty make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/annocheck' make[1]: Nothing to be done for 'all-am'. + cp plugin/.libs/annobin.so.0.0.0 /var/tmp/tmp_annobin.so + make -C plugin clean make: Entering directory '/builddir/build/BUILD/annobin-8.45/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-8.45/plugin' + make -C 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename' make: Entering directory '/builddir/build/BUILD/annobin-8.45/plugin' make all-am make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/plugin' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/x86_64-redhat-linux/8/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/x86_64-redhat-linux/8/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/x86_64-redhat-linux/8/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -c -o x86_64.annobin.lo x86_64.annobin.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/x86_64-redhat-linux/8/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -c x86_64.annobin.cc -fPIC -DPIC -o .libs/x86_64.annobin.o /bin/sh ../libtool --tag=CXX --mode=link 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -module -o annobin.la -rpath /usr/lib/gcc/x86_64-redhat-linux/8/plugin annobin.lo x86_64.annobin.lo libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/8/crtbeginS.o .libs/annobin.o .libs/x86_64.annobin.o -L/usr/lib/gcc/x86_64-redhat-linux/8 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/8/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -m64 -mtune=generic -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-8.45/plugin' make: Leaving directory '/builddir/build/BUILD/annobin-8.45/plugin' + rm /var/tmp/tmp_annobin.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.M4poVN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64 + cd annobin-8.45 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64 'INSTALL=/usr/bin/install -p' Making install in plugin make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/plugin' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.45/plugin' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/lib/gcc/x86_64-redhat-linux/8/plugin' /bin/sh ../libtool --mode=install /usr/bin/install -p annobin.la '/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/lib/gcc/x86_64-redhat-linux/8/plugin' libtool: install: /usr/bin/install -p .libs/annobin.so.0.0.0 /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/lib/gcc/x86_64-redhat-linux/8/plugin/annobin.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/lib/gcc/x86_64-redhat-linux/8/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-8.45-1.fc30.x86_64/usr/lib/gcc/x86_64-redhat-linux/8/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-8.45-1.fc30.x86_64/usr/lib/gcc/x86_64-redhat-linux/8/plugin/annobin.la BUILDSTDERR: libtool: install: warning: remember to run `libtool --finish /usr/lib/gcc/x86_64-redhat-linux/8/plugin' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/annobin-8.45/plugin' rm -f '/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/lib/gcc/x86_64-redhat-linux/8/plugin/annobin.la' make[3]: Leaving directory '/builddir/build/BUILD/annobin-8.45/plugin' make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.45/plugin' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/plugin' Making install in scripts make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/scripts' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.45/scripts' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/bin' /usr/bin/install -p built-by check-abi hardened run-on-binaries-in '/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.45/scripts' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/scripts' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/doc' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.45/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/share/doc/annobin-plugin' /usr/bin/install -p -m 644 annotation.proposal.txt '/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/share/doc/annobin-plugin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/share/info' /usr/bin/install -p -m 644 ./annobin.info '/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/share/info' '/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/share/info/annobin.info' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/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-8.45-1.fc30.x86_64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.45/doc' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/doc' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/tests' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.45/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-8.45/tests' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/tests' Making install in annocheck make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/annocheck' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.45/annocheck' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p annocheck '/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/bin' libtool: install: /usr/bin/install -p annocheck /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/bin/annocheck make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.45/annocheck' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.45' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/share/doc/annobin-plugin' /usr/bin/install -p -m 644 LICENSE COPYING3 '/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/share/doc/annobin-plugin' make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.45' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45' + /usr/bin/rm -f /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/share/info/dir + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 8.45-1.fc30 --unique-debug-suffix -8.45-1.fc30.x86_64 --unique-debug-src-base annobin-8.45-1.fc30.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/annobin-8.45 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/bin/annocheck explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/lib/gcc/x86_64-redhat-linux/8/plugin/annobin.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/bin/annocheck extracting debug info from /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/lib/gcc/x86_64-redhat-linux/8/plugin/annobin.so.0.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 399 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/run-on-binaries-in from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/hardened from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/check-abi from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/built-by from /bin/bash to #!/usr/bin/bash Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.cgh3ah + umask 022 + cd /builddir/build/BUILD + cd annobin-8.45 + make check Making check in plugin make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/plugin' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/plugin' Making check in scripts make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/scripts' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/scripts' Making check in doc make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/doc' Making check in tests make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/tests' make check-TESTS make[2]: Entering directory '/builddir/build/BUILD/annobin-8.45/tests' BUILDSTDERR: annobin: ./hello2.c: END sym in section .gnu.linkonce.t.linkonce_func_1 BUILDSTDERR: annobin: ./hello_lib.c: Version 9 PASS: compile-test BUILDSTDERR: annobin: ./hello2.c: END sym in section .gnu.linkonce.t.linkonce_func_1 annocheck: Version 8.45. Timing: hardening-test.exe: total time 60 microseconds, section scan: 49 microseconds, segment scan: 3 microseconds Hardened: hardening-test.exe: pass: Linked with -Wl,-z,now. Hardened: hardening-test.exe: pass: Compiled with -fcf-protection. Hardened: hardening-test.exe: pass: Dynamic segment is present. Hardened: hardening-test.exe: pass: Compiled with -D_FORTIFY_SOURCE=2. Hardened: hardening-test.exe: pass: Compiled with -D_GLIBCXX_ASSERTIONS. Hardened: hardening-test.exe: pass: Linked with -Wl,-z,relro. Hardened: hardening-test.exe: pass: Stack not executable. Hardened: hardening-test.exe: pass: Compiled with sufficient optimization. Hardened: hardening-test.exe: pass: Compiled with PIC/PIE. Hardened: hardening-test.exe: pass: Compiled as a position independent binary. Hardened: hardening-test.exe: pass: Good GNU Property note. Hardened: hardening-test.exe: pass: DT_RPATH/DT_RUNPATH absent or rooted at /usr. Hardened: hardening-test.exe: pass: No RWX segments found. Hardened: hardening-test.exe: pass: Consistent use of the -fshort-enum option. Hardened: hardening-test.exe: pass: Compiled with -fstack-clash-protection. Hardened: hardening-test.exe: pass: Compiled with sufficient stack protection. Hardened: hardening-test.exe: pass: No text relocations found. Hardened: hardening-test.exe: pass: No thread cancellation problems. Hardened: hardening-test.exe: pass: GOT/PLT relocations are read only. Hardened: hardening-test.exe: PASS. Timing: 1 files processed in 60 microseconds. PASS: hardening-test BUILDSTDERR: annobin: ./hello2.c: END sym in section .gnu.linkonce.t.linkonce_func_1 annocheck: Version 8.45. Hardened: hardening-fail-test.exe: fail: (component: ordinary_func): Compiled without -fcf-protection. Hardened: hardening-fail-test.exe: fail: (component: ordinary_func): Insufficient value for -D_FORTIFY_SOURCE: 1. Hardened: hardening-fail-test.exe: fail: (component: baz.start): Insufficient value for -D_FORTIFY_SOURCE: 1. Hardened: hardening-fail-test.exe: fail: (component: main): Compiled without -fcf-protection. Hardened: hardening-fail-test.exe: fail: (component: foo): Compiled without -fcf-protection. Hardened: hardening-fail-test.exe: fail: (component: foo): Compiled without -D_GLIBCXX_ASSERTIONS. Hardened: hardening-fail-test.exe: fail: (component: foo): Compiled without -D_GLIBCXX_ASSERTIONS. Hardened: hardening-fail-test.exe: fail: (component: linkonce_func_1): Compiled without -fcf-protection. Hardened: hardening-fail-test.exe: fail: (component: extern_func2): No stack protection enabled. Hardened: hardening-fail-test.exe: fail: (component: extern_func2): Compiled without -fcf-protection. Hardened: hardening-fail-test.exe: fail: (component: extern_func2): different -fshort-enum option used. Hardened: hardening-fail-test.exe: fail: (component: extern_func3): Insufficient optimization level: -O1. Hardened: hardening-fail-test.exe: fail: (component: extern_func3): Compiled without -fcf-protection. Hardened: hardening-fail-test.exe: fail: (component: extern_func3): different -fshort-enum option used. Hardened: hardening-fail-test.exe: FAIL: Not linked with -Wl,-z,now. Hardened: hardening-fail-test.exe: FAIL: The binary was compiled without sufficient -fcf-protection. Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without -D_FORTIFY_SOURCE=2. Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without -D_GLIBCXX_ASSRTIONS. Hardened: hardening-fail-test.exe: FAIL: Linked without -Wl,-z,relro. Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without sufficient optimization. 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. Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without suffcient stack protection. XFAIL: hardening-fail-test annocheck: Version 8.45. Hardened: missing-notes-test.exe: gap: (11f0..12a0 probable component: foo) in annobin notes. Hardened: missing-notes-test.exe: FAIL: Gaps were detected in the annobin coverage. Hardened: missing-notes-test.exe: pass: Linked with -Wl,-z,now. Hardened: missing-notes-test.exe: pass: Compiled with -fcf-protection. Hardened: missing-notes-test.exe: pass: Dynamic segment is present. 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: pass: Linked with -Wl,-z,relro. 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: pass: Good GNU Property note. 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: pass: No text relocations found. Hardened: missing-notes-test.exe: pass: No thread cancellation problems. Hardened: missing-notes-test.exe: pass: GOT/PLT relocations are read only. XFAIL: missing-notes-test BUILDSTDERR: /usr/bin/ld: warning: property-note.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0080000 annocheck: Version 8.45. Hardened: property-note-test.exe: PASS. XFAIL: property-note-test BUILDSTDERR: annobin: ./hello2.c: END sym in section .gnu.linkonce.t.linkonce_func_1 PASS: abi-test BUILDSTDERR: annobin: ./unused_code.c: END sym in section .text.unused_func_2 BUILDSTDERR: annobin: ./unused_code.c: END sym in section .gnu.linkonce.t.linkonce_func_1 BUILDSTDERR: annobin: ./unused_code.c: END sym in section .text.foo_impl BUILDSTDERR: annobin: ./unused_code.c: END sym in section .text.food BUILDSTDERR: annobin: ./unused_code.c: END sym in section .text.coldy BUILDSTDERR: annobin: ./unused_code.c: END sym in section .text.colder BUILDSTDERR: annobin: ./unused_code.c: END sym in section .mysection BUILDSTDERR: annobin: ./unused_code.c: END sym in section .text.constructor_func BUILDSTDERR: annobin: ./unused_code.c: END sym in section .text.destructor_func BUILDSTDERR: annobin: ./unused_code.c: END sym in section .text.unused_func_1 BUILDSTDERR: annobin: ./unused_code.c: END sym in section .text.extern_func2 BUILDSTDERR: annobin: ./unused_code.c: END sym in section .text.extern_func3 BUILDSTDERR: annobin: ./hello2.c: END sym in section .text.foo BUILDSTDERR: annobin: ./hello2.c: END sym in section .text.extern_func BUILDSTDERR: annobin: ./hello2.c: END sym in section .text.big_stack BUILDSTDERR: annobin: ./hello2.c: END sym in section .gnu.linkonce.t.linkonce_func_1 BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file '/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/Scrt1.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file '/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/Scrt1.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.rodata.cst4' in file '/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/Scrt1.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.data' in file '/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/Scrt1.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes.hot[text.hot.group]' in file '/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/Scrt1.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes.unlikely[text.unlikely.group]' in file '/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/Scrt1.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'hello.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'hello.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'hello.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes.hot[text.hot.group]' in file 'hello.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes.unlikely[text.unlikely.group]' in file 'hello.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..text.startup.main[.text.startup.main.group]' in file 'hello.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes.hot[text.hot.group]' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes.unlikely[text.unlikely.group]' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..text.unused_func_2[.text.unused_func_2.group]' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.text.unused_func_2' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..gnu.linkonce.t.linkonce_func_1[.gnu.linkonce.t.linkonce_func_1.group]' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.linkonce.t.linkonce_func_1' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..text.foo_impl[.text.foo_impl.group]' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.text.foo_impl' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..text.food[.text.food.group]' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.text.food' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..text.coldy[.text.coldy.group]' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.text.coldy' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.text.unlikely.coldy' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..text.colder[.text.colder.group]' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.text.colder' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.text.unlikely.colder' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..mysection[.mysection.group]' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.mysection' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..text.startup.constructor_func[.text.startup.constructor_func.group]' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..text.exit.destructor_func[.text.exit.destructor_func.group]' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..text.unused_func_1[.text.unused_func_1.group]' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.text.unused_func_1' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..text.extern_func2[.text.extern_func2.group]' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..text.extern_func3[.text.extern_func3.group]' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.rodata.cst4' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes.hot[text.hot.group]' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes.unlikely[text.unlikely.group]' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..text.foo[.text.foo.group]' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.text.foo' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..text.extern_func[.text.extern_func.group]' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.text.extern_func' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..text.big_stack[.text.big_stack.group]' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes..gnu.linkonce.t.linkonce_func_1[.gnu.linkonce.t.linkonce_func_1.group]' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.linkonce.t.linkonce_func_1' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file '//usr/lib64/libc_nonshared.a(elf-init.oS)' BUILDSTDERR: /usr/bin/ld: removing unused section '.group' in file '//usr/lib64/libc_nonshared.a(elf-init.oS)' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes.hot[text.hot.group]' in file '//usr/lib64/libc_nonshared.a(elf-init.oS)' BUILDSTDERR: /usr/bin/ld: removing unused section '.gnu.build.attributes.unlikely[text.unlikely.group]' in file '//usr/lib64/libc_nonshared.a(elf-init.oS)' BUILDSTDERR: /usr/bin/ld: warning: orphan section `.note.gnu.property' from `/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/Scrt1.o' being placed in section `.note.gnu.property' BUILDSTDERR: /usr/bin/ld: warning: orphan section `.note.ABI-tag' from `/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/Scrt1.o' being placed in section `.note.ABI-tag' BUILDSTDERR: /usr/bin/ld: warning: orphan section `.rela.fini_array' from `/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/Scrt1.o' being placed in section `.rela.dyn' BUILDSTDERR: /usr/bin/ld: warning: orphan section `.rela.init_array' from `/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/Scrt1.o' being placed in section `.rela.dyn' BUILDSTDERR: /usr/bin/ld: warning: orphan section `.tm_clone_table' from `/usr/lib/gcc/x86_64-redhat-linux/8/crtbeginS.o' being placed in section `.tm_clone_table' BUILDSTDERR: /usr/bin/ld: warning: orphan section `.tm_clone_table' from `/usr/lib/gcc/x86_64-redhat-linux/8/crtendS.o' being placed in section `.tm_clone_table' annocheck: Version 8.45. Hardened: function-sections-test.exe: PASS. PASS: function-sections-test BUILDSTDERR: annobin: ./hello2.c: END sym in section .gnu.linkonce.t.linkonce_func_1 PASS: assembler-gap-test PASS: dynamic-notes-test BUILDSTDERR: annobin: ./hello2.c: END sym in section .gnu.linkonce.t.linkonce_func_1 annocheck: Version 8.45. Section_Size: ./section-size.exe: .gnu.build.attributes: 3Kb Section_Size: ./hello_lib.o: .gnu.build.attributes: 336 bytes Section_Size: ./hello3.o: .gnu.build.attributes: 336 bytes Section_Size: ./hello2.o: .gnu.build.attributes: 400 bytes Section_Size: ./hello.o: .gnu.build.attributes: 452 bytes Section_Size: ./assembler-gap-test2.exe: .gnu.build.attributes: 1Kb Section_Size: ./gap2.o: .gnu.build.attributes: 36 bytes Section_Size: ./assembler-gap-test1.exe: .gnu.build.attributes: 1Kb Section_Size: ./function-sections-test.exe: .gnu.build.attributes: 3Kb Section_Size: ./unused_code.o: .gnu.build.attributes: 1Kb Section_Size: ./hello_hard.o: .gnu.build.attributes: 400 bytes Section_Size: ./abi-test.exe: .gnu.build.attributes: 3Kb Section_Size: ./libhello.so: .gnu.build.attributes: 696 bytes Section_Size: ./property-note-test.exe: .gnu.build.attributes: 2Kb Section_Size: ./property-note.o: .gnu.build.attributes: 36 bytes Section_Size: ./missing-notes-test.exe: .gnu.build.attributes: 2Kb Section_Size: ./hardening-fail-test.exe: .gnu.build.attributes: 3Kb Section_Size: ./hardening-test.exe: .gnu.build.attributes: 2Kb Section_Size: ./compile-test.exe: .gnu.build.attributes: 2Kb Section_Size: Section '.gnu.build.attributes' found in 19 files, total size: 30Kb PASS: section-size-test ====================================================== All 10 tests behaved as expected (3 expected failures) ====================================================== make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.45/tests' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/tests' Making check in annocheck make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45/annocheck' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-8.45' make[1]: Nothing to be done for 'check-am'. make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.45' + exit 0 Processing files: annobin-8.45-1.fc30.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cC7Z6P + umask 022 + cd /builddir/build/BUILD + cd annobin-8.45 + LICENSEDIR=/builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/share/licenses/annobin + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/share/licenses/annobin + cp -pr COPYING3 /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/share/licenses/annobin + cp -pr LICENSE /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64/usr/share/licenses/annobin + exit 0 Provides: annobin = 8.45-1.fc30 annobin(x86-64) = 8.45-1.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(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) libgcc_s.so.1()(64bit) libm.so.6()(64bit) librpm.so.8()(64bit) librpmio.so.8()(64bit) libstdc++.so.6()(64bit) rtld(GNU_HASH) Processing files: annobin-debugsource-8.45-1.fc30.x86_64 Provides: annobin-debugsource = 8.45-1.fc30 annobin-debugsource(x86-64) = 8.45-1.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: annobin-debuginfo-8.45-1.fc30.x86_64 Provides: annobin-debuginfo = 8.45-1.fc30 annobin-debuginfo(x86-64) = 8.45-1.fc30 debuginfo(build-id) = af0e36d9bb5bcad811eb3afbec97b0700b407b2b debuginfo(build-id) = fb7c05244466d6916952f0c962094d22c29b977d Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: annobin-debugsource(x86-64) = 8.45-1.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64 Wrote: /builddir/build/RPMS/annobin-8.45-1.fc30.x86_64.rpm Wrote: /builddir/build/RPMS/annobin-debugsource-8.45-1.fc30.x86_64.rpm Wrote: /builddir/build/RPMS/annobin-debuginfo-8.45-1.fc30.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8EVOEq + umask 022 + cd /builddir/build/BUILD + cd annobin-8.45 + /usr/bin/rm -rf /builddir/build/BUILDROOT/annobin-8.45-1.fc30.x86_64 + exit 0 Child return code was: 0