Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/gcc.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-291653-65058/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/gcc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/gcc-8.5.0-18.0.2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gcc.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-291653-65058/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gcc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.i6smvM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gcc-8.5.0-20210514 + /usr/bin/xz -dc /builddir/build/SOURCES/gcc-8.5.0-20210514.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gcc-8.5.0-20210514 + /usr/bin/xz -dc /builddir/build/SOURCES/nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/xz -dc /builddir/build/SOURCES/nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gcc8-hack.patch):' Patch #0 (gcc8-hack.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .hack~ --fuzz=0 patching file libada/Makefile.in Hunk #1 succeeded at 72 (offset 6 lines). Hunk #2 succeeded at 116 (offset 6 lines). patching file config-ml.in patching file libcpp/macro.c Hunk #1 succeeded at 3246 (offset 299 lines). Hunk #2 succeeded at 3359 (offset 302 lines). Hunk #3 succeeded at 3373 (offset 302 lines). patching file libcpp/expr.c Hunk #1 succeeded at 788 (offset 116 lines). Patch #2 (gcc8-i386-libgomp.patch): + echo 'Patch #2 (gcc8-i386-libgomp.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .i386-libgomp~ --fuzz=0 patching file libgomp/configure.tgt Hunk #1 succeeded at 74 (offset 7 lines). + echo 'Patch #3 (gcc8-sparc-config-detection.patch):' Patch #3 (gcc8-sparc-config-detection.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .sparc-config-detection~ --fuzz=0 patching file gcc/config.gcc Hunk #1 succeeded at 2917 (offset 127 lines). Hunk #2 succeeded at 2971 (offset 127 lines). patching file libgcc/config.host Hunk #1 succeeded at 1234 (offset 232 lines). Hunk #2 succeeded at 1282 (offset 232 lines). Patch #4 (gcc8-libgomp-omp_h-multilib.patch): + echo 'Patch #4 (gcc8-libgomp-omp_h-multilib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .libgomp-omp_h-multilib~ --fuzz=0 patching file libgomp/omp.h.in Hunk #1 succeeded at 40 (offset -2 lines). + echo 'Patch #5 (gcc8-libtool-no-rpath.patch):' Patch #5 (gcc8-libtool-no-rpath.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .libtool-no-rpath~ --fuzz=0 patching file ltmain.sh Hunk #1 succeeded at 7103 (offset 1709 lines). Hunk #2 succeeded at 7799 (offset 1727 lines). Hunk #3 succeeded at 7851 (offset 1729 lines). Patch #6 (gcc8-isl-dl.patch): + echo 'Patch #6 (gcc8-isl-dl.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .isl-dl~ --fuzz=0 patching file gcc/Makefile.in Hunk #1 succeeded at 1058 (offset 12 lines). Hunk #2 succeeded at 2265 (offset 69 lines). patching file gcc/graphite.h Hunk #2 succeeded at 1047 (offset 2 lines). patching file gcc/graphite.c patching file gcc/toplev.c Hunk #1 succeeded at 97 (offset 3 lines). Hunk #2 succeeded at 671 (offset -13 lines). + echo 'Patch #7 (gcc8-libstdc++-docs.patch):' Patch #7 (gcc8-libstdc++-docs.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .libstdc++-docs~ --fuzz=0 patching file libstdc++-v3/doc/html/index.html Hunk #1 succeeded at 4 (offset -1 lines). patching file libstdc++-v3/doc/html/api.html + echo 'Patch #8 (gcc8-no-add-needed.patch):' Patch #8 (gcc8-no-add-needed.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .no-add-needed~ --fuzz=0 patching file gcc/config/alpha/elf.h patching file gcc/config/ia64/linux.h patching file gcc/config/gnu-user.h patching file gcc/config/rs6000/sysv4.h Patch #9 (gcc8-foffload-default.patch): + echo 'Patch #9 (gcc8-foffload-default.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .foffload-default~ --fuzz=0 patching file gcc/gcc.c Hunk #1 succeeded at 291 (offset 1 line). Hunk #2 succeeded at 4487 (offset 26 lines). Hunk #3 succeeded at 7769 (offset 69 lines). patching file gcc/lto-wrapper.c Hunk #2 succeeded at 872 (offset 81 lines). Hunk #3 succeeded at 888 (offset 81 lines). patching file libgomp/target.c Hunk #1 succeeded at 2514 (offset 158 lines). + echo 'Patch #10 (gcc8-Wno-format-security.patch):' Patch #10 (gcc8-Wno-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .Wno-format-security~ --fuzz=0 patching file gcc/configure.ac patching file gcc/configure Hunk #1 succeeded at 6660 (offset 13 lines). Patch #11 (gcc8-rh1512529-aarch64.patch): + echo 'Patch #11 (gcc8-rh1512529-aarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .rh1512529-aarch64~ --fuzz=0 patching file gcc/config/aarch64/aarch64.c Hunk #1 succeeded at 4064 (offset 265 lines). Hunk #2 succeeded at 4887 (offset 291 lines). Hunk #3 succeeded at 5111 (offset 291 lines). Hunk #4 succeeded at 5214 (offset 291 lines). Hunk #5 succeeded at 11002 (offset 321 lines). Hunk #6 succeeded at 17525 (offset 153 lines). Hunk #7 succeeded at 18072 (offset 170 lines). patching file gcc/config/aarch64/aarch64.md Hunk #1 succeeded at 5952 (offset 140 lines). patching file gcc/testsuite/gcc.target/aarch64/stack-check-12.c patching file gcc/testsuite/gcc.target/aarch64/stack-check-13.c patching file gcc/testsuite/gcc.target/aarch64/stack-check-14.c patching file gcc/testsuite/gcc.target/aarch64/stack-check-15.c patching file gcc/testsuite/lib/target-supports.exp Hunk #1 succeeded at 9269 (offset 68 lines). Hunk #2 succeeded at 9280 (offset 68 lines). + echo 'Patch #13 (gcc8-rh1574936.patch):' Patch #13 (gcc8-rh1574936.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .rh1574936~ --fuzz=0 patching file libgcc/Makefile.in Patch #14 (gcc8-libgcc-hardened.patch): + echo 'Patch #14 (gcc8-libgcc-hardened.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .libgcc-hardened~ --fuzz=0 patching file libgcc/config/t-slibgcc Patch #15 (gcc8-rh1670535.patch): + echo 'Patch #15 (gcc8-rh1670535.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .rh1670535~ --fuzz=0 patching file gcc/collect2.c Hunk #1 succeeded at 838 (offset 7 lines). Hunk #2 succeeded at 846 (offset 7 lines). Hunk #3 succeeded at 1016 (offset 7 lines). Hunk #4 succeeded at 1107 (offset 7 lines). Hunk #5 succeeded at 1327 (offset 7 lines). patching file gcc/common.opt Hunk #1 succeeded at 2715 (offset -17 lines). patching file gcc/doc/invoke.texi Hunk #1 succeeded at 12268 (offset -342 lines). patching file gcc/opts.c Hunk #1 succeeded at 2489 (offset -68 lines). + echo 'Patch #16 (gcc8-libgomp-20190503.patch):' Patch #16 (gcc8-libgomp-20190503.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .libgomp-20190503~ --fuzz=0 patching file libgomp/loop.c patching file libgomp/oacc-plugin.c patching file libgomp/libgomp_g.h patching file libgomp/affinity.c patching file libgomp/sections.c patching file libgomp/config/linux/affinity.c patching file libgomp/config/linux/ia64/futex.h patching file libgomp/config/nvptx/teams.c patching file libgomp/config/nvptx/team.c patching file libgomp/config/nvptx/oacc-parallel.c patching file libgomp/config/nvptx/target.c patching file libgomp/config/nvptx/icv-device.c patching file libgomp/config/nvptx/affinity-fmt.c patching file libgomp/config/mingw32/affinity-fmt.c patching file libgomp/config/rtems/bar.c patching file libgomp/config/rtems/affinity-fmt.c patching file libgomp/config.h.in Hunk #5 succeeded at 143 (offset -3 lines). patching file libgomp/teams.c patching file libgomp/libgomp.map patching file libgomp/oacc-async.c patching file libgomp/loop_ull.c patching file libgomp/oacc-int.h patching file libgomp/testsuite/Makefile.in patching file libgomp/task.c patching file libgomp/team.c patching file libgomp/libgomp.h patching file libgomp/oacc-parallel.c patching file libgomp/openacc2.f90 patching file libgomp/taskloop.c patching file libgomp/parallel.c patching file libgomp/oacc-plugin.h patching file libgomp/target.c patching file libgomp/ordered.c patching file libgomp/alloc.c patching file libgomp/configure.ac patching file libgomp/icv.c patching file libgomp/configure Hunk #9 succeeded at 15403 (offset -11 lines). Hunk #10 succeeded at 15418 (offset -11 lines). Hunk #11 succeeded at 15448 (offset -11 lines). Hunk #12 succeeded at 15485 (offset 17 lines). Hunk #13 succeeded at 15503 (offset 17 lines). Hunk #14 succeeded at 15520 (offset 17 lines). Hunk #15 succeeded at 15546 (offset 17 lines). Hunk #16 succeeded at 15596 (offset 7 lines). Hunk #17 succeeded at 15823 (offset 7 lines). patching file libgomp/Makefile.am patching file libgomp/oacc-mem.c patching file libgomp/env.c patching file libgomp/fortran.c patching file libgomp/configure.tgt patching file libgomp/icv-device.c patching file libgomp/Makefile.in patching file libgomp/plugin/cuda/cuda.h patching file libgomp/plugin/cuda-lib.def patching file libgomp/plugin/plugin-nvptx.c Hunk #12 succeeded at 908 (offset -9 lines). Hunk #13 succeeded at 970 (offset -9 lines). Hunk #14 succeeded at 1154 (offset -9 lines). Hunk #15 succeeded at 1179 (offset -9 lines). Hunk #16 succeeded at 1229 (offset -9 lines). Hunk #17 succeeded at 1417 (offset -9 lines). Hunk #18 succeeded at 1435 (offset -9 lines). Hunk #19 succeeded at 1597 (offset -9 lines). Hunk #20 succeeded at 1653 (offset -9 lines). Hunk #21 succeeded at 1667 (offset -9 lines). Hunk #22 succeeded at 1811 (offset -9 lines). Hunk #23 succeeded at 1927 (offset -9 lines). patching file libgomp/plugin/configfrag.ac Hunk #5 succeeded at 152 (offset -10 lines). Hunk #6 succeeded at 167 (offset -10 lines). Hunk #7 succeeded at 223 (offset 17 lines). Hunk #8 succeeded at 241 (offset 17 lines). Hunk #9 succeeded at 258 (offset 17 lines). Hunk #10 succeeded at 282 (offset 17 lines). patching file libgomp/affinity-fmt.c patching file libgomp/single.c patching file libgomp/oacc-cuda.c patching file libgomp/work.c patching file include/gomp-constants.h + echo 'Patch #17 (gcc8-libgomp-testsuite.patch):' Patch #17 (gcc8-libgomp-testsuite.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .libgomp-testsuite~ --fuzz=0 patching file libgomp/testsuite/libgomp-test-support.exp.in patching file libgomp/testsuite/lib/libgomp.exp Hunk #3 succeeded at 368 (offset 6 lines). Patch #18 (gcc8-remove-old-demangle.patch): + echo 'Patch #18 (gcc8-remove-old-demangle.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .demangle~ --fuzz=0 patching file include/demangle.h Hunk #2 succeeded at 74 (offset -11 lines). Hunk #3 succeeded at 85 (offset -11 lines). Hunk #4 succeeded at 95 (offset -11 lines). Hunk #5 succeeded at 114 (offset -11 lines). patching file libiberty/cplus-dem.c patching file libiberty/testsuite/demangle-expected Hunk #6 succeeded at 1399 (offset -6 lines). + echo 'Patch #19 (gcc8-rh1960701.patch):' Patch #19 (gcc8-rh1960701.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .rh1960701~ --fuzz=0 patching file gcc/cp/call.c patching file gcc/cp/tree.c patching file gcc/testsuite/g++.dg/cpp1y/pr95226.C + echo 'Patch #20 (gcc8-pr100797.patch):' Patch #20 (gcc8-pr100797.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .pr100797~ --fuzz=0 patching file gcc/cp/call.c Hunk #1 succeeded at 7914 (offset -395 lines). Hunk #2 succeeded at 7923 (offset -395 lines). Hunk #3 succeeded at 7937 (offset -395 lines). patching file gcc/testsuite/g++.dg/inherit/virtual15.C patching file gcc/testsuite/g++.dg/inherit/virtual15a.C + echo 'Patch #21 (gcc8-rh1981822.patch):' Patch #21 (gcc8-rh1981822.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .rh1981822~ --fuzz=0 patching file gcc/cp/mangle.c Hunk #1 succeeded at 1610 (offset -18 lines). Hunk #2 succeeded at 2043 (offset 15 lines). patching file gcc/testsuite/g++.dg/abi/lambda-defarg1.C Patch #22 (gcc8-Wbidi-chars.patch): + echo 'Patch #22 (gcc8-Wbidi-chars.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bidi~ --fuzz=0 patching file gcc/c-family/c.opt patching file gcc/doc/invoke.texi patching file gcc/testsuite/c-c++-common/Wbidi-chars-1.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-10.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-11.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-12.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-13.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-14.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-15.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-16.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-17.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-2.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-3.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-4.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-5.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-6.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-7.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-8.c patching file gcc/testsuite/c-c++-common/Wbidi-chars-9.c patching file libcpp/include/cpplib.h patching file libcpp/init.c patching file libcpp/internal.h patching file libcpp/lex.c + echo 'Patch #23 (gcc8-pr96796.patch):' Patch #23 (gcc8-pr96796.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pr96796~ --fuzz=0 patching file gcc/lra-constraints.c Hunk #1 succeeded at 235 (offset -1 lines). Hunk #2 succeeded at 270 (offset -1 lines). Hunk #4 succeeded at 574 (offset -47 lines). patching file gcc/testsuite/gcc.c-torture/compile/pr96796.c + echo 'Patch #24 (gcc8-pch-tweaks.patch):' Patch #24 (gcc8-pch-tweaks.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pch-tweaks~ --fuzz=0 patching file gcc/c-family/c-pch.c patching file gcc/config/avr/avr.c Hunk #1 succeeded at 10245 (offset 131 lines). patching file gcc/config/darwin.c Hunk #1 succeeded at 122 (offset -12 lines). patching file gcc/config/pa/pa.c Hunk #1 succeeded at 9875 (offset -134 lines). Hunk #2 succeeded at 9919 (offset -134 lines). patching file gcc/config/rs6000/rs6000.c Hunk #1 succeeded at 33442 (offset 12843 lines). Hunk #2 succeeded at 34313 (offset 13010 lines). Hunk #3 succeeded at 34372 (offset 13010 lines). patching file gcc/doc/gty.texi Hunk #1 succeeded at 197 (offset -8 lines). patching file gcc/gengtype-state.c patching file gcc/gengtype.c Hunk #1 succeeded at 167 (offset -5 lines). Hunk #2 succeeded at 198 (offset -5 lines). Hunk #3 succeeded at 216 (offset -5 lines). Hunk #4 succeeded at 496 (offset -5 lines). Hunk #5 succeeded at 1469 (offset -5 lines). Hunk #6 succeeded at 1483 (offset -5 lines). Hunk #7 succeeded at 1533 (offset -5 lines). Hunk #8 succeeded at 1549 (offset -5 lines). Hunk #9 succeeded at 1562 (offset -5 lines). Hunk #10 succeeded at 2523 (offset -11 lines). Hunk #11 succeeded at 2724 (offset -11 lines). Hunk #12 succeeded at 2751 (offset -11 lines). Hunk #13 succeeded at 3283 (offset -11 lines). Hunk #14 succeeded at 3829 (offset -11 lines). Hunk #15 succeeded at 3916 (offset -11 lines). Hunk #16 succeeded at 4451 (offset -11 lines). Hunk #17 succeeded at 4746 (offset -11 lines). Hunk #18 succeeded at 4915 (offset -11 lines). patching file gcc/gengtype.h Hunk #1 succeeded at 149 (offset -5 lines). Hunk #2 succeeded at 329 (offset -5 lines). patching file gcc/ggc-common.c patching file gcc/ggc.h patching file gcc/output.h patching file gcc/tree-core.h Hunk #1 succeeded at 1811 (offset -150 lines). patching file gcc/varasm.c Hunk #1 succeeded at 245 (offset -5 lines). Hunk #2 succeeded at 7377 (offset -401 lines). patching file libcpp/include/line-map.h patching file gcc/config/avr/avr.c Hunk #1 succeeded at 10220 (offset 131 lines). Hunk #2 succeeded at 10233 (offset 131 lines). + echo 'Patch #25 (gcc8-aarch64-mtune-neoverse-512tvb.patch):' Patch #25 (gcc8-aarch64-mtune-neoverse-512tvb.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .neoverse~ --fuzz=0 patching file gcc/config/aarch64/aarch64-cores.def patching file gcc/config/aarch64/aarch64-tune.md patching file gcc/doc/invoke.texi Hunk #1 succeeded at 14794 (offset 22 lines). Hunk #2 succeeded at 14807 (offset 22 lines). Hunk #3 succeeded at 14845 (offset 22 lines). + echo 'Patch #26 (gcc8-rh2028609.patch):' Patch #26 (gcc8-rh2028609.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh2028609~ --fuzz=0 patching file gcc/config/s390/s390.c Hunk #1 succeeded at 10606 (offset 118 lines). patching file gcc/regcprop.c Hunk #1 succeeded at 402 (offset -24 lines). patching file gcc/target.def Hunk #1 succeeded at 5259 (offset -187 lines). patching file gcc/hooks.h patching file gcc/hooks.c + echo 'Patch #27 (gcc8-libgfortran-default-values.patch):' Patch #27 (gcc8-libgfortran-default-values.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libgfortran-default~ --fuzz=0 patching file gcc/fortran/io.c Hunk #1 succeeded at 903 (offset -6 lines). Hunk #2 succeeded at 1034 (offset -3 lines). Hunk #3 succeeded at 1110 (offset -3 lines). patching file gcc/testsuite/gfortran.dg/fmt_f_default_field_width.f90 patching file gcc/testsuite/gfortran.dg/fmt_g_default_field_width.f90 patching file gcc/testsuite/gfortran.dg/fmt_i_default_field_width.f90 patching file libgfortran/io/format.c Hunk #2 succeeded at 1121 (offset 1 line). Hunk #3 succeeded at 1136 (offset 1 line). patching file libgfortran/io/io.h Hunk #1 succeeded at 986 (offset 5 lines). patching file libgfortran/io/read.c Hunk #1 succeeded at 633 (offset 4 lines). patching file libgfortran/io/write.c Hunk #1 succeeded at 685 (offset 1 line). Hunk #2 succeeded at 719 (offset 1 line). Hunk #3 succeeded at 848 (offset 1 line). Hunk #4 succeeded at 1210 (offset 19 lines). Hunk #5 succeeded at 1231 (offset 19 lines). Hunk #6 succeeded at 1251 (offset 19 lines). Hunk #7 succeeded at 1491 (offset -17 lines). patching file libgfortran/io/write_float.def Hunk #3 succeeded at 971 (offset 2 lines). Hunk #4 succeeded at 1051 (offset 2 lines). Hunk #5 succeeded at 1062 (offset 2 lines). Hunk #6 succeeded at 1077 (offset 2 lines). + echo 'Patch #28 (gcc8-rh2001788.patch):' Patch #28 (gcc8-rh2001788.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh2001788~ --fuzz=0 patching file libstdc++-v3/include/bits/regex_compiler.h patching file libstdc++-v3/include/bits/regex_compiler.tcc patching file libstdc++-v3/testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc patching file libstdc++-v3/include/bits/regex_compiler.tcc Hunk #1 succeeded at 580 (offset -6 lines). patching file libstdc++-v3/testsuite/17_intro/names.cc patching file libstdc++-v3/include/bits/c++config + echo 'Patch #29 (gcc8-rh2117838.patch):' Patch #29 (gcc8-rh2117838.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh2117838~ --fuzz=0 patching file gcc/testsuite/g++.dg/torture/phi-1.C patching file gcc/tree-cfg.c + echo 'Patch #30 (gcc8-rh1668903-1.patch):' Patch #30 (gcc8-rh1668903-1.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .rh1668903-1~ --fuzz=0 patching file gcc/cif-code.def patching file gcc/common.opt Hunk #1 succeeded at 2127 (offset -54 lines). patching file gcc/doc/invoke.texi Hunk #1 succeeded at 390 (offset 1 line). Hunk #2 succeeded at 8687 (offset -605 lines). patching file gcc/flag-types.h patching file gcc/ipa-inline.c Hunk #1 succeeded at 380 (offset 1 line). patching file gcc/opts.c patching file gcc/testsuite/gcc.dg/live-patching-1.c patching file gcc/testsuite/gcc.dg/live-patching-2.c patching file gcc/testsuite/gcc.dg/live-patching-3.c + echo 'Patch #31 (gcc8-rh1668903-2.patch):' Patch #31 (gcc8-rh1668903-2.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .rh1668903-2~ --fuzz=0 patching file gcc/ipa-inline.c Hunk #1 succeeded at 380 (offset -5 lines). Hunk #2 succeeded at 422 (offset -5 lines). patching file gcc/testsuite/gcc.dg/live-patching-4.c + echo 'Patch #32 (gcc8-rh1668903-3.patch):' Patch #32 (gcc8-rh1668903-3.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .rh1668903-3~ --fuzz=0 patching file gcc/doc/invoke.texi Hunk #1 succeeded at 8689 (offset -678 lines). Hunk #2 succeeded at 8717 (offset -678 lines). Hunk #3 succeeded at 8728 (offset -678 lines). + echo 'Patch #33 (gcc8-harden-1.patch):' Patch #33 (gcc8-harden-1.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .harden-1~ --fuzz=0 patching file gcc/config/i386/i386-opts.h patching file gcc/config/i386/i386.c patching file gcc/config/i386/i386.opt patching file gcc/doc/invoke.texi Hunk #1 succeeded at 1286 (offset 2 lines). Hunk #2 succeeded at 28138 (offset 102 lines). patching file gcc/testsuite/gcc.target/i386/harden-sls-1.c patching file gcc/testsuite/gcc.target/i386/harden-sls-2.c patching file gcc/testsuite/gcc.target/i386/harden-sls-3.c patching file gcc/testsuite/gcc.target/i386/harden-sls-4.c patching file gcc/testsuite/gcc.target/i386/harden-sls-5.c + echo 'Patch #34 (gcc8-harden-2.patch):' Patch #34 (gcc8-harden-2.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .harden-2~ --fuzz=0 patching file gcc/config/i386/i386.c patching file gcc/config/i386/i386.opt patching file gcc/doc/invoke.texi Hunk #1 succeeded at 1286 (offset 2 lines). Hunk #2 succeeded at 28147 (offset 102 lines). patching file gcc/testsuite/gcc.target/i386/indirect-thunk-cs-prefix-1.c patching file gcc/testsuite/gcc.target/i386/indirect-thunk-cs-prefix-2.c Patch #35 (gcc8-harden-3.patch): + echo 'Patch #35 (gcc8-harden-3.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .harden-3~ --fuzz=0 patching file gcc/config/i386/i386-opts.h patching file gcc/config/i386/i386.c patching file gcc/config/i386/i386.opt patching file gcc/doc/invoke.texi Hunk #1 succeeded at 28143 (offset 102 lines). + echo 'Patch #36 (gcc8-harden-4.patch):' Patch #36 (gcc8-harden-4.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .harden-4~ --fuzz=0 patching file gcc/config/i386/i386.c patching file gcc/testsuite/gcc.target/i386/harden-sls-6.c + echo 'Patch #37 (gcc8-pr105502.patch):' Patch #37 (gcc8-pr105502.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pr105502~ --fuzz=0 patching file libstdc++-v3/include/bits/random.tcc Hunk #1 succeeded at 1938 (offset -3 lines). patching file libstdc++-v3/testsuite/26_numerics/random/normal_distribution/operators/serialize.cc Patch #38 (gcc8-pr99536.patch): + echo 'Patch #38 (gcc8-pr99536.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pr99536~ --fuzz=0 patching file libstdc++-v3/include/bits/random.h Hunk #2 succeeded at 2116 (offset -42 lines). + echo 'Patch #39 (gcc8-libstdc++-make_shared.patch):' Patch #39 (gcc8-libstdc++-make_shared.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .make_shared~ --fuzz=0 patching file libstdc++-v3/include/bits/shared_ptr.h Hunk #1 succeeded at 702 (offset 4 lines). patching file libstdc++-v3/include/bits/shared_ptr_base.h Hunk #1 succeeded at 1835 (offset 13 lines). patching file libstdc++-v3/testsuite/20_util/shared_ptr/creation/99006.cc Patch #40 (gcc8-rh2137448.patch): + echo 'Patch #40 (gcc8-rh2137448.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh2137448~ --fuzz=0 patching file gcc/testsuite/c-c++-common/torture/strlenopt-1.c patching file gcc/tree-ssa-strlen.c + echo 'Patch #41 (Improve-specs-processing-to-allow-in-function-argume.patch):' Patch #41 (Improve-specs-processing-to-allow-in-function-argume.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .fixspec~ --fuzz=0 can't find file to patch at input line 31 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 6e6de5b31ac9b5a523fbf60099d00124d99aa0d0 Mon Sep 17 00:00:00 2001 |From: Lixing |Date: Mon, 31 Jul 2023 10:08:23 +0800 |Subject: [PATCH 2/2] Improve specs processing to allow %* in function | arguments | |2018-07-31 Olivier Hainque | | * gcc.c (handle_spec_function): Accept a soft_matched_part | argument, as do_spec_1. Pass it down to ... | (eval_spec_function): Accept a soft_matched_part argument, | and pass it down to ... | (do_spec_2): Accept a soft_matched_part argument, and pass | it down to do_spec_1. | (do_spec_1): Pass soft_matched_part to handle_spec_function. | (handle_braces): Update call to handle_spec_function. | (driver::set_up_specs): Update calls to do_spec_2. | (compare_debug_dump_opt_spec_function): Likewise. | (compare_debug_self_opt_spec_function): Likewise. | |[Upstream] 1102fd64dbb767 (Deleted ChangeLog) |Link: https://gcc.gnu.org/git/?p=gcc.git;a=patch;f=gcc/gcc.cc;h=1102fd64dbb76784ed46ff81bf905f6c52d296fc |--- | gcc/gcc.c | 51 +++++++++++++++++++++++++++++---------------------- | 1 file changed, 29 insertions(+), 22 deletions(-) | |diff --git a/gcc/gcc.c b/gcc/gcc.c |index 3b87e91b6..3c46e0769 100644 |--- a/gcc/gcc.c |+++ b/gcc/gcc.c -------------------------- File to patch: Skip this patch? [y] Skipping patch. 17 out of 17 hunks ignored RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.i6smvM (%prep) Bad exit status from /var/tmp/rpm-tmp.i6smvM (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gcc.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gcc.spec