Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: openarena crash 7.5
To:
Divan Santana <divan@santanas.co.za>
Cc:
ports@openbsd.org
Date:
Fri, 10 May 2024 13:34:29 +0100

Download raw body.

Thread
On 2024/05/10 13:34, Divan Santana wrote:
> Thomas Frohwein <tfrohwein@fastmail.com> writes:
> 
> > On Thu, May 09, 2024 at 07:22:50PM +0200, Divan Santana wrote:
> >> Greetings :)
> >> 
> >> Is openarena suppose to work from ports?  Or perhaps it's my laptop
> >> that's not compatible with it? 
> 
> > This issue is fine to raise on ports@. 
> 
> Noted.
> 
> 
> > It's a BTCFI issue, see from
> > ktrace(1)/kdump(1) output:
> 
> > 67964 openarena-client PSIG  SIGILL SIG_DFL code=ILL_BTCFI addr=0xf9ba34f3000 trapno=21
> 
> Thanks.  In layman's terms?  Does this mean it's broken on all openbsd's
> or just my CPU/graphics card?

It's broken on newer intel CPUs.

It can probably be worked-around with this:

Index: Makefile
===================================================================
RCS file: /cvs/ports/games/openarena/Makefile,v
diff -u -p -r1.26 Makefile
--- Makefile	25 Sep 2023 17:07:29 -0000	1.26
+++ Makefile	10 May 2024 12:31:08 -0000
@@ -1,4 +1,5 @@
 ONLY_FOR_ARCHS =	amd64 i386 macppc
+USE_NOBTCFI =		Yes

 BROKEN-i386 =		code/qcommon/vm_x86.c:(.text+0x18): undefined reference to `callMask'

@@ -15,8 +16,8 @@ E_V =			${V}# 	engine version

 PKGNAME =		openarena-${V}

-REVISION-main =		1
-REVISION-server =	0
+REVISION-main =		2
+REVISION-server =	1

 PKG_ARCH-data = 	*