From: Stuart Henderson Subject: unbreak Ruby 3.3 on arm64 BTI To: Jeremy Evans Cc: OpenBSD ports Date: Fri, 21 Jun 2024 16:33:35 +0100 Ruby 3.3 hits SIGILL at startup on arm64 machines with BTI (apple M2), ktrace shows that it is indeed BTI-related. 3.1 and 3.2 seem OK as-is. OK to fix it like this? Index: Makefile =================================================================== RCS file: /cvs/ports/lang/ruby/3.3/Makefile,v diff -u -p -r1.7 Makefile --- Makefile 14 Jun 2024 19:41:34 -0000 1.7 +++ Makefile 21 Jun 2024 15:33:16 -0000 @@ -1,3 +1,6 @@ +USE_NOBTCFI-aarch64 = Yes +REVISION-main = 0 + VERSION = 3.3.3 DISTNAME = ruby-${VERSION} PKGNAME-main = ruby-${VERSION}