From owner-svn-ports-all@freebsd.org Sat Dec 16 08:08:25 2017 Return-Path: Delivered-To: svn-ports-all@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 1DFB1EA0A25; Sat, 16 Dec 2017 08:08:25 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F1B5B7BD8F; Sat, 16 Dec 2017 08:08:24 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 4F7A93AE2; Sat, 16 Dec 2017 08:08:24 +0000 (UTC) From: Jan Beich To: Alexey Dokuchaev Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, clusteradm@FreeBSD.org, ports-committers@freebsd.org Subject: Re: svn commit: r456402 - in head/lang/ocaml: . files References: <201712151531.vBFFV86t045131@repo.freebsd.org> <20171215170122.GA55820@FreeBSD.org> <20171215173736.GA92502@FreeBSD.org> <20171216074159.GA4791@FreeBSD.org> Date: Sat, 16 Dec 2017 09:08:17 +0100 In-Reply-To: <20171216074159.GA4791@FreeBSD.org> (Alexey Dokuchaev's message of "Sat, 16 Dec 2017 07:41:59 +0000") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Dec 2017 08:08:25 -0000 Alexey Dokuchaev writes: > On Fri, Dec 15, 2017 at 07:05:24PM +0100, Jan Beich wrote: > >> ... >> poudriere can use qemu-user (at least on i386 and amd64) to emulate >> aarch64, armv6, armv7, mips, mips64. However, emulation is slow thus >> native-xtools are used to speed up the build via statically-linked host >> binaries[1] for target architecture under /nxb-bin prepended in PATH. > > Thanks, I'll try to use qemu (I don't know what qemu-user is though). > I've tried it before to emulate sparc64 which we lack in cluster, but > it did not work. I've heard that it's better for those other tier-2 > targets you've mentioned. qemu-user refers to emulators/qemu-user-static which installs qemu-aarch64-static that can run FreeBSD aarch64 binaries without starting a whole VM. > >> EuroBSDCon 2014 had some presentations about this by sbruno and bapt: >> https://www.youtube.com/watch?v=2J9Lz3pgnbA >> https://www.youtube.com/watch?v=JfZIoyQhly4 > > I'll have a look, but native-xtools thing could be a bit too hard for > me to understand and setup. native-xtools are already integrated into poudriere, so all you need to know is to pass -x when creating a jail like in my example. On FreeBSD before 12.0 the target is a bit broken, so you need /usr/src matching target on host machine as well.