Cross compile FreeBSD on amd64 for arm64 failes via compile determination error
Mark Murray
markm at FreeBSD.org
Sat Jun 6 09:56:19 UTC 2020
> On 6 Jun 2020, at 00:25, Ian Lepore <ian at 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
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 556 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20200606/1308ed72/attachment.sig>
More information about the freebsd-hackers
mailing list