Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/gcc.spec'], chrootPath='/mnt/mock/kojid//dist-an23.5-AImanager-build-533855-81267/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --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 warning: Macro expanded in comment on line 167: %{?scl_prefix}gdb >= 7.4.50 warning: Macro expanded in comment on line 2615: %{?rhel} < 8 warning: Macro expanded in comment on line 2617: %{_root_prefix}}%{!?scl:%{_prefix}}/%{_lib}/libubsan.so.1* warning: Macro expanded in comment on line 2665: %{?rhel} < 8 warning: Macro expanded in comment on line 2667: %{_root_prefix}}%{!?scl:%{_prefix}}/%{_lib}/liblsan.so.0* Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1746489600 Wrote: /builddir/build/SRPMS/gcc-toolset-14-gcc-14.2.1-3.an23.src.rpm RPM build warnings: Macro expanded in comment on line 167: %{?scl_prefix}gdb >= 7.4.50 Macro expanded in comment on line 2615: %{?rhel} < 8 Macro expanded in comment on line 2617: %{_root_prefix}}%{!?scl:%{_prefix}}/%{_lib}/libubsan.so.1* Macro expanded in comment on line 2665: %{?rhel} < 8 Macro expanded in comment on line 2667: %{_root_prefix}}%{!?scl:%{_prefix}}/%{_lib}/liblsan.so.0* Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/gcc.spec'], chrootPath='/mnt/mock/kojid//dist-an23.5-AImanager-build-533855-81267/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --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 warning: Macro expanded in comment on line 167: %{?scl_prefix}gdb >= 7.4.50 warning: Macro expanded in comment on line 2615: %{?rhel} < 8 warning: Macro expanded in comment on line 2617: %{_root_prefix}}%{!?scl:%{_prefix}}/%{_lib}/libubsan.so.1* warning: Macro expanded in comment on line 2665: %{?rhel} < 8 warning: Macro expanded in comment on line 2667: %{_root_prefix}}%{!?scl:%{_prefix}}/%{_lib}/liblsan.so.0* Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1746489600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.auY5fj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gcc-14.2.1-20240801 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gcc-14.2.1-20240801.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd gcc-14.2.1-20240801 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/isl-0.24.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/newlib-cygwin-d45261f62a15f8abd94a1031020b9a9f455e4eed.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gcc14-hack.patch):' Patch #0 (gcc14-hack.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .hack~ --fuzz=0 patching file libada/Makefile.in Hunk #1 succeeded at 73 (offset 2 lines). Hunk #2 succeeded at 118 (offset 3 lines). patching file config-ml.in Hunk #1 succeeded at 522 (offset 11 lines). patching file libcpp/macro.cc Hunk #1 succeeded at 3581 (offset 325 lines). Hunk #2 succeeded at 3708 (offset 328 lines). Hunk #3 succeeded at 3725 (offset 328 lines). patching file libcpp/expr.cc Hunk #1 succeeded at 834 (offset 31 lines). + echo 'Patch #2 (gcc14-sparc-config-detection.patch):' Patch #2 (gcc14-sparc-config-detection.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .sparc-config-detection~ --fuzz=0 patching file gcc/config.gcc Hunk #1 succeeded at 3438 (offset 108 lines). Hunk #2 succeeded at 3492 (offset 108 lines). patching file libgcc/config.host Hunk #1 succeeded at 1452 (offset 450 lines). Hunk #2 succeeded at 1500 (offset 450 lines). Patch #3 (gcc14-libgomp-omp_h-multilib.patch): + echo 'Patch #3 (gcc14-libgomp-omp_h-multilib.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .libgomp-omp_h-multilib~ --fuzz=0 patching file libgomp/omp.h.in Hunk #1 succeeded at 52 (offset 10 lines). Patch #4 (gcc14-libtool-no-rpath.patch): + echo 'Patch #4 (gcc14-libtool-no-rpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 #7 (gcc14-libstdc++-docs.patch): + echo 'Patch #7 (gcc14-libstdc++-docs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 Patch #8 (gcc14-no-add-needed.patch): + echo 'Patch #8 (gcc14-no-add-needed.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .no-add-needed~ --fuzz=0 patching file gcc/config/alpha/elf.h Hunk #1 succeeded at 142 (offset -26 lines). patching file gcc/config/ia64/linux.h patching file gcc/config/gnu-user.h Patch #9 (gcc14-Wno-format-security.patch): + echo 'Patch #9 (gcc14-Wno-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .Wno-format-security~ --fuzz=0 patching file gcc/configure.ac Hunk #1 succeeded at 593 (offset 23 lines). patching file gcc/configure Hunk #1 succeeded at 7160 (offset 83 lines). patching file Makefile.tpl Hunk #1 succeeded at 449 (offset 1 line). patching file Makefile.in Hunk #1 succeeded at 446 (offset 1 line). Patch #10 (gcc14-rh1574936.patch): + echo 'Patch #10 (gcc14-rh1574936.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .rh1574936~ --fuzz=0 patching file libgcc/config/t-linux Patch #11 (gcc14-d-shared-libphobos.patch): + echo 'Patch #11 (gcc14-d-shared-libphobos.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .d-shared-libphobos~ --fuzz=0 patching file gcc/d/d-spec.cc Hunk #1 succeeded at 426 (offset 18 lines). Patch #12 (gcc14-pr101523.patch): + echo 'Patch #12 (gcc14-pr101523.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pr101523~ --fuzz=0 patching file gcc/combine.cc Patch #100 (gcc14-fortran-fdec-duplicates.patch): + echo 'Patch #100 (gcc14-fortran-fdec-duplicates.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fortran-fdec-duplicates~ --fuzz=0 patching file gcc/fortran/lang.opt Hunk #1 succeeded at 486 (offset 17 lines). patching file gcc/fortran/options.cc Hunk #1 succeeded at 79 (offset 2 lines). patching file gcc/fortran/symbol.cc Hunk #1 succeeded at 2008 (offset 13 lines). Hunk #2 succeeded at 2022 (offset 13 lines). Hunk #3 succeeded at 2052 (offset 13 lines). patching file gcc/testsuite/gfortran.dg/duplicate_type_4.f90 patching file gcc/testsuite/gfortran.dg/duplicate_type_5.f90 patching file gcc/testsuite/gfortran.dg/duplicate_type_6.f90 patching file gcc/testsuite/gfortran.dg/duplicate_type_7.f90 patching file gcc/testsuite/gfortran.dg/duplicate_type_8.f90 patching file gcc/testsuite/gfortran.dg/duplicate_type_9.f90 Patch #1000 (gcc14-libstdc++-compat.patch): + echo 'Patch #1000 (gcc14-libstdc++-compat.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .libstdc++-compat~ --fuzz=0 patching file libstdc++-v3/config/locale/gnu/c_locale.cc patching file libstdc++-v3/libsupc++/eh_exception.cc patching file libstdc++-v3/src/nonshared98/ios_failure.cc patching file libstdc++-v3/src/nonshared98/char8_t-rtti.S patching file libstdc++-v3/src/nonshared98/extfloat.S patching file libstdc++-v3/src/nonshared98/locale_facets.cc patching file libstdc++-v3/src/nonshared98/ios_init.cc patching file libstdc++-v3/src/nonshared98/Makefile.am patching file libstdc++-v3/src/nonshared98/Makefile.in patching file libstdc++-v3/src/nonshared11/string-inst80.cc patching file libstdc++-v3/src/nonshared11/debug110.cc patching file libstdc++-v3/src/nonshared11/cxx11-wlocale-inst80.cc patching file libstdc++-v3/src/nonshared11/istream-inst80.cc patching file libstdc++-v3/src/nonshared11/limits.cc patching file libstdc++-v3/src/nonshared11/streambuf-inst.cc patching file libstdc++-v3/src/nonshared11/cxx11-wlocale-inst110.cc patching file libstdc++-v3/src/nonshared11/cow-string-inst80.cc patching file libstdc++-v3/src/nonshared11/eh_ptr80.cc patching file libstdc++-v3/src/nonshared11/cxx11-locale-inst110.cc patching file libstdc++-v3/src/nonshared11/cow-wstring-inst80.cc patching file libstdc++-v3/src/nonshared11/wlocale-inst80.cc patching file libstdc++-v3/src/nonshared11/condition_variable80.cc patching file libstdc++-v3/src/nonshared11/wstring-inst110.cc patching file libstdc++-v3/src/nonshared11/locale-inst80.cc patching file libstdc++-v3/src/nonshared11/codecvt80.cc patching file libstdc++-v3/src/nonshared11/sstream-inst80.cc patching file libstdc++-v3/src/nonshared11/Makefile.am patching file libstdc++-v3/src/nonshared11/wlocale-inst110.cc patching file libstdc++-v3/src/nonshared11/Makefile.in patching file libstdc++-v3/src/nonshared11/functexcept80.cc patching file libstdc++-v3/src/nonshared11/debug.cc patching file libstdc++-v3/src/nonshared11/cow-sstream-inst80.cc patching file libstdc++-v3/src/nonshared11/cow-stdexcept80.cc patching file libstdc++-v3/src/nonshared11/cxx11-ios_failure80.cc patching file libstdc++-v3/src/nonshared11/shared_ptr80.cc patching file libstdc++-v3/src/nonshared11/wstring-inst80.cc patching file libstdc++-v3/src/nonshared11/basic_file.cc patching file libstdc++-v3/src/nonshared11/string-inst110.cc patching file libstdc++-v3/src/nonshared11/locale-inst110.cc patching file libstdc++-v3/src/nonshared11/cxx11-locale-inst80.cc patching file libstdc++-v3/src/nonshared11/futex80.cc patching file libstdc++-v3/src/shared/hashtable-aux.cc patching file libstdc++-v3/src/nonshared20/tzdb110.cc patching file libstdc++-v3/src/nonshared20/sstream-inst80.cc patching file libstdc++-v3/src/nonshared20/Makefile.am patching file libstdc++-v3/src/nonshared20/tzdb80.cc patching file libstdc++-v3/src/nonshared20/Makefile.in patching file libstdc++-v3/src/c++98/ios_failure.cc patching file libstdc++-v3/src/c++98/locale_facets.cc patching file libstdc++-v3/src/nonshared26/text_encoding.cc patching file libstdc++-v3/src/nonshared26/Makefile.am patching file libstdc++-v3/src/nonshared26/Makefile.in patching file libstdc++-v3/src/nonshared23/stacktrace.cc patching file libstdc++-v3/src/nonshared23/print.cc patching file libstdc++-v3/src/nonshared23/Makefile.am patching file libstdc++-v3/src/nonshared23/Makefile.in patching file libstdc++-v3/src/c++17/floating_from_chars.cc patching file libstdc++-v3/src/c++17/floating_to_chars.cc patching file libstdc++-v3/src/nonshared17/floating_from_chars.cc patching file libstdc++-v3/src/nonshared17/floating_from_chars110.cc patching file libstdc++-v3/src/nonshared17/cow-fs_ops.cc patching file libstdc++-v3/src/nonshared17/eh_call.cc patching file libstdc++-v3/src/nonshared17/fs_dir110.cc patching file libstdc++-v3/src/nonshared17/cow-fs_path.cc patching file libstdc++-v3/src/nonshared17/memory_resource.cc patching file libstdc++-v3/src/nonshared17/fs_dir.cc patching file libstdc++-v3/src/nonshared17/fs_ops80.cc patching file libstdc++-v3/src/nonshared17/fs_path80.cc patching file libstdc++-v3/src/nonshared17/cow-fs_dir.cc patching file libstdc++-v3/src/nonshared17/Makefile.am patching file libstdc++-v3/src/nonshared17/cow-string-inst.cc patching file libstdc++-v3/src/nonshared17/Makefile.in patching file libstdc++-v3/src/nonshared17/ostream-inst110.cc patching file libstdc++-v3/src/nonshared17/ostream-inst.cc patching file libstdc++-v3/src/nonshared17/floating_to_chars.cc patching file libstdc++-v3/src/nonshared17/cow-string-inst110.cc patching file libstdc++-v3/src/nonshared17/string-inst.cc patching file libstdc++-v3/src/nonshared17/eh_terminate.cc patching file libstdc++-v3/src/nonshared17/floating_to_chars110.cc patching file libstdc++-v3/src/nonshared17/string-inst110.cc patching file libstdc++-v3/src/nonshared17/cow-fs_dir110.cc patching file libstdc++-v3/src/Makefile.am patching file libstdc++-v3/src/Makefile.in patching file libstdc++-v3/src/c++11/condition_variable.cc patching file libstdc++-v3/src/c++11/system_error.cc patching file libstdc++-v3/src/c++11/cxx11-ios_failure.cc patching file libstdc++-v3/src/c++11/futex.cc patching file libstdc++-v3/src/c++11/shared_ptr.cc patching file libstdc++-v3/src/c++11/codecvt.cc patching file libstdc++-v3/src/c++11/ios.cc patching file libstdc++-v3/configure.ac patching file libstdc++-v3/configure patching file libstdc++-v3/acinclude.m4 + echo 'Patch #1001 (gcc14-libgfortran-compat.patch):' Patch #1001 (gcc14-libgfortran-compat.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .libgfortran-compat~ --fuzz=0 patching file libgfortran/Makefile.am patching file libgfortran/ieee/nonshared-ieee_exceptions.c patching file libgfortran/ieee/nonshared-ieee_arithmetic.c patching file libgfortran/Makefile.in patching file libgfortran/libgfortran.h patching file libgfortran/runtime/nonshared-error.c patching file libgfortran/io/nonshared-transfer.c Patch #3000 (0001-basic_string-reserve-n-semantics-are-not-available-i.patch): + echo 'Patch #3000 (0001-basic_string-reserve-n-semantics-are-not-available-i.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-0~ --fuzz=0 patching file libstdc++-v3/testsuite/21_strings/basic_string/capacity/char/1.cc Hunk #1 succeeded at 43 (offset 2 lines). patching file libstdc++-v3/testsuite/21_strings/basic_string/capacity/char/18654.cc patching file libstdc++-v3/testsuite/21_strings/basic_string/capacity/wchar_t/1.cc patching file libstdc++-v3/testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc Patch #3001 (0004-operator-istream-char-N-eofbit-fixes-are-not-availab.patch): + echo 'Patch #3001 (0004-operator-istream-char-N-eofbit-fixes-are-not-availab.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-1~ --fuzz=0 patching file libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/13.cc patching file libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/13.cc Patch #3002 (0005-Disable-tests-for-PR-libstdc-79820-and-PR-libstdc-81.patch): + echo 'Patch #3002 (0005-Disable-tests-for-PR-libstdc-79820-and-PR-libstdc-81.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-2~ --fuzz=0 patching file libstdc++-v3/testsuite/ext/stdio_filebuf/char/79820.cc patching file libstdc++-v3/testsuite/ext/stdio_filebuf/char/81751.cc Patch #3003 (0006-Don-t-assume-has_facet-codecvt_c16-when-run-against-.patch): + echo 'Patch #3003 (0006-Don-t-assume-has_facet-codecvt_c16-when-run-against-.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-3~ --fuzz=0 patching file libstdc++-v3/testsuite/22_locale/codecvt/char16_t-char8_t.cc patching file libstdc++-v3/testsuite/22_locale/codecvt/char16_t.cc patching file libstdc++-v3/testsuite/22_locale/codecvt/char32_t-char8_t.cc patching file libstdc++-v3/testsuite/22_locale/codecvt/char32_t.cc patching file libstdc++-v3/testsuite/22_locale/codecvt/utf8-char8_t.cc patching file libstdc++-v3/testsuite/22_locale/codecvt/utf8.cc Patch #3004 (0008-testsuite-build-plugins-with-std-c-11.patch): + echo 'Patch #3004 (0008-testsuite-build-plugins-with-std-c-11.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-4~ --fuzz=0 patching file gcc/testsuite/lib/plugin-support.exp Patch #3006 (0010-Don-t-verify-exception-handling-in-basic_filebuf-clo.patch): + echo 'Patch #3006 (0010-Don-t-verify-exception-handling-in-basic_filebuf-clo.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-6~ --fuzz=0 patching file libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/81256.cc Patch #3007 (0011-Add-dts.exp-and-use-it-to-fix-22_locale-messages-136.patch): + echo 'Patch #3007 (0011-Add-dts.exp-and-use-it-to-fix-22_locale-messages-136.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-7~ --fuzz=0 patching file libstdc++-v3/testsuite/22_locale/messages/13631.cc patching file libstdc++-v3/testsuite/lib/dts.exp patching file libstdc++-v3/testsuite/lib/libstdc++.exp Hunk #1 succeeded at 73 (offset 15 lines). Hunk #2 succeeded at 337 (offset 13 lines). Patch #3008 (0012-dts.exp-use-usr-bin-gcc.patch): + echo 'Patch #3008 (0012-dts.exp-use-usr-bin-gcc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-8~ --fuzz=0 patching file libstdc++-v3/testsuite/lib/dts.exp Patch #3009 (0013-Rename-__CXXSTDLIB_SO_VERSION__-to-__LIBSTDCXX_SO_VE.patch): + echo 'Patch #3009 (0013-Rename-__CXXSTDLIB_SO_VERSION__-to-__LIBSTDCXX_SO_VE.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-9~ --fuzz=0 patching file libstdc++-v3/testsuite/22_locale/messages/13631.cc patching file libstdc++-v3/testsuite/lib/dts.exp patching file libstdc++-v3/testsuite/lib/libstdc++.exp Hunk #1 succeeded at 339 (offset 13 lines). Patch #3010 (0014-Conditionalize-tests-for-PR-libstdc-98466-on-__LIBST.patch): + echo 'Patch #3010 (0014-Conditionalize-tests-for-PR-libstdc-98466-on-__LIBST.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-10~ --fuzz=0 patching file libstdc++-v3/testsuite/23_containers/deque/debug/98466.cc patching file libstdc++-v3/testsuite/23_containers/unordered_map/debug/98466.cc Patch #3011 (0015-Conditionalize-test-for-PR-libstdc-87135-on-__LIBSTD.patch): + echo 'Patch #3011 (0015-Conditionalize-test-for-PR-libstdc-87135-on-__LIBSTD.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-11~ --fuzz=0 patching file libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/reserve.cc Patch #3012 (0016-Conditionalize-test-for-hashtable-bucket-sizes-on-__.patch): + echo 'Patch #3012 (0016-Conditionalize-test-for-hashtable-bucket-sizes-on-__.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-12~ --fuzz=0 patching file libstdc++-v3/testsuite/23_containers/unordered_set/cons/bucket_hint.cc patching file libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/insert.cc Patch #3013 (0017-Conditionalize-test-for-PR-libstdc-71181-on-__LIBSTD.patch): + echo 'Patch #3013 (0017-Conditionalize-test-for-PR-libstdc-71181-on-__LIBSTD.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-13~ --fuzz=0 patching file libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/71181.cc Patch #3014 (gcc14-dg-ice-fixes.patch): + echo 'Patch #3014 (gcc14-dg-ice-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-14~ --fuzz=0 patching file gcc/testsuite/c-c++-common/goacc/kernels-decompose-pr100400-1-3.c patching file gcc/testsuite/c-c++-common/goacc/kernels-decompose-pr100400-1-4.c patching file gcc/testsuite/g++.dg/cpp0x/vt-88982.C patching file gcc/testsuite/g++.dg/cpp1y/auto-fn61.C Patch #3015 (0018-Use-CXX11-ABI.patch): + echo 'Patch #3015 (0018-Use-CXX11-ABI.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-15~ --fuzz=0 patching file gcc/testsuite/g++.dg/warn/Wfree-nonheap-object-3.C Patch #3017 (0020-more-fixes.patch): + echo 'Patch #3017 (0020-more-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-17~ --fuzz=0 patching file gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c Patch #3018 (0021-libstdc++-disable-tests.patch): + echo 'Patch #3018 (0021-libstdc++-disable-tests.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-18~ --fuzz=0 patching file libstdc++-v3/testsuite/22_locale/time_get/get/char/2.cc patching file libstdc++-v3/testsuite/22_locale/time_get/get/char/3.cc patching file libstdc++-v3/testsuite/22_locale/time_get/get/char/4.cc patching file libstdc++-v3/testsuite/22_locale/time_get/get/char/71367.cc patching file libstdc++-v3/testsuite/22_locale/time_get/get/char/71557.cc patching file libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/3.cc patching file libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/4.cc patching file libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/71367.cc patching file libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/71557.cc patching file libstdc++-v3/testsuite/22_locale/time_get/get_year/char/6.cc patching file libstdc++-v3/testsuite/22_locale/time_get/get_year/wchar_t/6.cc patching file libstdc++-v3/testsuite/27_io/basic_istream/ws/char/lwg415.cc patching file libstdc++-v3/testsuite/27_io/basic_istream/ws/wchar_t/lwg415.cc patching file libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/noreplace.cc Hunk #1 succeeded at 16 (offset 1 line). Hunk #2 succeeded at 28 (offset 1 line). patching file libstdc++-v3/testsuite/27_io/basic_ofstream/open/wchar_t/noreplace.cc Hunk #1 succeeded at 16 (offset 1 line). Hunk #2 succeeded at 28 (offset 1 line). patching file libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/n3168.cc patching file libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/n3168.cc patching file libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/n3168.cc patching file libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/n3168.cc patching file libstdc++-v3/testsuite/22_locale/time_get/get_time/char/2.cc patching file libstdc++-v3/testsuite/22_locale/time_get/get_time/wchar_t/2.cc patching file libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/2.cc patching file libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/2.cc patching file libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/2.cc patching file libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc patching file libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/exceptions_badbit_throw.cc patching file libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/exceptions_badbit_throw.cc patching file libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/exceptions_badbit_throw.cc patching file libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/2.cc patching file libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc Patch #3019 (0001-LoongArch-Remove-the-definition-of-the-macro-LOGICAL.patch): + echo 'Patch #3019 (0001-LoongArch-Remove-the-definition-of-the-macro-LOGICAL.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-19~ --fuzz=0 patching file gcc/config/loongarch/loongarch.h Patch #3020 (0002-LoongArch-Fix-mode-size-comparision-in-loongarch_exp.patch): + echo 'Patch #3020 (0002-LoongArch-Fix-mode-size-comparision-in-loongarch_exp.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-20~ --fuzz=0 patching file gcc/config/loongarch/loongarch.cc Patch #3021 (0003-LoongArch-Use-bstrins-for-value-1u-const.patch): + echo 'Patch #3021 (0003-LoongArch-Use-bstrins-for-value-1u-const.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-21~ --fuzz=0 patching file gcc/config/loongarch/constraints.md patching file gcc/config/loongarch/loongarch.md patching file gcc/config/loongarch/predicates.md patching file gcc/testsuite/gcc.target/loongarch/bstrins-1.c patching file gcc/testsuite/gcc.target/loongarch/bstrins-2.c Patch #3022 (0004-LoongArch-Tweak-IOR-rtx_cost-for-bstrins.patch): + echo 'Patch #3022 (0004-LoongArch-Tweak-IOR-rtx_cost-for-bstrins.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-22~ --fuzz=0 patching file gcc/config/loongarch/loongarch.cc patching file gcc/testsuite/gcc.target/loongarch/bstrins-3.c Patch #3023 (0005-LoongArch-NFC-Dedup-and-sort-the-comment-in-loongarc.patch): + echo 'Patch #3023 (0005-LoongArch-NFC-Dedup-and-sort-the-comment-in-loongarc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-23~ --fuzz=0 patching file gcc/config/loongarch/loongarch.cc + echo 'Patch #3024 (0006-LoongArch-Fix-explicit-relocs-extreme-tls-desc.c-tes.patch):' Patch #3024 (0006-LoongArch-Fix-explicit-relocs-extreme-tls-desc.c-tes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-24~ --fuzz=0 patching file gcc/testsuite/gcc.target/loongarch/explicit-relocs-extreme-tls-desc.c patching file gcc/testsuite/gcc.target/loongarch/explicit-relocs-tls-desc.c Patch #3025 (0007-LoongArch-Define-loongarch_insn_cost-and-set-the-cos.patch): + echo 'Patch #3025 (0007-LoongArch-Define-loongarch_insn_cost-and-set-the-cos.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-25~ --fuzz=0 patching file gcc/config/loongarch/loongarch.cc + echo 'Patch #3026 (0008-LoongArch-Remove-unreachable-codes.patch):' Patch #3026 (0008-LoongArch-Remove-unreachable-codes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-26~ --fuzz=0 patching file gcc/config/loongarch/loongarch.cc patching file gcc/config/loongarch/loongarch.md Patch #3027 (0009-LoongArch-Organize-the-code-related-to-split-move-an.patch): + echo 'Patch #3027 (0009-LoongArch-Organize-the-code-related-to-split-move-an.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-27~ --fuzz=0 patching file gcc/config/loongarch/loongarch-protos.h patching file gcc/config/loongarch/loongarch.cc patching file gcc/config/loongarch/loongarch.md Patch #3028 (0010-LoongArch-Expand-some-SImode-operations-through-si3_.patch): + echo 'Patch #3028 (0010-LoongArch-Expand-some-SImode-operations-through-si3_.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-28~ --fuzz=0 patching file gcc/config/loongarch/loongarch.md patching file gcc/testsuite/gcc.target/loongarch/bitwise_extend.c Patch #3029 (0011-LoongArch-Relax-ins_zero_bitmask_operand-and-remove-.patch): + echo 'Patch #3029 (0011-LoongArch-Relax-ins_zero_bitmask_operand-and-remove-.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-29~ --fuzz=0 patching file gcc/config/loongarch/constraints.md patching file gcc/config/loongarch/loongarch.md patching file gcc/config/loongarch/predicates.md patching file gcc/testsuite/gcc.target/loongarch/bstrins-4.c Patch #3030 (0012-LoongArch-Rework-bswap-hi-si-di-2-definition.patch): + echo 'Patch #3030 (0012-LoongArch-Rework-bswap-hi-si-di-2-definition.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-30~ --fuzz=0 patching file gcc/config/loongarch/loongarch.md patching file gcc/testsuite/gcc.target/loongarch/revb.c Patch #3031 (0013-testsuite-fix-dg-do-preprocess-typo.patch): + echo 'Patch #3031 (0013-testsuite-fix-dg-do-preprocess-typo.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-31~ --fuzz=0 patching file gcc/testsuite/g++.target/loongarch/pr106828.C Patch #3032 (0014-LoongArch-Remove-gawk-extension-from-a-generator-scr.patch): + echo 'Patch #3032 (0014-LoongArch-Remove-gawk-extension-from-a-generator-scr.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-32~ --fuzz=0 patching file gcc/config/loongarch/genopts/gen-evolution.awk Patch #3033 (0015-LoongArch-Use-iorn-and-andn-standard-pattern-names.patch): + echo 'Patch #3033 (0015-LoongArch-Use-iorn-and-andn-standard-pattern-names.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-33~ --fuzz=0 patching file gcc/config/loongarch/lasx.md patching file gcc/config/loongarch/loongarch-builtins.cc patching file gcc/config/loongarch/loongarch.md patching file gcc/config/loongarch/lsx.md patching file gcc/testsuite/gcc.target/loongarch/lasx-andn-iorn.c patching file gcc/testsuite/gcc.target/loongarch/lsx-andn-iorn.c Patch #3034 (0016-LoongArch-Drop-vcond-u-expanders.patch): + echo 'Patch #3034 (0016-LoongArch-Drop-vcond-u-expanders.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-34~ --fuzz=0 patching file gcc/config/loongarch/lasx.md patching file gcc/config/loongarch/lsx.md Patch #3035 (0017-LoongArch-Provide-ashr-lshr-and-ashl-RTL-pattern-for.patch): + echo 'Patch #3035 (0017-LoongArch-Provide-ashr-lshr-and-ashl-RTL-pattern-for.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-35~ --fuzz=0 patching file gcc/config/loongarch/loongarch.md patching file gcc/config/loongarch/simd.md patching file gcc/testsuite/g++.target/loongarch/vect-ashr-lshr.C Patch #3036 (0018-LoongArch-Implement-scalar-isinf-isnormal-and-isfini.patch): + echo 'Patch #3036 (0018-LoongArch-Implement-scalar-isinf-isnormal-and-isfini.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-36~ --fuzz=0 patching file gcc/config/loongarch/loongarch.md patching file gcc/testsuite/gcc.target/loongarch/fclass-compile.c patching file gcc/testsuite/gcc.target/loongarch/fclass-run.c Patch #3037 (0019-LoongArch-Add-support-to-annotate-tablejump.patch): + echo 'Patch #3037 (0019-LoongArch-Add-support-to-annotate-tablejump.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-37~ --fuzz=0 patching file gcc/config/loongarch/genopts/loongarch.opt.in patching file gcc/config/loongarch/loongarch.md patching file gcc/config/loongarch/loongarch.opt patching file gcc/testsuite/gcc.target/loongarch/jump-table-annotate.c Patch #3038 (0020-LoongArch-Fix-up-r15-4130.patch): + echo 'Patch #3038 (0020-LoongArch-Fix-up-r15-4130.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-38~ --fuzz=0 patching file gcc/config/loongarch/loongarch.opt Patch #3039 (0021-LoongArch-Change-OSDIR-for-distribution.patch): + echo 'Patch #3039 (0021-LoongArch-Change-OSDIR-for-distribution.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-39~ --fuzz=0 patching file gcc/config/loongarch/t-linux Patch #3040 (0022-LoongArch-support-nonshared-extfloat.diff): + echo 'Patch #3040 (0022-LoongArch-support-nonshared-extfloat.diff):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-40~ --fuzz=0 patching file libstdc++-v3/src/nonshared98/extfloat.S Patch #3041 (0023-LoongArch-compat-for-libstdcxx-nonshared.diff): + echo 'Patch #3041 (0023-LoongArch-compat-for-libstdcxx-nonshared.diff):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-41~ --fuzz=0 patching file libstdc++-v3/src/nonshared17/cow-fs_dir.cc patching file libstdc++-v3/src/nonshared17/floating_from_chars110.cc patching file libstdc++-v3/src/nonshared17/floating_to_chars110.cc patching file libstdc++-v3/src/nonshared17/fs_dir.cc patching file libstdc++-v3/src/nonshared20/tzdb110.cc patching file libstdc++-v3/src/nonshared20/tzdb80.cc Patch #3042 (0024-LoongArch-fix-dg-do-what.diff): + echo 'Patch #3042 (0024-LoongArch-fix-dg-do-what.diff):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dts-test-42~ --fuzz=0 patching file gcc/testsuite/gcc.target/loongarch/vector/loongarch-vector.exp + find gcc/testsuite -name '*.pr96939~' + xargs rm -f + echo 'Anolis OS 14.2.1-1' + cp -a libstdc++-v3/config/cpu/i486/atomicity.h libstdc++-v3/config/cpu/i386/atomicity.h + cp -a libstdc++-v3/config/cpu/i486/opt libstdc++-v3/config/cpu/i386/opt + echo 'TM_H += $(srcdir)/config/rs6000/rs6000-modes.h' + ./contrib/gcc_update --touch Touching gcc/cstamp-h.in... Touching gcc/config.in... Touching libstdc++-v3/aclocal.m4... Touching libstdc++-v3/Makefile.in... Touching libstdc++-v3/configure... + LC_ALL=C + sed -i -e 's/\xa0/ /' gcc/doc/options.texi + sed -i -e '/ldp_fusion/s/Init(1)/Init(0)/' gcc/config/aarch64/aarch64.opt + sed -i -e 's/Common Driver Var(flag_report_bug)/& Init(1)/' gcc/common.opt + sed -i -e 's/context->report_bug = false;/context->report_bug = true;/' gcc/diagnostic.cc + rm -f gcc/testsuite/go.test/test/chan/goroutines.go + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HXI3OX + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/opt/rh/gcc-toolset-14/root/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/opt/rh/gcc-toolset-14/root/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/opt/rh/gcc-toolset-14/root/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gcc-14.2.1-20240801 + export CONFIG_SITE=NONE + CONFIG_SITE=NONE + CC=gcc + CXX=g++ + OPT_FLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection ' ++ echo -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=[123]//g' + OPT_FLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[123]//g' + OPT_FLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/\(-Wp,\)\?-U_FORTIFY_SOURCE//g' + OPT_FLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/-flto=auto//g;s/-flto//g;s/-ffat-lto-objects//g' + OPT_FLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/-m64//g;s/-m32//g;s/-m31//g' + OPT_FLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/-mfpmath=sse/-mfpmath=sse -msse2/g' + OPT_FLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/ -pipe / /g' + OPT_FLAGS='-O2 -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo -O2 -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/-fno-omit-frame-pointer//g;s/-mbackchain//g;s/-mno-omit-leaf-frame-pointer//g' + OPT_FLAGS='-O2 -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo -O2 -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e s/-Werror=format-security/-Wformat-security/g + OPT_FLAGS='-O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo '-O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' ++ sed -e 's/[[:blank:]]\+/ /g' + OPT_FLAGS='-O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + case "$OPT_FLAGS" in + sed -i -e 's/-fno-exceptions /-fno-exceptions -fno-asynchronous-unwind-tables /' libgcc/Makefile.in + rm -rf obj-riscv64-anolis-linux + mkdir obj-riscv64-anolis-linux + cd obj-riscv64-anolis-linux + OPT_FLAGS='-O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE -Wl,-z,relro,-z,now' + PATH=/opt/rh/gcc-toolset-14/root/usr/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + CONFIGURE_OPTS=' --prefix=/opt/rh/gcc-toolset-14/root/usr --mandir=/opt/rh/gcc-toolset-14/root/usr/share/man --infodir=/opt/rh/gcc-toolset-14/root/usr/share/info --with-bugurl=https://bugzilla.openanolis.cn/ --enable-shared --enable-threads=posix --enable-checking=release --disable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --without-isl --enable-gnu-indirect-function --enable-decimal-float --with-arch=rv64gc --with-abi=lp64d --with-multilib-list=lp64d --build=riscv64-anolis-linux --with-build-config=bootstrap-lto --enable-link-serialization=1 ' ++ echo '-O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE -Wl,-z,relro,-z,now' ++ sed 's#-I/opt/rh/gcc-toolset-14/root/usr/lib64/gfortran/modules##g;s/-Wformat-security/-Wno-error/g' + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -Wall -Wno-error -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE -Wl,-z,relro,-z,now' + export FCFLAGS ++ echo '-O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE -Wl,-z,relro,-z,now' ++ sed 's#-I/opt/rh/gcc-toolset-14/root/usr/lib64/gfortran/modules##g;s/-Wformat-security/-Wno-error/g' + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -Wall -Wno-error -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE -Wl,-z,relro,-z,now' + export FFLAGS + CC=gcc + CXX=g++ + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE -Wl,-z,relro,-z,now ' ++ echo ' -O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE -Wl,-z,relro,-z,now ' ++ sed 's/ -Wall / /g;s/ -fexceptions / /g' ++ sed 's/ -Wformat-security / -Wformat -Wformat-security /' + CXXFLAGS=' -O2 -g -grecord-gcc-switches -Wformat -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE -Wl,-z,relro,-z,now ' + CPPFLAGS=' -O2 -g -grecord-gcc-switches -Wformat -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE -Wl,-z,relro,-z,now ' + LDFLAGS=' -Wl,-z,relro,-z,now -fPIE' + XCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE -Wl,-z,relro,-z,now ' + TCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE -Wl,-z,relro,-z,now ' + ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/gcc-toolset-14/root/usr --mandir=/opt/rh/gcc-toolset-14/root/usr/share/man --infodir=/opt/rh/gcc-toolset-14/root/usr/share/info --with-bugurl=https://bugzilla.openanolis.cn/ --enable-shared --enable-threads=posix --enable-checking=release --disable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --without-isl --enable-gnu-indirect-function --enable-decimal-float --with-arch=rv64gc --with-abi=lp64d --with-multilib-list=lp64d --build=riscv64-anolis-linux --with-build-config=bootstrap-lto --enable-link-serialization=1 checking build system type... riscv64-anolis-linux-gnu checking host system type... riscv64-anolis-linux-gnu checking target system type... riscv64-anolis-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... gawk checking for libatomic support... yes checking for libitm support... yes checking for libsanitizer support... yes checking for libvtv support... no checking for libphobos support... yes checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/builddir/build/BUILD/gcc-14.2.1-20240801/obj-riscv64-anolis-linux': configure: error: C compiler cannot create executables See `config.log' for more details error: Bad exit status from /var/tmp/rpm-tmp.HXI3OX (%build) RPM build warnings: RPM build errors: Macro expanded in comment on line 167: %{?scl_prefix}gdb >= 7.4.50 Macro expanded in comment on line 2615: %{?rhel} < 8 Macro expanded in comment on line 2617: %{_root_prefix}}%{!?scl:%{_prefix}}/%{_lib}/libubsan.so.1* Macro expanded in comment on line 2665: %{?rhel} < 8 Macro expanded in comment on line 2667: %{_root_prefix}}%{!?scl:%{_prefix}}/%{_lib}/liblsan.so.0* Bad exit status from /var/tmp/rpm-tmp.HXI3OX (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/gcc.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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 riscv64 --nodeps /builddir/build/SPECS/gcc.spec