Total confusion over toolchain/xdev behavior

Sean Bruno sbruno at ignoranthack.me
Tue Jul 8 12:35:06 UTC 2014


On Mon, 2014-07-07 at 21:19 -0600, Warner Losh wrote:
> On Jul 7, 2014, at 8:59 PM, Tim Kientzle <tim at kientzle.com> wrote:
> 
> > 
> > On Jul 6, 2014, at 4:07 PM, Sean Bruno <sbruno at 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



More information about the freebsd-arch mailing list