commit:     cf9c3c00cdc6bf311f7edefab25721f378a910b5
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 10 22:53:56 2025 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Apr 10 22:56:49 2025 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=cf9c3c00

s390x: pin minimum -march to z10, to avoid problems with assembler in libraries

This is surely old enough...
"z10 Enterprise Class (2097 series), introduced on February 26, 2008"

Whoever can't run that should borrow a newer Z from a friend and downgrade
themselves ;) ... (or use the 31bit userspace as long as we still have it).

Bug: https://bugs.gentoo.org/936790
Bug: https://github.com/openssl/openssl/issues/27323
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 arch/s390.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/s390.toml b/arch/s390.toml
index 854f4822..bf98e3d0 100644
--- a/arch/s390.toml
+++ b/arch/s390.toml
@@ -7,5 +7,5 @@ COMMON_FLAGS = "-O2 -pipe"
 CHOST = "s390-ibm-linux-gnu"
 
 [s390x.s390x]
-COMMON_FLAGS = "-O2 -pipe"
+COMMON_FLAGS = "-O2 -pipe -march=z10"
 

Reply via email to