From nobody Mon Apr 25 23:17:18 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BF5C91993A95 for ; Mon, 25 Apr 2022 23:17:31 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.ipv6.vt.edu [IPv6:2001:468:c80:a103:2:5000:5555:5555]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KnLWt69sdz3PhP; Mon, 25 Apr 2022 23:17:30 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from smtpclient.apple (unknown [IPv6:2001:470:e15b:23::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 4580038EAD; Mon, 25 Apr 2022 19:17:19 -0400 (EDT) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: Re: Cross-compile worked, cross-install not so much ... From: Paul Mather In-Reply-To: <7FA0C88D-4446-47DD-BBC0-3300B26D6A27@hausen.com> Date: Mon, 25 Apr 2022 19:17:18 -0400 Cc: Brooks Davis , "freebsd-current@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <3D48BE93-7D42-4AB2-82D4-88BBF4E1FD40@hausen.com> <20220425191823.GA89506@spindle.one-eyed-alien.net> <7FA0C88D-4446-47DD-BBC0-3300B26D6A27@hausen.com> To: "Patrick M. Hausen" X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Rspamd-Queue-Id: 4KnLWt69sdz3PhP X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=vt.edu (policy=none); spf=none (mx1.freebsd.org: domain of paul@gromit.dlib.vt.edu has no SPF policy when checking 2001:468:c80:a103:2:5000:5555:5555) smtp.mailfrom=paul@gromit.dlib.vt.edu X-Spamd-Result: default: False [-1.65 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEFALL_USER(0.00)[paul]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.47)[-0.475]; NEURAL_HAM_MEDIUM(-0.67)[-0.671]; MLMMJ_DEST(0.00)[freebsd-current]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:1312, ipnet:2001:468:c80::/48, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[vt.edu : No valid SPF, No valid DKIM,none] X-ThisMailContainsUnwantedMimeParts: N On Apr 25, 2022, at 3:26 PM, Patrick M. Hausen wrote: > Hi, >=20 >> Am 25.04.2022 um 21:18 schrieb Brooks Davis : >> Cross install is not supported. As you have seen, certain tools are >> bootstrapped on the build host and used during the install process. = You >> might be able to get away with nuking >> /usr/obj/usr/src/arm64.aarch64/tmp/legacy (or maybe tmp) and then >> running `make toolchain` to build native versions of those tools. >=20 > that comes as a big surprise and disappointment. What is the point of = cross-compiling, then? > How to update a small slow embedded platform? At least as far back as July 2016 I kept my FreeBSD/arm systems updated = by cross-building on a FreeBSD/amd64 system and using PkgBase to update = the OS on the FreeBSD/arm systems: = https://lists.freebsd.org/pipermail/freebsd-arm/2016-July/014444.html This worked well for me, at least until I stopped running FreeBSD on my = ARM systems. I don't know whether it still works. Cheers, Paul.