Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jul 2014 05:35:02 -0700
From:      Sean Bruno <sbruno@ignoranthack.me>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Tim Kientzle <tim@kientzle.com>, freebsd-arch@freebsd.org
Subject:   Re: Total confusion over toolchain/xdev behavior
Message-ID:  <1404822903.1662.0.camel@bruno>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2014-07-07 at 21:19 -0600, Warner Losh wrote:
> On Jul 7, 2014, at 8:59 PM, Tim Kientzle <tim@kientzle.com> wrote:
> 
> > 
> > On Jul 6, 2014, at 4:07 PM, Sean Bruno <sbruno@ignoranthack.me> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1404822903.1662.0.camel>