From owner-freebsd-arm@freebsd.org Mon Jan 2 20:45:07 2017 Return-Path: Delivered-To: freebsd-arm@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 1A9F0C9C22C for ; Mon, 2 Jan 2017 20:45:07 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qt0-x22b.google.com (mail-qt0-x22b.google.com [IPv6:2607:f8b0:400d:c0d::22b]) (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 C906F1599 for ; Mon, 2 Jan 2017 20:45:06 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qt0-x22b.google.com with SMTP id p16so445326760qta.0 for ; Mon, 02 Jan 2017 12:45:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Nti2Bv+kbp4f6bo0q+R9n/ZX203eQpGg2QEGDspRZHE=; b=VTgYmkOuQFSIn3kaYFaMaaAqDS4wgojlykMbmhhxa6P7PuSNoh5KCX/Fus9kvMsFil HvVE2KypAJE5N6FcnLzPwPb2/QDA1ikHH1ibXh9q74OhpAsCpH6GubBd9TvUuJ3gF1y5 /WCGbCzea2oobbQmnFEtDyVQIKpZwUT1GtzH1TN1+eatT1bmJjYLu++r1f9Ke0caYTAw Ljdc1cX9UeXWIluC44fvrP/LgomuE/1Mb2nz1nj+mYE+3c+P1wxgrnGJj08isDLY7EgH 7khXdRvyDT+d+DFaRQJKjSUETv8VM1PKhh48xhKptY+kWSubZDDU6NVPUREI6Gn8fCng G1Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Nti2Bv+kbp4f6bo0q+R9n/ZX203eQpGg2QEGDspRZHE=; b=Zyd94ZT4WsjBV61hIgw2wLefXuMZfQolO2plDettYr7zCPDFLpmCwoN2+6K8cf4WsC 1GOEVe8t9utQzmwoMUfozYGNu4+fGeIVvRz/PPPvb1Rh12UChQTfPa+sWUic1JbpMmej s1NJrwdAZ7iKF4Mv6g9Fwe3K4ETqZl51qq37DGxFKyshwRCyFesfD3Wj9VWO7ZF+W845 eH3fWV8F0VnDA+DOWmkVwrWO7tZ19K+JYeJO6jeeS//RQeMLnKK5Vd4o/UizlT2RuA7V YnRt229tIYNal8pjfPJC5qp47I4Y4T59mBEeIJU2OETognyG+ixKoxIRfCjD8tOQ/Msm jjGQ== X-Gm-Message-State: AIkVDXJSiPJTmSEPNqaPyNQ9nIPHiy7+PP0CaN3A9aBEQ6tC94SwtvoMcsTb7+DULpxkGIe/ X-Received: by 10.237.60.51 with SMTP id t48mr54844349qte.24.1483389905952; Mon, 02 Jan 2017 12:45:05 -0800 (PST) Received: from mutt-hardenedbsd (pool-100-16-218-231.bltmmd.fios.verizon.net. [100.16.218.231]) by smtp.gmail.com with ESMTPSA id f7sm42082709qtf.48.2017.01.02.12.45.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Jan 2017 12:45:04 -0800 (PST) Date: Mon, 2 Jan 2017 15:45:01 -0500 From: Shawn Webb To: tech-lists Cc: freebsd-arm@freebsd.org Subject: Re: pkg fails to install on aarch64/rpi3 Message-ID: <20170102204501.3ybcu3naj4saktru@mutt-hardenedbsd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="42dtv7luyjxbjbgw" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD mutt-hardenedbsd 12.0-CURRENT-HBSD FreeBSD 12.0-CURRENT-HBSD X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: NeoMutt/20161126 (1.7.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2017 20:45:07 -0000 --42dtv7luyjxbjbgw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 02, 2017 at 01:35:27PM +0000, tech-lists wrote: > Hello list, >=20 > It seems jemalloc path from the system that created the crochet rpi3 > image is remembered by the image, so ports won't install. The quoted > path in the error below doesn't exist on my rpi3 system. >=20 > Are ports meant to be working for the rpi3? >=20 > root@rpi3:/usr/ports/ports-mgmt/pkg # make install clean > =3D=3D=3D> Installing for pkg-1.9.4_1 > =3D=3D=3D> Checking if pkg already installed > =3D=3D=3D> Registering installation for pkg-1.9.4_1 > : > /root/tmp/crochet/fbsd12-src/lib/libc/../../contrib/jemalloc/include/jema= lloc/internal/tcache.h:346: > Failed assertion: "binind < nhbins" > Child process pid=3D73566 terminated abnormally: Abort trap > *** Error code 134 >=20 > Stop. > make[1]: stopped in /usr/ports/ports-mgmt/pkg > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/ports-mgmt/pkg > root@rpi3:/usr/ports/ports-mgmt/pkg # This is due to either a bug in jemalloc or a bug in freebsd's locking code. You can work around it by running this command: ln -s 'tcache:false' /etc/malloc.conf Thanks, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --42dtv7luyjxbjbgw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlhqu8gACgkQaoRlj1JF bu4dxw//QgN4nbb/8ZZag0TyotkgqjnNN9edsSS8r+hBlUgt1id8iBVHbhKH7+aI 4HAcRp+sM1oyla3WBQRveoN1ZYs+O8+KQmAihHxp9pr1eqxcT4E6nl+7mAZd2//3 dkMY7QWzc551QD0xy9IVU9ouVwRrw3zPKUxS7pXlVdqcVAE/7uieqWvS77xmbqbw CxxwfHzdlTgJVd+euiB1EP+TGoMcNccI600Obm0Gdvprws09iNhvt6zzLEtNMGYr 4E8nC395/ibFvaxNedh4/vQYl9qVG/8aL/NcxbULYpz31ydsh8M7djIQf0F2Se/J edtNGNvKJzxeOV72AutmUCRidQyJVsHhSVETH80r/ZhDo0Q5fdITlTKOhRyjaULA 7PscVqslXEyKyqMMqe5D/kXNT2C1wxshEmbcHQahKn9OSP+fsrOxK8GUI2k3urir S6ms2gpsgqhTImncxDdb+iyj2xQaF9ccYoMSqDEGjAL3VDr67Nn6lY7QNS0lDFT0 8ys7+RNM6pACgWgTmNfLFSM5zc5HPKtA2Ah0it19jHTo3EF70LXbQYhZx5gcDEKv zcNW77ytsjvy5oGrjOucWQQSgQIEYS6xgRO+tzVYLaZFA93lGdOdrt3LH+EuMD5r kel1IC0CNNdn5e56Fxi+g+kevpkt4jmSb24PXUOv12ii3v/8Prk= =6rVI -----END PGP SIGNATURE----- --42dtv7luyjxbjbgw--