tinderbox host=64bit, jail=32bit -> some packages don't build

Dmitry Morozovsky marck at rinet.ru
Fri Jun 24 09:36:39 EDT 2011


On Wed, 22 Jun 2011, rainer at ultra-secure.de wrote:

> is there a way (or is it even possible/advised) to build 32bit packages on
> a 64bit tinderbox?
> 
> Some of the multimedia-packages (and libGL, math/gmp) seem to run into
> assembler-problems where the code thinks it's on 64bit (no surprise), but
> is in reality running in a 32bit tinderbox jail.
> 
> How should that be handled?

1. build jail with -a i386
2. make sure ${tbhome}/etc/env/${buildname} exists and contains

export ARCH=i386
export MACHINE_ARCH=i386
export UNAME_m=i386
export UNAME_p=i386

These two steps work for me, at least for {7,8}-i386 builds on 8-amd64 host

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the tinderbox-list mailing list