Possible bug with cross compiling (i386 on amd64 host).

Guido Falsi mad at madpilot.net
Thu Oct 21 12:17:36 EDT 2010


On Thu, Oct 21, 2010 at 10:01:24AM -0500, Tom Judge wrote:
> > I have the folowing lines in the i386 build env:
> >
> > export ARCH=i386
> > export MACHINE_ARCH=i386
> > export UNAME_m=i386
> > export UNAME_p=i386
> >
> 
> I'm not sure you need the UNAME_[mp] lines as when I chroot into my i386
> build and run uname -[mp] I get i386 returned from both.
> 
> I once I extract the list of ports I will be building I will ack them
> for MACHINE_ARCH to see if that will cause me an issue.

I took these from this Virtualbox appliance:

http://vboxtindi.chruetertee.ch/

It is a virtualbox appliance with a tinderbox in it and many
jails/builds in it. Also some i386 ones(the appliance itself emulates
a 64bit FreeBSD system).

I just copied some configs from there.

> 
> > Apart from these I just forced the architecture to i386 when making
> > the jail.
> 
> You used -a i386 with createJail correct?

Yes exactly. I just could not recall the command line argument while
writing this email. :P

-- 
Guido Falsi <mad at madpilot.net>


More information about the tinderbox-list mailing list