diff options
| -rw-r--r-- | sci-libs/openblas/files/openblas-0.3.30-arm-assembly.patch | 28 | ||||
| -rw-r--r-- | sci-libs/openblas/openblas-0.3.30-r4.ebuild | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/sci-libs/openblas/files/openblas-0.3.30-arm-assembly.patch b/sci-libs/openblas/files/openblas-0.3.30-arm-assembly.patch new file mode 100644 index 000000000000..b09db04fb4f6 --- /dev/null +++ b/sci-libs/openblas/files/openblas-0.3.30-arm-assembly.patch @@ -0,0 +1,28 @@ +From 8d11e4630c1e92437636d016f35ad48395b62b4f Mon Sep 17 00:00:00 2001 +From: Sertonix <sertonix@posteo.net> +Date: Sun, 6 Jul 2025 23:48:10 +0200 +Subject: [PATCH] Fix cpuid.S on arm + +The ARM assembly syntax differs a bit + +Fixes 61b9339d3a1f getarch/cpuid.S: Fix warning about executable stack + +Signed-off-by: Sertonix <sertonix@posteo.net> +--- + cpuid.S | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/cpuid.S b/cpuid.S +index 295917bdbe..a8f5f8b573 100644 +--- a/cpuid.S ++++ b/cpuid.S +@@ -66,5 +66,9 @@ _cpuid: + + #endif + #if defined(__ELF__) && defined(__linux__) ++#if defined(__arm__) ++ .section .note.GNU-stack,"",%progbits ++#else + .section .note.GNU-stack,"",@progbits + #endif ++#endif diff --git a/sci-libs/openblas/openblas-0.3.30-r4.ebuild b/sci-libs/openblas/openblas-0.3.30-r4.ebuild index 123e1422eae0..c6c72fa54cb9 100644 --- a/sci-libs/openblas/openblas-0.3.30-r4.ebuild +++ b/sci-libs/openblas/openblas-0.3.30-r4.ebuild @@ -34,6 +34,8 @@ PATCHES=( "${FILESDIR}/${P}-cmake_libdir.patch" # https://github.com/OpenMathLib/OpenBLAS/pull/5378 "${FILESDIR}/${P}-lunar-lake.patch" + # https://github.com/OpenMathLib/OpenBLAS/pull/5360 + "${FILESDIR}/${P}-arm-assembly.patch" ) pkg_pretend() { |
