Cross-building amd64->i386 fails at RESCUE

John Baldwin jhb at freebsd.org
Wed Jan 13 16:05:38 UTC 2010


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 at 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


More information about the freebsd-hackers mailing list