ded at 446 (offset 1 line). + echo 'Patch #10 (gcc14-rh1574936.patch):' 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 #15 (dc51a6428f6d8e5a57b8b1bf559145288e87660b.patch): + echo 'Patch #15 (dc51a6428f6d8e5a57b8b1bf559145288e87660b.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .non-vec-ice --fuzz=0 can't find file to patch at input line 49 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From dc51a6428f6d8e5a57b8b1bf559145288e87660b Mon Sep 17 00:00:00 2001 |From: Pan Li |Date: Fri, 12 Apr 2024 11:12:24 +0800 |Subject: [PATCH] RISC-V: Bugfix ICE non-vector in | TARGET_FUNCTION_VALUE_REGNO_P | |This patch would like to fix one ICE when vector is not enabled |in hook TARGET_FUNCTION_VALUE_REGNO_P implementation. The vector |regno is available if and only if the TARGET_VECTOR is true. The |previous implement missed this condition and then result in ICE |when rv64gc build option without vector. | |The below test suite is passed for this patch. | |* The rv64gcv fully regression tests. |* The rv64gc fully regression tests. | | PR target/114639 | |gcc/ChangeLog: | | * config/riscv/riscv.cc (riscv_function_value_regno_p): Add | TARGET_VECTOR predicate for V_RETURN regno. | |gcc/testsuite/ChangeLog: | | * gcc.target/riscv/pr114639-1.c: New test. | * gcc.target/riscv/pr114639-2.c: New test. | * gcc.target/riscv/pr114639-3.c: New test. | * gcc.target/riscv/pr114639-4.c: New test. | |Signed-off-by: Pan Li |--- | gcc/config/riscv/riscv.cc | 2 +- | gcc/testsuite/gcc.target/riscv/pr114639-1.c | 11 +++++++++++ | gcc/testsuite/gcc.target/riscv/pr114639-2.c | 11 +++++++++++ | gcc/testsuite/gcc.target/riscv/pr114639-3.c | 11 +++++++++++ | gcc/testsuite/gcc.target/riscv/pr114639-4.c | 11 +++++++++++ | 5 files changed, 45 insertions(+), 1 deletion(-) | create mode 100644 gcc/testsuite/gcc.target/riscv/pr114639-1.c | create mode 100644 gcc/testsuite/gcc.target/riscv/pr114639-2.c | create mode 100644 gcc/testsuite/gcc.target/riscv/pr114639-3.c | create mode 100644 gcc/testsuite/gcc.target/riscv/pr114639-4.c | |diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc |index 91f017dd52a..e5f00806bb9 100644 |--- a/gcc/config/riscv/riscv.cc |+++ b/gcc/config/riscv/riscv.cc -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patching file b/gcc/testsuite/gcc.target/riscv/pr114639-1.c patching file b/gcc/testsuite/gcc.target/riscv/pr114639-2.c patching file b/gcc/testsuite/gcc.target/riscv/pr114639-3.c patching file b/gcc/testsuite/gcc.target/riscv/pr114639-4.c RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.P9wPdn (%prep) line 367: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap line 368: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-devel line 369: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-static Bad exit status from /var/tmp/rpm-tmp.P9wPdn (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 --target riscv64 --nodeps /builddir/build/SPECS/gcc.spec