Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 08:16:17 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Andrew Hotlab <andrew.hotlab@hotmail.com>
Cc:        freebsd-i386@amd.org, freebsd-amd64@freebsd.org, freebsd-arch@freebsd.org
Subject:   Re: Cross compiling FreeBSD
Message-ID:  <20090114211616.GC16116@server.vk2pj.dyndns.org>
In-Reply-To: <COL112-W14559CEDAEB8C5373A03B4F6D60@phx.gbl>
References:  <COL112-W14559CEDAEB8C5373A03B4F6D60@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <andrew.hotlab@hotmail.com> 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--



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