Commit 9bb20418ae for perl
commit 9bb20418aecd39fdd75f6a5b32bd4e913027354c
Author: Andrew Hewus Fresh <afresh1@openbsd.org>
Date: Thu Sep 17 14:59:00 2026 -0700
Add no-tree-ter for alpha on OpenBSD to hints
See https://github.com/Perl/perl5/issues/13498
diff --git a/hints/openbsd.sh b/hints/openbsd.sh
index 20a3b59a80..5020a80458 100644
--- a/hints/openbsd.sh
+++ b/hints/openbsd.sh
@@ -116,6 +116,19 @@ m88k-3.4)
;;
esac
+#
+# Unaligned access on alpha with -ftree-ter
+# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59679
+# More details
+# https://rt.perl.org/Public/Bug/Display.html?id=120888
+#
+case "${ARCH}-${osvers}" in
+ alpha-*)
+ ccflags="-fno-tree-ter $ccflags"
+ ;;
+esac
+
+# Special per-arch specific ccflags
case "${ARCH}-${osvers}" in
vax-*)
ccflags="-DUSE_PERL_ATOF=0 $ccflags"