Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2007 14:30:44 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        LI Xin <delphij@delphij.net>, freebsd-current@freebsd.org, Rong-en Fan <grafan@gmail.com>
Subject:   Re: -current cross compile for -stable
Message-ID:  <20070828213044.GB89132@dragon.NUXI.org>
In-Reply-To: <E1IPxEc-0001jJ-4f@cs1.cs.huji.ac.il>
References:  <E1IPxEc-0001jJ-4f@cs1.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 28, 2007 at 12:19:42PM +0300, Danny Braniss wrote:
> > On 8/28/07, LI Xin <delphij@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
> > > > ...
> > > 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@ mailing or tinderbox's.
> 
> 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'?

There's no reason to - if you want to build RELENG_6 on a 7.x box, you
should have RELENG_6 chroot to do so.  You'll just keep running into
problems as we don't support builds the way you're trying.
 
-- 
-- David  (obrien@FreeBSD.org)
Q: Because it reverses the logical flow of conversation.
A: Why is top-posting (putting a reply at the top of the message) frowned upon?
Let's not play "Jeopardy-style quoting"



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