From owner-freebsd-arch@FreeBSD.ORG Tue Jul 8 12:35:06 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24FE16DF for ; Tue, 8 Jul 2014 12:35:06 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 037042DAB for ; Tue, 8 Jul 2014 12:35:05 +0000 (UTC) Received: from [192.168.200.204] (c-50-131-5-126.hsd1.ca.comcast.net [50.131.5.126]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 046A619360B; Tue, 8 Jul 2014 12:35:03 +0000 (UTC) Subject: Re: Total confusion over toolchain/xdev behavior From: Sean Bruno Reply-To: sbruno@freebsd.org To: Warner Losh In-Reply-To: <9356CE3E-1249-4318-8946-644FDD817CDF@bsdimp.com> References: <1404688077.1059.115.camel@bruno> <2788FB1E-9498-40C2-94DE-F4C73A5DDD30@kientzle.com> <9356CE3E-1249-4318-8946-644FDD817CDF@bsdimp.com> Content-Type: text/plain; charset="windows-1251" Date: Tue, 08 Jul 2014 05:35:02 -0700 Message-ID: <1404822903.1662.0.camel@bruno> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: Tim Kientzle , freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2014 12:35:06 -0000 On Mon, 2014-07-07 at 21:19 -0600, Warner Losh wrote: > On Jul 7, 2014, at 8:59 PM, Tim Kientzle wrote: > > > > > On Jul 6, 2014, at 4:07 PM, Sean Bruno wrote: > > > >> Objective: install an xcompile toolchain into a jail for use by > >> poudriere during arm/mips/sparc/power ports pkgs builds. The build > >> should be possible from a non-root user. > > I just re-read this… > > So why doesn’t the following work: > > make buildworld TARGET=foo > make installworld TARGET=foo DESTDIR=root-of-jail WITH_INSTALL_AS_USER=t > > to generate a jail that you can use? Or are you trying to get a native cross compiler > into the jail? neither toolchain nor xdev will fit your needs, I fear... > > Or, in gcc terms, you’d like to build host == build == arch-of-the-silicon-of-the-mahine, target == mips or something? > > Warner > I am trying to speed up xcompile build of ports. Right now, qemu bsd-user is handling the builds via a native gcc/clang which is super slow as everything is emulated. sean