From owner-freebsd-mips@freebsd.org Fri Oct 9 03:54:17 2015 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6F9A9D15D2 for ; Fri, 9 Oct 2015 03:54:17 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-qg0-x230.google.com (mail-qg0-x230.google.com [IPv6:2607:f8b0:400d:c04::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7890689E; Fri, 9 Oct 2015 03:54:17 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by qgx61 with SMTP id 61so59482689qgx.3; Thu, 08 Oct 2015 20:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type; bh=s3tprXFJ+2V6x3M5xtXbfIKdnXJgRnEIUQDqzgKFehA=; b=TGgRGvzsw9Hajz/z+GU/GD+GMikZWObYfTnSISXY1eZ8Hsu2ImucN5Bxy+YXQItjsG gdheZT7E80WoZOZJ8FlFIU400rl1vmTlFQ9gaCv31Yy8JXHH+PRNltTTeSJ4DxuRGVEo n48UcDzrRISOc26JSsHdn/86oMQR49apNa3jImkh3hWfYPXHNNd0KRG+lrvN0q6cnsof +RGZY1b6OCdUlpBxXjH/p+h3QGI1COtFEflQADbs/xkiyAKK/hQacM9jvJo7W8mPzqgM vWrdHOBVm+iNDr5fbMb+LRGV8f3COLH/ryugIwGJVrtRPlVcrJTmQCLPGByHq3ALR7rO qLrQ== X-Received: by 10.140.95.73 with SMTP id h67mr12967638qge.14.1444362856490; Thu, 08 Oct 2015 20:54:16 -0700 (PDT) Received: from kan ([2601:18f:0:1570:226:18ff:fe00:232e]) by smtp.gmail.com with ESMTPSA id a11sm20163069qga.40.2015.10.08.20.54.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2015 20:54:15 -0700 (PDT) Date: Thu, 8 Oct 2015 23:54:10 -0400 From: Alexander Kabaev To: Sean Bruno Cc: freebsd-mips@freebsd.org Subject: Re: Jemalloc update breaks qemu-bsd-user for mips packages Message-ID: <20151008235410.2e50ecba@kan> In-Reply-To: <560EBA77.1010303@freebsd.org> References: <560EBA77.1010303@freebsd.org> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/EUh1uBvtgifNRdTblXjDArD"; protocol="application/pgp-signature" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 03:54:18 -0000 --Sig_/EUh1uBvtgifNRdTblXjDArD Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 2 Oct 2015 10:10:15 -0700 Sean Bruno wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 >=20 > I'm a bit stumped and have no recourse at this time. MIPS package > building via qemu-bsd-user jails is currently broken after the > jemalloc update at svn r286871. Just attempt to build ports-mgmt/pkg > and you'll see a failure in jemalloc. This does *not* happen with > . and > is bsd-user specific. >=20 Please try this: https://reviews.freebsd.org/D385s=20 I do not see how this can be specific to qemu-user only, but I suspect our emulation of rdhwr on trap is involved into munging the value to correct. If so, this patch will break qemu-system-mips, could you verify if that is the case? --=20 Alexander Kabaev --Sig_/EUh1uBvtgifNRdTblXjDArD Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJWFzpiXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDNUY3RDk5NTk5QjY0MUUxM0M1MTU2OTEw NzEzMjI5OTkyNzkyRTdFAAoJEAcTIpmSeS5+/uIQANFW5pQwL82bK19EO9IGJf1Z nzg7egUKFCP1KslrDc58GgSCrnYGS/GRFpUpQU+DBie6hOfUc5ZNVrdt+hNfvoeU WbsayV/4ndH4JMI+xnZ2k1jliEWxykXSsE7r+7ac2m6vdcAVrXT32RQbsfTBMwjK 7nVTGhAmxv23fkSsQ6Fduq3Ow2jbmA39FI9j0lwpyh9INESxuCkqNmW7EabrAKp9 bpueMD5LKc/chyzeO1+7bnVyCSfXpaZPyHpkR/rP1V3gpK3+Tq5Gb1omfFtDK13K 0POT95A/8RUDuWgrlnD6FCAXCkDxupZnBsq/HRUjYxj3vdumd1qPXGbndauUm7T3 rJ2gehjpTXCb132ea82RhrVWoJyqnEVw8+us+X7ysClvBNq0xQ+rK28ukFR6MaD+ w+AAEDZW5GkjZVe7YGExcLtxg+7WwrFGYnoguv1NggqKGYBUKgphMgN2jDmxUKM1 V3zKfiO6Pd57GMzLFniCErmUuzF80tPzN8CZy3YHP246nr0eFsSFFpg6RvI6Np9w BK8hCdfHfU6oT6VjGSH9t0xBsNAqjA/xP3kDPJ682OC7WxK1wFbVqPjprz/brZF0 smt2dfRiaMIRrLwhiTMqPt89e09aPpWEXLgqxFA5MDN1oW1SfaS9LQAzTaMpCQ13 kYLTw46Icr2OpaunPeEt =nHEL -----END PGP SIGNATURE----- --Sig_/EUh1uBvtgifNRdTblXjDArD--