From owner-freebsd-current@FreeBSD.ORG Tue Aug 28 09:19:43 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C60A216A418 for ; Tue, 28 Aug 2007 09:19:43 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 7C4CE13C459 for ; Tue, 28 Aug 2007 09:19:43 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1IPxEc-0001jJ-4f; Tue, 28 Aug 2007 12:19:42 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: "Rong-en Fan" In-reply-to: Your message of Tue, 28 Aug 2007 12:36:16 +0800 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 Aug 2007 12:19:42 +0300 From: Danny Braniss Message-ID: Cc: freebsd-current@freebsd.org, LI Xin Subject: Re: -current cross compile for -stable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2007 09:19:43 -0000 > On 8/28/07, LI Xin 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@ 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