Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/annobin.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-450429a71556c27b92af241bf73fb1fa0112888c/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/annobin.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/annobin-9.46-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/annobin.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-450429a71556c27b92af241bf73fb1fa0112888c/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/annobin.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ASWw9x + umask 022 + cd /builddir/build/BUILD Requires: (gcc >= 4 and gcc < 5) + '[' -z 4.8.5-44 ']' + echo 'Requires: (gcc >= 4 and gcc < 5)' + cd /builddir/build/BUILD + rm -rf annobin-9.46 + /usr/bin/xz -dc /builddir/build/SOURCES/annobin-9.46.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd annobin-9.46 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + touch aclocal.m4 gcc-plugin/config.h.in + touch configure gcc-plugin/configure Makefile.in annocheck/Makefile.in clang-plugin/Makefile.in doc/Makefile.in gcc-plugin/Makefile.in llvm-plugin/Makefile.in scripts/Makefile.in tests/Makefile.in + touch doc/annobin.info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8Oq3Rh + umask 022 + cd /builddir/build/BUILD + cd annobin-9.46 + CONFIG_ARGS= + CONFIG_ARGS=' --without-debuginfod' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -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 . -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 . -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 . -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' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --quiet --with-gcc-plugin-dir=/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin --without-debuginfod + /usr/bin/make -j4 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDISABLE_FUTURE_FAIL' Making all in doc make[1]: Entering directory `/builddir/build/BUILD/annobin-9.46/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/annobin-9.46/doc' Making all in gcc-plugin make[1]: Entering directory `/builddir/build/BUILD/annobin-9.46/gcc-plugin' /usr/bin/make all-am make[2]: Entering directory `/builddir/build/BUILD/annobin-9.46/gcc-plugin' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o annobin.lo annobin.cc /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o dummy.annobin.lo dummy.annobin.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c annobin.cc -fPIC -DPIC -o .libs/annobin.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c dummy.annobin.cc -fPIC -DPIC -o .libs/dummy.annobin.o /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -module -o annobin.la -rpath /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin annobin.lo dummy.annobin.lo libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/../../../crti.o /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/crtbeginS.o .libs/annobin.o .libs/dummy.annobin.o -L/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5 -L/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/crtendS.o /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/../../../crtn.o -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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.46/gcc-plugin' make[1]: Leaving directory `/builddir/build/BUILD/annobin-9.46/gcc-plugin' Making all in annocheck make[1]: Entering directory `/builddir/build/BUILD/annobin-9.46/annocheck' gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDISABLE_FUTURE_FAIL -c -o annocheck-annocheck.o `test -f 'annocheck.c' || echo './'`annocheck.c gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDISABLE_FUTURE_FAIL -c -o annocheck-timing.o `test -f 'timing.c' || echo './'`timing.c gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDISABLE_FUTURE_FAIL -c -o annocheck-size.o `test -f 'size.c' || echo './'`size.c gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDISABLE_FUTURE_FAIL -c -o annocheck-notes.o `test -f 'notes.c' || echo './'`notes.c gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDISABLE_FUTURE_FAIL -c -o annocheck-hardened.o `test -f 'hardened.c' || echo './'`hardened.c gcc -DHAVE_CONFIG_H -I. -I../gcc-plugin -I'..' -I'..' -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -I/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDISABLE_FUTURE_FAIL -c -o annocheck-built-by.o `test -f 'built-by.c' || echo './'`built-by.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDISABLE_FUTURE_FAIL -Wl,-z,relro -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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDISABLE_FUTURE_FAIL -Wl,-z -Wl,relro -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.46/annocheck' Making all in tests make[1]: Entering directory `/builddir/build/BUILD/annobin-9.46/tests' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/annobin-9.46/tests' make[1]: Entering directory `/builddir/build/BUILD/annobin-9.46' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/builddir/build/BUILD/annobin-9.46' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UZPzII + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm ++ dirname /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm + cd annobin-9.46 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm 'PLUGIN_INSTALL_DIR=/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm%{ANNOBIN_CLANG_PLUGIN_DIR}' Making install in doc make[1]: Entering directory `/builddir/build/BUILD/annobin-9.46/doc' make[2]: Entering directory `/builddir/build/BUILD/annobin-9.46/doc' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/share/doc/annobin-plugin' /usr/bin/install -c -m 644 annotation.proposal.txt '/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/share/doc/annobin-plugin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/share/info' /usr/bin/install -c -m 644 ./annobin.info '/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/share/info' '/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/share/info/annobin.info' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/share/man/man1' /usr/bin/install -c -m 644 annobin.1 built-by.1 check-abi.1 hardened.1 run-on-binaries-in.1 annocheck.1 '/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/share/man/man1' make[2]: Leaving directory `/builddir/build/BUILD/annobin-9.46/doc' make[1]: Leaving directory `/builddir/build/BUILD/annobin-9.46/doc' Making install in gcc-plugin make[1]: Entering directory `/builddir/build/BUILD/annobin-9.46/gcc-plugin' make[2]: Entering directory `/builddir/build/BUILD/annobin-9.46/gcc-plugin' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin' /bin/sh ../libtool --mode=install /usr/bin/install -c annobin.la '/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin' libtool: install: /usr/bin/install -c .libs/annobin.so.0.0.0 /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/annobin.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/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.46-1.el7.arm/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/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 -c .libs/annobin.lai /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/annobin.la libtool: warning: remember to run 'libtool --finish /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin' /usr/bin/make install-data-hook make[3]: Entering directory `/builddir/build/BUILD/annobin-9.46/gcc-plugin' rm -f '/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/annobin.la' make[3]: Leaving directory `/builddir/build/BUILD/annobin-9.46/gcc-plugin' make[2]: Leaving directory `/builddir/build/BUILD/annobin-9.46/gcc-plugin' make[1]: Leaving directory `/builddir/build/BUILD/annobin-9.46/gcc-plugin' Making install in annocheck make[1]: Entering directory `/builddir/build/BUILD/annobin-9.46/annocheck' make[2]: Entering directory `/builddir/build/BUILD/annobin-9.46/annocheck' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c annocheck '/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/bin' libtool: install: /usr/bin/install -c annocheck /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/bin/annocheck make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/annobin-9.46/annocheck' make[1]: Leaving directory `/builddir/build/BUILD/annobin-9.46/annocheck' Making install in tests make[1]: Entering directory `/builddir/build/BUILD/annobin-9.46/tests' make[2]: Entering directory `/builddir/build/BUILD/annobin-9.46/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.46/tests' make[1]: Leaving directory `/builddir/build/BUILD/annobin-9.46/tests' make[1]: Entering directory `/builddir/build/BUILD/annobin-9.46' make[2]: Entering directory `/builddir/build/BUILD/annobin-9.46' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/share/doc/annobin-plugin' /usr/bin/install -c -m 644 LICENSE COPYING3 '/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/share/doc/annobin-plugin' make[2]: Leaving directory `/builddir/build/BUILD/annobin-9.46' make[1]: Leaving directory `/builddir/build/BUILD/annobin-9.46' + /usr/bin/rm -f /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/share/info/dir + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/annobin-9.46 extracting debug info from /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/bin/annocheck extracting debug info from /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/annobin.so.0.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/annobin.so.0.0.0.debug to /usr/lib/debug/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/annobin.so.debug symlinked /usr/lib/debug/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/annobin.so.0.0.0.debug to /usr/lib/debug/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/plugin/annobin.so.0.debug 627 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.rzpPYz + umask 022 + cd /builddir/build/BUILD + cd annobin-9.46 + make check Making check in doc make[1]: Entering directory `/builddir/build/BUILD/annobin-9.46/doc' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/annobin-9.46/doc' Making check in gcc-plugin make[1]: Entering directory `/builddir/build/BUILD/annobin-9.46/gcc-plugin' make[1]: Leaving directory `/builddir/build/BUILD/annobin-9.46/gcc-plugin' Making check in annocheck make[1]: Entering directory `/builddir/build/BUILD/annobin-9.46/annocheck' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/annobin-9.46/annocheck' Making check in tests make[1]: Entering directory `/builddir/build/BUILD/annobin-9.46/tests' make check-TESTS make[2]: Entering directory `/builddir/build/BUILD/annobin-9.46/tests' make[3]: Entering directory `/builddir/build/BUILD/annobin-9.46/tests' PASS: compile-test PASS: abi-test XFAIL: active-checks-test PASS: assembler-gap-test PASS: function-sections-test XFAIL: hardening-fail-test PASS: hardening-test PASS: instrumentation-test PASS: lto-test XFAIL: missing-notes-test FAIL: objcopy-test PASS: section-size-test ============================================================================ Testsuite summary for Binary Annotations 9.0 ============================================================================ # TOTAL: 12 # PASS: 8 # SKIP: 0 # XFAIL: 3 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log ============================================================================ make[3]: Leaving directory `/builddir/build/BUILD/annobin-9.46/tests' make[2]: Leaving directory `/builddir/build/BUILD/annobin-9.46/tests' make[1]: Leaving directory `/builddir/build/BUILD/annobin-9.46/tests' make[3]: *** [test-suite.log] Error 1 make[2]: *** [check-TESTS] Error 2 make[1]: *** [check-am] Error 2 make: *** [check-recursive] Error 1 + : + '[' -f tests/test-suite.log ']' + cat tests/test-suite.log + exit 0 ================================================== Binary Annotations 9.0: tests/test-suite.log ================================================== # TOTAL: 12 # PASS: 8 # SKIP: 0 # XFAIL: 3 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 XFAIL: active-checks-test ========================= ./hello.c:1:0: error: optimization level is too low! #include ^ XFAIL active-checks-test (exit status: 1) XFAIL: hardening-fail-test ========================== /usr/bin/ld: warning: hello3.o uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail annocheck: Version 9.46. Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without -D_FORTIFY_SOURCE=2. Run with -v to see where. Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without -D_GLIBCXX_ASSRTIONS. Run with -v to see where. Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without sufficient optimization. Run with -v to see where. Hardened: hardening-fail-test.exe: FAIL: Not linked as a position independent executable (ie need to add '-pie' to link command line). Hardened: hardening-fail-test.exe: FAIL: Linked with different -fshort-enum settings. Run with -v to see where. Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without a suffcient -fstack-protector setting. Run with -v to see where. XFAIL hardening-fail-test (exit status: 1) XFAIL: missing-notes-test ========================= gcc: error: unrecognized command line option '-fcf-protection' Compiler might not support -fcf-protection, retrying without it gcc: error: unrecognized command line option '-mstackrealign' Compiler might not support -mstackrealign, retrying without it gcc: error: unrecognized command line option '-fcf-protection' Compiler might not support either -fcf-protection or -mstackrealign, retrying without both annocheck: Version 9.46. Hardened: missing-notes-test.exe: info: Set binary producer to gcc version 4. Hardened: missing-notes-test.exe: FAIL: (component: ordinary_func): Compiled without either -Wall or -Wformat-security. Hardened: missing-notes-test.exe: look: (component: ordinary_func): Compiled without -flto. Hardened: missing-notes-test.exe: FAIL: (component: main): Compiled without either -Wall or -Wformat-security. Hardened: missing-notes-test.exe: look: (component: main): Compiled without -flto. Hardened: missing-notes-test.exe: FAIL: (component: ordinary_func): Compiled without either -Wall or -Wformat-security. Hardened: missing-notes-test.exe: look: (component: ordinary_func): Compiled without -flto. Hardened: missing-notes-test.exe: FAIL: (component: baz): Compiled without either -Wall or -Wformat-security. Hardened: missing-notes-test.exe: look: (component: baz): Compiled without -flto. Hardened: missing-notes-test.exe: FAIL: (component: extern_func2): Compiled without either -Wall or -Wformat-security. Hardened: missing-notes-test.exe: look: (component: extern_func2): Compiled without -flto. Hardened: missing-notes-test.exe: FAIL: (component: extern_func3): Compiled without either -Wall or -Wformat-security. Hardened: missing-notes-test.exe: look: (component: extern_func3): Compiled without -flto. Hardened: missing-notes-test.exe: FAIL: (component: main): Compiled without either -Wall or -Wformat-security. Hardened: missing-notes-test.exe: look: (component: main): Compiled without -flto. Hardened: missing-notes-test.exe: gap: (7cc..878 probable component: foo) in annobin notes. Hardened: missing-notes-test.exe: FAIL: Gaps were detected in the annobin coverage. Hardened: missing-notes-test.exe: skip: Test for -Wl,-z-now. (Dynamic segment present, but no dynamic relocations found). Hardened: missing-notes-test.exe: skip: Branch protection. (Not an AArch64 binary). Hardened: missing-notes-test.exe: skip: Test for control flow protection. (Only supported on x86 binaries). Hardened: missing-notes-test.exe: PASS: One dynamic section/segment found. Hardened: missing-notes-test.exe: skip: Test of dynamic tags. (AArch64 specific). Hardened: missing-notes-test.exe: skip: Entry point instruction is ENDBR. (Not an x86 binary). Hardened: missing-notes-test.exe: PASS: Compiled with -D_FORTIFY_SOURCE=2. Hardened: missing-notes-test.exe: PASS: Compiled with -D_GLIBCXX_ASSERTIONS. Hardened: missing-notes-test.exe: skip: Test for -Wl,-z,relro. (No dynamic relocations). Hardened: missing-notes-test.exe: PASS: Stack not executable. Hardened: missing-notes-test.exe: skip: The LTO setting was not recorded (probably due to the use of an old version of the annobin plugin). Hardened: missing-notes-test.exe: PASS: Compiled with sufficient optimization. Hardened: missing-notes-test.exe: PASS: Compiled with PIC/PIE. Hardened: missing-notes-test.exe: PASS: Compiled as a position independent binary. Hardened: missing-notes-test.exe: skip: GNU Property note check. (Only useful on x86_64 and aarch64 binaries). Hardened: missing-notes-test.exe: PASS: DT_RPATH/DT_RUNPATH absent or rooted at /usr. Hardened: missing-notes-test.exe: PASS: No RWX segments found. Hardened: missing-notes-test.exe: PASS: Consistent use of the -fshort-enum option. Hardened: missing-notes-test.exe: skip: Test for stack clash support. (Not enabled on the ARM). Hardened: missing-notes-test.exe: PASS: Compiled with sufficient stack protection. Hardened: missing-notes-test.exe: skip: Test for stack realignment support. (Only needed on i686 binaries). Hardened: missing-notes-test.exe: PASS: No text relocations found. Hardened: missing-notes-test.exe: PASS: No thread cancellation problems. Hardened: missing-notes-test.exe: FAIL: Compiled without using either the -Wall or -Wformat-security options. Hardened: missing-notes-test.exe: PASS: GOT/PLT relocations are read only. XFAIL missing-notes-test (exit status: 1) FAIL: objcopy-test ================== objcopy: unrecognized option '--merge-notes' Usage: objcopy [option(s)] in-file [out-file] Copies a binary file, possibly transforming it in the process The options are: -I --input-target Assume input file is in format -O --output-target Create an output file in format -B --binary-architecture Set output arch, when input is arch-less -F --target Set both input and output format to --debugging Convert debugging information, if possible -p --preserve-dates Copy modified/access timestamps to the output -D --enable-deterministic-archives Produce deterministic output when stripping archives -U --disable-deterministic-archives Disable -D behavior (default) -j --only-section Only copy section into the output --add-gnu-debuglink= Add section .gnu_debuglink linking to -R --remove-section Remove section from the output -S --strip-all Remove all symbol and relocation information -g --strip-debug Remove all debugging symbols & sections --strip-dwo Remove all DWO sections --strip-unneeded Remove all symbols not needed by relocations -N --strip-symbol Do not copy symbol --strip-unneeded-symbol Do not copy symbol unless needed by relocations --only-keep-debug Strip everything but the debug information --extract-dwo Copy only DWO sections --extract-symbol Remove section contents but keep symbols -K --keep-symbol Do not strip symbol --keep-file-symbols Do not strip file symbol(s) --localize-hidden Turn all ELF hidden symbols into locals -L --localize-symbol Force symbol to be marked as a local --globalize-symbol Force symbol to be marked as a global -G --keep-global-symbol Localize all symbols except -W --weaken-symbol Force symbol to be marked as a weak --weaken Force all global symbols to be marked as weak -w --wildcard Permit wildcard in symbol comparison -x --discard-all Remove all non-global symbols -X --discard-locals Remove any compiler-generated symbols -i --interleave[=] Only copy N out of every bytes --interleave-width Set N for --interleave -b --byte Select byte in every interleaved block --gap-fill Fill gaps between sections with --pad-to Pad the last section up to address --set-start Set the start address to {--change-start|--adjust-start} Add to the start address {--change-addresses|--adjust-vma} Add to LMA, VMA and start addresses {--change-section-address|--adjust-section-vma} {=|+|-} Change LMA and VMA of section by --change-section-lma {=|+|-} Change the LMA of section by --change-section-vma {=|+|-} Change the VMA of section by {--[no-]change-warnings|--[no-]adjust-warnings} Warn if a named section does not exist --set-section-flags = Set section 's properties to --add-section = Add section found in to output --update-section = Update contents of section with contents found in --dump-section = Dump the contents of section into --rename-section =[,] Rename section to --long-section-names {enable|disable|keep} Handle long section names in Coff objects. --change-leading-char Force output format's leading character style --remove-leading-char Remove leading character from global symbols --reverse-bytes= Reverse bytes at a time, in output sections with content --redefine-sym = Redefine symbol name to --redefine-syms --redefine-sym for all symbol pairs listed in --srec-len Restrict the length of generated Srecords --srec-forceS3 Restrict the type of generated Srecords to S3 --strip-symbols -N for all symbols listed in --strip-unneeded-symbols --strip-unneeded-symbol for all symbols listed in --keep-symbols -K for all symbols listed in --localize-symbols -L for all symbols listed in --globalize-symbols --globalize-symbol for all in --keep-global-symbols -G for all symbols listed in --weaken-symbols -W for all symbols listed in --add-symbol =[
:][,] Add a symbol --alt-machine-code Use the target's 'th alternative machine --writable-text Mark the output text as writable --readonly-text Make the output text write protected --pure Mark the output file as demand paged --impure Mark the output file as impure --prefix-symbols Add to start of every symbol name --prefix-sections Add to start of every section name --prefix-alloc-sections Add to start of every allocatable section name --file-alignment Set PE file alignment to --heap [,] Set PE reserve/commit heap to / --image-base
Set PE image base to
--section-alignment Set PE section alignment to --stack [,] Set PE reserve/commit stack to / --subsystem [:] Set PE subsystem to [& ] --compress-debug-sections[={none|zlib|zlib-gnu|zlib-gabi}] Compress DWARF debug sections using zlib --decompress-debug-sections Decompress DWARF debug sections using zlib --elf-stt-common=[yes|no] Generate ELF common symbols with STT_COMMON type -v --verbose List all object files modified @ Read options from -V --version Display this program's version number -h --help Display this output --info List object formats & architectures supported objcopy: supported targets: elf32-littlearm elf32-bigarm elf32-little elf32-big plugin srec symbolsrec verilog tekhex binary ihex annocheck: Warning: 'objcopy-merged.exe': No such file. FAIL objcopy-test (exit status: 1) Processing files: annobin-9.46-1.el7.armv7hl Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.o9EIvR + umask 022 + cd /builddir/build/BUILD + cd annobin-9.46 + LICENSEDIR=/builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/share/licenses/annobin-9.46 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/share/licenses/annobin-9.46 + cp -pr COPYING3 /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/share/licenses/annobin-9.46 + cp -pr LICENSE /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm/usr/share/licenses/annobin-9.46 + exit 0 Provides: annobin = 9.46-1.el7 annobin(armv7hl-32) = 9.46-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.17) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.8) libdw.so.1 libdw.so.1(ELFUTILS_0.122) libdw.so.1(ELFUTILS_0.126) libdw.so.1(ELFUTILS_0.159) libelf.so.1 libelf.so.1(ELFUTILS_1.0) libelf.so.1(ELFUTILS_1.3) libelf.so.1(ELFUTILS_1.5) libelf.so.1(ELFUTILS_1.6) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libm.so.6 librpm.so.3 librpmio.so.3 libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) rtld(GNU_HASH) Processing files: annobin-debuginfo-9.46-1.el7.armv7hl Provides: annobin-debuginfo = 9.46-1.el7 annobin-debuginfo(armv7hl-32) = 9.46-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm Wrote: /builddir/build/RPMS/annobin-9.46-1.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/annobin-debuginfo-9.46-1.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VRbBbN + umask 022 + cd /builddir/build/BUILD + cd annobin-9.46 + /usr/bin/rm -rf /builddir/build/BUILDROOT/annobin-9.46-1.el7.arm + exit 0 Child return code was: 0