NetBSD Problem Report #51483

From www@NetBSD.org  Sat Sep 17 18:56:51 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 7F99F7A16F
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 17 Sep 2016 18:56:51 +0000 (UTC)
Message-Id: <20160917185650.926BD7A2BC@mollari.NetBSD.org>
Date: Sat, 17 Sep 2016 18:56:50 +0000 (UTC)
From: js-pkgsrc@heap.zone
Reply-To: js-pkgsrc@heap.zone
To: gnats-bugs@NetBSD.org
Subject: dosbox crashes on macOS
X-Send-Pr-Version: www-1.0

>Number:         51483
>Category:       pkg
>Synopsis:       dosbox crashes on macOS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 17 19:00:00 +0000 2016
>Closed-Date:    Mon Sep 19 09:16:33 +0000 2016
>Last-Modified:  Mon Sep 19 15:00:01 +0000 2016
>Originator:     Jonathan Schleifer
>Release:        HEAD
>Organization:
>Environment:
>Description:
DOSBox crashes on macOS as soon as doing anything serious. This seems to be caused by the 64 bit dynrec still being extremely unstable, thus the attached patch disables is on x86_64 for any OS.
>How-To-Repeat:
Try to run a game in DOSBox
>Fix:
diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile
index 8fb4839..abc9510 100644
--- a/emulators/dosbox/Makefile
+++ b/emulators/dosbox/Makefile
@@ -19,6 +19,9 @@ CPPFLAGS+=		-fPIC
 .endif
 LDFLAGS.SunOS+=		-lsocket
 INSTALLATION_DIRS=	share/doc/dosbox
+.if ${MACHINE_ARCH} == "x86_64"
+CONFIGURE_ARGS+=	--disable-dynrec
+.endif

 SUBST_CLASSES+=		fixme
 SUBST_STAGE.fixme=	post-patch

>Release-Note:

>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51483: dosbox crashes on macOS
Date: Mon, 19 Sep 2016 05:44:14 +0000

 On Sat, Sep 17, 2016 at 07:00:00PM +0000, js-pkgsrc@heap.zone wrote:
  > DOSBox crashes on macOS as soon as doing anything serious. This
  > seems to be caused by the 64 bit dynrec still being extremely
  > unstable, thus the attached patch disables is on x86_64 for any OS.

 FWIW, it works fine for me on amd64 (x86_64) in netbsd...

 -- 
 David A. Holland
 dholland@netbsd.org

State-Changed-From-To: open->closed
State-Changed-By: jperkin@NetBSD.org
State-Changed-When: Mon, 19 Sep 2016 09:16:33 +0000
State-Changed-Why:
Thanks, fixed.


From: "Jonathan Perkin" <jperkin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/51483 CVS commit: pkgsrc/emulators/dosbox
Date: Mon, 19 Sep 2016 09:13:10 +0000

 Module Name:	pkgsrc
 Committed By:	jperkin
 Date:		Mon Sep 19 09:13:10 UTC 2016

 Modified Files:
 	pkgsrc/emulators/dosbox: Makefile

 Log Message:
 Pass --disable-dynrec on Darwin, fixes PR#51483.  Bump PKGREVISION.


 To generate a diff of this commit:
 cvs rdiff -u -r1.40 -r1.41 pkgsrc/emulators/dosbox/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.