Date: Sat, 6 Jun 2020 10:56:08 +0100 From: Mark Murray <markm@FreeBSD.org> To: Ian Lepore <ian@FreeBSD.org> Cc: freebsd-hackers@freebsd.org Subject: Re: Cross compile FreeBSD on amd64 for arm64 failes via compile determination error Message-ID: <B9800A33-0F6C-407B-8F7A-F565945D627D@FreeBSD.org> In-Reply-To: <2e91deb9835aaaadd6dceec95395b81f5257f15b.camel@freebsd.org> References: <20200605183002.GA2973@lion.0xfce3.net> <2e91deb9835aaaadd6dceec95395b81f5257f15b.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_FC84916C-2943-434C-99B0-378174D7CC25 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > On 6 Jun 2020, at 00:25, Ian Lepore <ian@FreeBSD.org> wrote: > > You cannot do that. The installworld process uses a path that points > into the obj tree that got built (so that new binaries are used to do > the install work), and those binaries are compiled for the arch that > did the build. That is my experience. I used to work around a closely related problem when I built build* on a fast machine, and did the install* on the slow ones. As I was using automounts, I ended up with incompatible paths baked into the build, so I worked around those with symlinks. I never tried this with anything other than i386/i386 or amd64/amd64, so the above is interesting. Could a viable cross-build* be "fixed" by symlinks, and somehow and easily forcing a cross-build of the bootstrap tools? My RPis wish to know :-) M -- --Apple-Mail=_FC84916C-2943-434C-99B0-378174D7CC25 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 Comment: GPGTools - http://gpgtools.org iQEzBAEBCgAdFiEEyzPHvybPbOpU9MCxQlsJDh9CUqAFAl7baDgACgkQQlsJDh9C UqDM5Af+L0VOe/2ETeQCSkv58+DeS8STKVHi9dB/qyDpk/hhX1tZZvDNyt2RTTdi 1sS5MrFFm2VMtjNNd+ldTRpzltPVFK5ElkxxyV/03iiG71J3JlGMIQS/of0VSVQE oFKRM2hT0aLXMRRW1Hnk3Iur9/EKmMx1GeXwE1u95s6C8lM1OY7VdhCyNIjyGAcc 5ThhARxRbyQTfn69+TyXlNdQUBaVfmmawUpI5fP7M9tf2aXWt7H+Sis/MicAUnYs 0F5JVeF18gikHTT3SYCds6YmBZ8zirQJYjKp4uc0EFPuXVJuog2zuB7HJtDRNMJj q3BbXabDHtRm8UAhCeZmOaLJbTi3ZA== =RRg7 -----END PGP SIGNATURE----- --Apple-Mail=_FC84916C-2943-434C-99B0-378174D7CC25--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9800A33-0F6C-407B-8F7A-F565945D627D>