From nobody Thu Nov 18 01:48:50 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 035B61851752; Thu, 18 Nov 2021 01:48:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HvjPt6jxcz505h; Thu, 18 Nov 2021 01:48:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C6C734444; Thu, 18 Nov 2021 01:48:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AI1mof2088468; Thu, 18 Nov 2021 01:48:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AI1moA4088467; Thu, 18 Nov 2021 01:48:50 GMT (envelope-from git) Date: Thu, 18 Nov 2021 01:48:50 GMT Message-Id: <202111180148.1AI1moA4088467@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 49f593b2f77f - main - emulators/rpcs3: work around crashes on -CURRENT List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 49f593b2f77fafebb6586218f7c1cd0aa33de693 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=49f593b2f77fafebb6586218f7c1cd0aa33de693 commit 49f593b2f77fafebb6586218f7c1cd0aa33de693 Author: Jan Beich AuthorDate: 2021-11-18 01:09:44 +0000 Commit: Jan Beich CommitDate: 2021-11-18 01:48:37 +0000 emulators/rpcs3: work around crashes on -CURRENT RPCS3: PPU[0x1000000] Thread (main_thread) [0x0001d4f8]: SIG: Thread terminated due to fatal error: Segfault writing location 00002b1104240080 at 000000081b67b4ea. Emu Thread Name: 'PPU[0x1000000] main_thread'. --- emulators/rpcs3/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emulators/rpcs3/Makefile b/emulators/rpcs3/Makefile index 6fe6cafc8290..ea51c9da4b0b 100644 --- a/emulators/rpcs3/Makefile +++ b/emulators/rpcs3/Makefile @@ -73,6 +73,11 @@ post-patch: -e '/GIT_VERSION/s/local_build/${GH_TAGNAME:C/[^-]*-//}/' \ ${WRKSRC}/${PORTNAME}/git-version.cmake +post-install: +.if exists(/usr/bin/elfctl) + elfctl -e +noaslr ${STAGEDIR}${PREFIX}/bin/${PORTNAME} +.endif + .include # Ignore Mk/bsd.default-versions.mk but respect make.conf(5)