public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/llvm] f45: riscv64: Disable a flang-rt test
@ 2026-11-05 15:46 Tulio Magno Quites Machado Filho
  0 siblings, 0 replies; 2+ messages in thread
From: Tulio Magno Quites Machado Filho @ 2026-11-05 15:46 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rpms/llvm] f45: riscv64: Disable a flang-rt test
@ 2026-10-08  4:36 Tulio Magno Quites Machado Filho
  0 siblings, 0 replies; 2+ messages in thread
From: Tulio Magno Quites Machado Filho @ 2026-10-08  4:36 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/llvm
            Branch : f45
            Commit : 7236876551f4d4196eaebeaf5e92f86ad096935e
            Author : Tulio Magno Quites Machado Filho <tuliom@redhat.com>
            Date   : 2026-10-08T06:36:09+02:00
            Stats  : +54/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/llvm/c/7236876551f4d4196eaebeaf5e92f86ad096935e?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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-05 15:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 15:46 [rpms/llvm] f45: riscv64: Disable a flang-rt test Tulio Magno Quites Machado Filho
  -- strict thread matches above, loose matches on Subject: below --
2026-10-08  4:36 Tulio Magno Quites Machado Filho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox