Index | Thread | Search

From:
Thomas Frohwein <tfrohwein@fastmail.com>
Subject:
games/tome4: USE_NOBTCFI
To:
ports@openbsd.org
Date:
Fri, 12 Jan 2024 19:45:49 -0500

Download raw body.

Thread
Hi,

Tested tome4 as part of the consumers of the upcoming sdl2-image update
and found that it fails to run with Illegal Instruction on this Intel
Tigerlake unless I build it with USE_NOBTCFI=Yes. It's likely because
of the use of the vendored luajit.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/games/tome4/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile	26 Sep 2023 09:41:42 -0000	1.30
+++ Makefile	13 Jan 2024 00:41:57 -0000
@@ -4,6 +4,7 @@
 # ../src/luajit2/src/lj_arch.h:55:2: error: #error "No support for
 # this architecture (yet)"
 ONLY_FOR_ARCHS = i386 amd64
+USE_NOBTCFI =	Yes
 
 COMMENT-main =	graphical sdl rogue-like game
 COMMENT-data =	data for Tales of Maj'Eyal
@@ -11,7 +12,7 @@ COMMENT-data =	data for Tales of Maj'Eya
 V =		1.7.4
 PKGNAME =	tome4-${V}
 CATEGORIES =	games x11
-REVISION =	0
+REVISION =	1
 
 SITES =		https://te4.org/dl/t-engine/