Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2010 08:51:42 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        Mars G Miro <spry@anarchy.in.the.ph>, Andrew Thompson <thompsa@freebsd.org>
Subject:   Re: Cross-building amd64->i386 fails at RESCUE
Message-ID:  <201001130851.42443.jhb@freebsd.org>
In-Reply-To: <f12f408a1001121852j69b93ce1y6e9ba07d1f3c0426@mail.gmail.com>
References:  <f12f408a1001121735p684e9d5di63fa223c2d100f50@mail.gmail.com> <20100113022149.GF63408@citylink.fud.org.nz> <f12f408a1001121852j69b93ce1y6e9ba07d1f3c0426@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 12 January 2010 9:52:02 pm Mars G Miro wrote:
> On Wed, Jan 13, 2010 at 10:21 AM, Andrew Thompson <thompsa@freebsd.org> 
wrote:
> > On Wed, Jan 13, 2010 at 09:35:53AM +0800, Mars G Miro wrote:
> >> Hi List!
> >>
> >>     Has anyone successfully cross-built amd64->i386 in 8.0? I tried
> >> but got these:
> >> http://pastebin.com/f1cafe40d .
> >
> > All the time. You didnt mention how you are doing the build, I use
> >
> >  % make buildworld buildkernel TARGET=i386
> >
> 
> I did:
> 
> setenv  MAKEOBJDIRPREFIX /usr/obj-i386
> setenv  TARGET  i386
> setenv  TARGET_ARCH     i386
> 
> then 'make buildworld' in /usr/src

Can you verify that 'make buildworld TARGET=i386' works?  If so, can you
try just setting MAKEOBJDIRPREFIX via setenv (or setting it as an argument to 
make)?

-- 
John Baldwin



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