From owner-svn-ports-head@freebsd.org Fri Feb 26 04:53:22 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D4F02554962; Fri, 26 Feb 2021 04:53:22 +0000 (UTC) (envelope-from kevans@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 4Dmy365jtcz4kkl; Fri, 26 Feb 2021 04:53:22 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B72B524A25; Fri, 26 Feb 2021 04:53:22 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11Q4rMp8061438; Fri, 26 Feb 2021 04:53:22 GMT (envelope-from kevans@FreeBSD.org) Received: (from kevans@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11Q4rMPj061437; Fri, 26 Feb 2021 04:53:22 GMT (envelope-from kevans@FreeBSD.org) Message-Id: <202102260453.11Q4rMPj061437@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kevans set sender to kevans@FreeBSD.org using -f From: Kyle Evans Date: Fri, 26 Feb 2021 04:53:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566578 - head/emulators/qemu-user-static X-SVN-Group: ports-head X-SVN-Commit-Author: kevans X-SVN-Commit-Paths: head/emulators/qemu-user-static X-SVN-Commit-Revision: 566578 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2021 04:53:22 -0000 Author: kevans Date: Fri Feb 26 04:53:22 2021 New Revision: 566578 URL: https://svnweb.freebsd.org/changeset/ports/566578 Log: emulators/qemu-user-static: update to f7fd10d7677c This features a number of fixes; highlights: - Handle aarch64 YIELD instructions - Bump ARG_MAX to match the FreeBSD default on LP64 platforms - Implement __specialfd(2) and copy_file_range(2) - Style fixes - Fix an issue with binary execution[0] - Fix page fault handling for self-modifying binaries[1] - Suppress noise from CIOGSESSION usage and restore CRIOGET handling - Patch _umtx_op(2) through to the kernel where possible[2] [0] Attempting to execute a binary by name was broken when there was an unrelated entry by the same name in PWD. The report below observed it in the cluster while building games/dobutsu, which tried to execute `xz` in a directory that had an `xz` directory inside of it. [1] From the fixing commit, qemu mprotect()s pages contained translated code to PROT_READ | PROT_EXEC and upgrades protections as needed upon page fault. This was broken in a previous commit that misidentified by the trap # that should have been observed. The observed issue a broken JIT compiler in libpcre. [2] _umtx_op can now be handled by the kernel in cases where the target long size is not longer than the host, and the target and host are the same endianness. This is much more reliable than our previous emulation of these operations, and should reduce hangs sometimes observed in threaded applications. Note that this requires a recent stable/12 or 13.x/-CURRENT. PR: 253375 [0] PR: 253335 [1] MFH: 2021Q1 Modified: head/emulators/qemu-user-static/Makefile head/emulators/qemu-user-static/distinfo Modified: head/emulators/qemu-user-static/Makefile ============================================================================== --- head/emulators/qemu-user-static/Makefile Fri Feb 26 01:33:39 2021 (r566577) +++ head/emulators/qemu-user-static/Makefile Fri Feb 26 04:53:22 2021 (r566578) @@ -2,7 +2,7 @@ PORTNAME= qemu PORTVERSION= 3.1.0 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= emulators PKGNAMESUFFIX= -user-static DIST_SUBDIR= qemu/${PORTVERSION} @@ -18,7 +18,7 @@ CONFLICTS_INSTALL= qemu-user-static-devel-[0-9]* USES= bison compiler:c11 gmake perl5 pkgconfig python:build USE_GITHUB= yes -GH_TUPLE= qemu-bsd-user:qemu-bsd-user:39244526c0af \ +GH_TUPLE= qemu-bsd-user:qemu-bsd-user:f7fd10d7677c \ qemu:keycodemapdb:10739aa:keycodemapdb/ui/keycodemapdb HAS_CONFIGURE= yes USE_PERL5= build Modified: head/emulators/qemu-user-static/distinfo ============================================================================== --- head/emulators/qemu-user-static/distinfo Fri Feb 26 01:33:39 2021 (r566577) +++ head/emulators/qemu-user-static/distinfo Fri Feb 26 04:53:22 2021 (r566578) @@ -1,5 +1,5 @@ -TIMESTAMP = 1608347352 -SHA256 (qemu/3.1.0/qemu-bsd-user-qemu-bsd-user-3.1.0-39244526c0af_GH0.tar.gz) = 8332de0b62a84ef1dc2d8ba21a72aa02e8a5b63865594444257ef01030a05866 -SIZE (qemu/3.1.0/qemu-bsd-user-qemu-bsd-user-3.1.0-39244526c0af_GH0.tar.gz) = 16905588 +TIMESTAMP = 1614279045 +SHA256 (qemu/3.1.0/qemu-bsd-user-qemu-bsd-user-3.1.0-f7fd10d7677c_GH0.tar.gz) = b13b667d38be27e4ffeffb3f4edf553cd1bf3b4c34036e2dc809a0c544903b0e +SIZE (qemu/3.1.0/qemu-bsd-user-qemu-bsd-user-3.1.0-f7fd10d7677c_GH0.tar.gz) = 16908794 SHA256 (qemu/3.1.0/qemu-keycodemapdb-10739aa_GH0.tar.gz) = ae43fb1e2b07b78be88a7882306b6e71383eb77472a35d7d78fed21e345d134a SIZE (qemu/3.1.0/qemu-keycodemapdb-10739aa_GH0.tar.gz) = 47895