From owner-freebsd-arch@FreeBSD.ORG Thu Jan 15 01:14:18 2009 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD7E01065672; Thu, 15 Jan 2009 01:14:18 +0000 (UTC) (envelope-from andrew.hotlab@hotmail.com) Received: from col0-omc3-s9.col0.hotmail.com (col0-omc3-s9.col0.hotmail.com [65.55.34.147]) by mx1.freebsd.org (Postfix) with ESMTP id BA27B8FC16; Thu, 15 Jan 2009 01:14:18 +0000 (UTC) (envelope-from andrew.hotlab@hotmail.com) Received: from COL112-W21 ([65.55.34.136]) by col0-omc3-s9.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 14 Jan 2009 17:12:04 -0800 Message-ID: X-Originating-IP: [217.133.1.92] From: Andrew Hotlab To: Date: Thu, 15 Jan 2009 01:12:03 +0000 Importance: Normal In-Reply-To: <20090114211616.GC16116@server.vk2pj.dyndns.org> References: <20090114211616.GC16116@server.vk2pj.dyndns.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 15 Jan 2009 01:12:04.0117 (UTC) FILETIME=[46CFA450:01C976AE] Cc: freebsd-i386@freebsd.org, freebsd-amd64@freebsd.org, freebsd-arch@freebsd.org Subject: RE: Cross compiling FreeBSD X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 01:14:19 -0000 > > [Please wrap your lines before 80 columns] > I'm so sorry for that: I'm using the Windows Live webmail=2C and it seems impossible to have a decent message format! :( > On 2009-Jan-14 15:06:06 +0000=2C Andrew Hotlab wrote: >>At this time=2C I've tried to build RELENG_7_1 for the i386 >>architecture using an amd64 machine (running RELENG_7_0 for amd64) >>then=2C exporting /usr/src and /usr/obj via NFS in read-only mode to >>target machines=2C > > This won't work because install{world=2Ckernel} uses programs (under > /usr/obj) that were built to run on the build system (amd64 in > your case) and so won't run on the target (i386) system. > So I actually misunderstood the Handbook: only now I realize that it gives the suggestion to export /usr/obj and /usr/src from the build machine= =2C but only if the target architecture is the same as the builder! :S > The supported approach is to NFS mount the target machines onto the > build machine and run "make DESTDIR=3D/mount/point install{world=2Ckernel= }" > on the build machine. Note that this will report errors since NFS > cannot handle UFS flags - you will need to manually remove/add schg flags= . > Ok=2C so I think that in a production environment I should deploy one build= er machine for each target architecture I have to support on my network... I'm right? One last question: I would expect the same issues if I wish to to support m= any FreeBSD releases running of one single type of architecture? (i.e.: both bu= ilder and targets are amd64 machines=2C but I run RELENG_7 on the builder and RELENG_6_4 and RELENG_7_1 on the targets) Thanks for your explanation. _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Space= s. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=3Dcreate&wx_url=3D/friends.= aspx&mkt=3Den-us=