public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tulio Magno Quites Machado Filho <tuliom@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/llvm] f45: riscv64: Disable a flang-rt test
Date: Thu, 05 Nov 2026 15:46:48 GMT [thread overview]
Message-ID: <179389360838.1.8012723260512429440.rpms-llvm-7ed3df948dd8@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/llvm
Branch : f45
Commit : 7ed3df948dd81cf5b6fae7b419624cbe26887f36
Author : Tulio Magno Quites Machado Filho <tuliom@redhat.com>
Date : 2026-10-05T17:32:12-03:00
Stats : +54/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/llvm/c/7ed3df948dd81cf5b6fae7b419624cbe26887f36?branch=f45
Log:
riscv64: Disable a flang-rt test
The test depends on -fsafe-trampoline which is not available on riscv64.
[skip changelog]
---
diff --git a/227851.patch b/227851.patch
new file mode 100644
index 0000000..9533791
--- /dev/null
+++ b/227851.patch
@@ -0,0 +1,50 @@
+From d81d358a460007fc58d6584cad396101e7e71669 Mon Sep 17 00:00:00 2001
+From: Tulio Magno Quites Machado Filho <tuliom@redhat.com>
+Date: Wed, 30 Sep 2026 17:12:52 -0300
+Subject: [PATCH 1/2] [flang-rt][test] Skip Driver/safe-trampoline-gnustack.f90
+ on RISC-V
+
+-fsafe-trampoline option as it is not currently supported on RISC-V.
+---
+ flang-rt/test/Driver/safe-trampoline-gnustack.f90 | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/flang-rt/test/Driver/safe-trampoline-gnustack.f90 b/flang-rt/test/Driver/safe-trampoline-gnustack.f90
+index f586e17ff86c6..4c18d6410f131 100644
+--- a/flang-rt/test/Driver/safe-trampoline-gnustack.f90
++++ b/flang-rt/test/Driver/safe-trampoline-gnustack.f90
+@@ -2,6 +2,7 @@
+ ! UNSUPPORTED: offload-cuda
+ ! UNSUPPORTED: system-darwin
+ ! UNSUPPORTED: target=powerpc{{.*}}
++! UNSUPPORTED: target=riscv{{.*}}
+ ! UNSUPPORTED: target={{.*solaris.*}}
+
+ ! Verify that -fsafe-trampoline produces an executable whose
+
+From add617b1c7a52688706689a30970232380b2d038 Mon Sep 17 00:00:00 2001
+From: Tulio Magno Quites Machado Filho <tuliom@redhat.com>
+Date: Fri, 2 Oct 2026 17:37:11 -0300
+Subject: [PATCH 2/2] Replace multiple UNSUPPORTED lines by a single REQUIRES
+
+---
+ flang-rt/test/Driver/safe-trampoline-gnustack.f90 | 8 +++-----
+ 1 file changed, 3 insertions(+), 5 deletions(-)
+
+diff --git a/flang-rt/test/Driver/safe-trampoline-gnustack.f90 b/flang-rt/test/Driver/safe-trampoline-gnustack.f90
+index 4c18d6410f131..3fa659e334f82 100644
+--- a/flang-rt/test/Driver/safe-trampoline-gnustack.f90
++++ b/flang-rt/test/Driver/safe-trampoline-gnustack.f90
+@@ -1,9 +1,7 @@
+-! UNSUPPORTED: system-windows
++! -fsafe-trampoline is supported on x86-64 and AArch64 targets.
++! REQUIRES: target=x86_64{{.*}}-linux-gnu || target=aarch64{{.*}}-linux-gnu
+ ! UNSUPPORTED: offload-cuda
+-! UNSUPPORTED: system-darwin
+-! UNSUPPORTED: target=powerpc{{.*}}
+-! UNSUPPORTED: target=riscv{{.*}}
+-! UNSUPPORTED: target={{.*solaris.*}}
++
+
+ ! Verify that -fsafe-trampoline produces an executable whose
+ ! GNU_STACK program header is RW (not RWE), proving W^X compliance.
diff --git a/llvm.spec b/llvm.spec
index 6d2887f..f45c140 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -619,6 +619,10 @@ Patch2306: 223681.patch
# https://github.com/llvm/llvm-project/pull/207229
Patch2207: 0001-AggressiveInstCombine-Fix-crash-when-folding-consecu.patch
+# Skip a test that should not run on riscv64.
+# https://github.com/llvm/llvm-project/pull/227851
+Patch2307: 227851.patch
+
%if 0%{?rhel} == 8
%global python3_pkgversion 3.12
%global __python3 /usr/bin/python3.12
next reply other threads:[~2026-11-05 15:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-05 15:46 Tulio Magno Quites Machado Filho [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-10-08 4:36 [rpms/llvm] f45: riscv64: Disable a flang-rt test Tulio Magno Quites Machado Filho
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179389360838.1.8012723260512429440.rpms-llvm-7ed3df948dd8@fedoraproject.org \
--to=tuliom@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox