From owner-freebsd-current@FreeBSD.ORG Tue Aug 28 04:36:18 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 5DD2516A417 for ; Tue, 28 Aug 2007 04:36:18 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.freebsd.org (Postfix) with ESMTP id 046C013C48D for ; Tue, 28 Aug 2007 04:36:17 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so1394672pyb for ; Mon, 27 Aug 2007 21:36:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AmPcp62xXzh3atf4Ira9Svj1PlXnnm1gSqchAKT4of0Wvj2mOuHKJZmk7wn+5vMw2aqCNg9SQiuC05nR+/Yoz+1sFXb7XzxobOV7EhYLhVk9FVcb28V+fZH+2D6ed0FlU6BZ0A/r5h7DEKRr3rZER4bscEVeuCK8qyBpz196gyg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r3yiiX9x+4EDfmg3UhEzVIYJVTCRBhgZXwakZqVZIyIptPG1ZICdKdaIjbVKk7MFJQrMSni7lGhBWpJNja8jlwNBQwo9umhJsgdmGWL+33VOQWPZAyp3JPGgnene9hIFGCcM11PNDE4MFseUvbroI9X/Iq6AnthVYJsWVFpHEKU= Received: by 10.65.119.14 with SMTP id w14mr12256236qbm.1188275776727; Mon, 27 Aug 2007 21:36:16 -0700 (PDT) Received: by 10.64.185.10 with HTTP; Mon, 27 Aug 2007 21:36:16 -0700 (PDT) Message-ID: <6eb82e0708272136m3511318egbbdb9d2114e5c0f7@mail.gmail.com> Date: Tue, 28 Aug 2007 12:36:16 +0800 From: "Rong-en Fan" To: d@delphij.net In-Reply-To: <46D37727.6010003@delphij.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46D37727.6010003@delphij.net> Cc: freebsd-current@freebsd.org 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 04:36:18 -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 > > Cheers, > -- > Xin LI http://www.delphij.net/ > FreeBSD - The Power to Serve! > > >