From nobody Wed Jan 5 08:31:18 2022 X-Original-To: emulation@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 04774192EDCD for ; Wed, 5 Jan 2022 08:31:20 +0000 (UTC) (envelope-from bugzilla-noreply@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 4JTN473d76z4ZGp for ; Wed, 5 Jan 2022 08:31:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 C5549F31 for ; Wed, 5 Jan 2022 08:31:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2058VIYB078344 for ; Wed, 5 Jan 2022 08:31:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2058VIow078343 for emulation@FreeBSD.org; Wed, 5 Jan 2022 08:31:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 260899] emulators/qemu-user-static: (and -devel) failing because of change to swapoff(2) in -current Date: Wed, 05 Jan 2022 08:31:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: d8zNeCFG@aon.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641371479; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=me4buBb147W5F4QKkbg9HZPPsRVDAVj2r/xdJSn/7CQ=; b=dFl7WKmxwvwemoq/Uii+Duscz3+hnQKqPYF10l1PkxYLF+sdZBOFtgClyJXGNKJwzDalDD Kqn+EE0YQWoLX5D9xQUX/FVnC+8h1r0Q6fAzAhcmRYZNSaqytotNU1oxlJNu2CxIaSbYkf H66SfmloxOlsZnKOQI/V/MUkr2I2bLIrVdGxzRr+iWB2iXwP5+UbnzCWYagcvTLSCcD8st gd+Q/YFiE+kj1zWoeSfmE+Hj1MSadrswYd/LExhh3V+X7r8/L/hVPAPKh8TZ6rlvvdK1z9 PKH9jmpE/f6oSB4Bw2DIG0nPrB2q/AiqQl9cfbZBFFBKDXmkABVNZ3GZ3gOWqQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641371479; a=rsa-sha256; cv=none; b=w/NRTaPk4BArTNf7ua+JwbBzqLDjjVm6gMdJG2RH3sXrLn3PPIdPx5ERS4cSBH6nNYjDs0 SXKBut/5OcbdPbB7plDeSvBBLc3yz7NNWCT0RKVF1t2pJ3Yjqzm9dlnA0mKsYR/Ec2eBvy BOhUKljhtvWkzkvMcvOyE+FdKXHjlku5fxV++Qz7JnN+gV7BIqIQirlqoF9BpxX47bhIj0 7d0KeQ6xtayPjMbK6DhTJmD8SehB9b/3DiRVmfZ31CuDfjjf26MU3J+y5Wb3nBXx0Vhjun pdDa0Lx3Yor1Mgq6UNBup/s93WKQDL9U8/RmmBoiMh9vPjVwBw7ATrq5mrb4Ew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260899 Martin Birgmeier changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |d8zNeCFG@aon.at --- Comment #6 from Martin Birgmeier --- Created attachment 230725 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D230725&action= =3Dedit patch to qemu-user-static-devel I have been using the attached patch for getting qemu-user-static-devel to compile on main 398c88c7582a195cbfeb689ceff1400cc717673f. However, when then using this to run armv6 executables from amd64 (itself a bhyve VM), many programs abort; the following transcripts starts on amd64, after the chroot on armv6, after the exit back to amd64; one can see that cc simply aborts: [0]# uname -a=20=20=20=20=20=20=20=20 FreeBSD v903.xyzzy 14.0-CURRENT FreeBSD 14.0-CURRENT #0 MBi/main-n243600-4a74367b7a4: Sat Jan 1 15:43:00 CET 2022=20=20=20=20 root@v903.xyzzy:/net/hal/z/OBJ/FreeBSD/amd64/src/MBi/main/amd64.amd64/sys/X= YZZY_SMP_VM amd64 [0]# chroot /d/925s2a [0]# uname -a=20=20=20 FreeBSD v903.xyzzy 14.0-CURRENT FreeBSD 14.0-CURRENT #0 MBi/main-n243600-4a74367b7a4: Sat Jan 1 15:43:00 CET 2022=20=20=20=20 root@v903.xyzzy:/net/hal/z/OBJ/FreeBSD/amd64/src/MBi/main/amd64.amd64/sys/X= YZZY_SMP_VM arm [0]# echo $SHELL /bin/zsh [0]# ls=20=20=20=20=20=20=20=20=20 .cshrc mnt .profile net .snap patch.2021-12-31.14:20:19 .sujournal proc bin qemu-arm-static.core boot rescue COPYRIGHT root CVS sbin d srcs dev sys etc tmp lib usr libexec var MBi_main.2327598b8ec_ORIG.tar.gz vol media [0]# cc=20=20=20=20=20=20=20=20=20 zsh: segmentation fault (core dumped) cc [139]# exit [139]#=20 -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=