Re: -current cross compile for -stable

From: Danny Braniss <danny_at_cs.huji.ac.il>
Date: Tue, 28 Aug 2007 12:19:42 +0300
> On 8/28/07, LI Xin <delphij_at_delphij.net> wrote:
> > Danny Braniss wrote:
> > > till now I used a stable box to cross compile for other arch/stable|current.
> > > today i decided to try out -current as  a base to cross compile. does it
> > > work? since i get:
> > >
> > > export MAKEOBJDIRPREFIX=/r+d/obj/cs4
> > > cd /r+d/6.2/src; make  TARGET_ARCH=amd64 buildworld
> > > ...
> > > /r+d/6.2/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas/config/tc
> > > -i386.h:451: error: array type has incomplete element type
> > > *** Error code 1
> > >
> > > Stop in /r+d/6.2/src/gnu/usr.bin/binutils/as.
> >
> > This won't work.  In order to build -STABLE you have to install a
> > chrooted RELENG_6 environment and chroot into it to make it work.
> 
> I think there is a hack for ports' tinderbox, patch is at
> 
> http://www.marcuscom.com/downloads/binutils.diff
> 
> Not sure it appears in ports_at_ mailing or tinderbox's.
> 
> Regards,
> Rong-En Fan

well, I can confirm that it works. 1)I'm now testing the result
by  using the result to make buildworld - goto 1 :-).

so, if it works for tinderbox, and for me, can it be 'installed'?

thanks,	
	danny
Received on Tue Aug 28 2007 - 07:19:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC