From owner-freebsd-arch@FreeBSD.ORG Thu Jan 15 00:36:58 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 63E251065670 for ; Thu, 15 Jan 2009 00:36:58 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx09.syd.optusnet.com.au (fallbackmx09.syd.optusnet.com.au [211.29.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id A40AD8FC13 for ; Thu, 15 Jan 2009 00:36:56 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail36.syd.optusnet.com.au (mail36.syd.optusnet.com.au [211.29.133.76]) by fallbackmx09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n0ELGTZA011265 for ; Thu, 15 Jan 2009 08:16:29 +1100 Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail36.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n0ELGKat023034 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 Jan 2009 08:16:21 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id n0ELGHEO030025; Thu, 15 Jan 2009 08:16:17 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id n0ELGHSl030024; Thu, 15 Jan 2009 08:16:17 +1100 (EST) (envelope-from peter) Date: Thu, 15 Jan 2009 08:16:17 +1100 From: Peter Jeremy To: Andrew Hotlab Message-ID: <20090114211616.GC16116@server.vk2pj.dyndns.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K8nIJk4ghYZn606h" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-i386@amd.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 00:36:58 -0000 --K8nIJk4ghYZn606h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Please wrap your lines before 80 columns] On 2009-Jan-14 15:06:06 +0000, Andrew Hotlab wr= ote: >At this time, I've tried to build RELENG_7_1 for the i386 >architecture using an amd64 machine (running RELENG_7_0 for amd64) >then, exporting /usr/src and /usr/obj via NFS in read-only mode to >target machines, This won't work because install{world,kernel} 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. The supported approach is to NFS mount the target machines onto the build machine and run "make DESTDIR=3D/mount/point install{world,kernel}" 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. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --K8nIJk4ghYZn606h Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkluViAACgkQ/opHv/APuIe7uwCfY9BGyzbQAIqQBF5FRGFDHGjO /4UAoJaUBdgVy0eyN1PhLww9kzTEJkK5 =MgHu -----END PGP SIGNATURE----- --K8nIJk4ghYZn606h--