mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-17 07:28:38 +00:00
``` make -j40 -l90 -O shared cpuid.S: Assembler messages: cpuid.S:69: Error: junk at end of line, first unrecognized character is `,' make[1]: *** [Makefile.prebuild💯 getarch] Error 1 make[1]: Entering directory '/var/tmp/portage/sci-libs/openblas-0.3.30-r4/work/OpenBLAS-0.3.30/interface' armv7a-unknown-linux-gnueabihf-gcc -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard [...] -c axpy.c -o saxpy.o In file included from axpy.c:40: ../common.h:62:10: fatal error: config.h: No such file or directory 62 | #include "config.h" | ^~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:825: saxpy.o] Error 1 ``` Bug: https://github.com/OpenMathLib/OpenBLAS/pull/5360 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
28 lines
723 B
Diff
28 lines
723 B
Diff
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
|