From owner-freebsd-hackers@freebsd.org Mon Jun 8 15:03:27 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5358533290F for ; Mon, 8 Jun 2020 15:03:27 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49gc2Q3BbLz3Tbg; Mon, 8 Jun 2020 15:03:26 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 058F33V3046859; Mon, 8 Jun 2020 08:03:03 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 058F32pJ046858; Mon, 8 Jun 2020 08:03:02 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202006081503.058F32pJ046858@gndrsh.dnsmgr.net> Subject: Re: Cross compile FreeBSD on amd64 for arm64 failes via compile determination error In-Reply-To: <710FD6CA-F6F4-40F1-9C78-0DE90639ED13@dons.net.au> To: "O'Connor, Daniel" Date: Mon, 8 Jun 2020 08:03:02 -0700 (PDT) CC: Mark Murray , Ian Lepore , freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 49gc2Q3BbLz3Tbg X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [-0.82 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.66)[-0.656]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.78)[-0.779]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.29)[-0.289]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2020 15:03:27 -0000 > > > On 6 Jun 2020, at 19:26, Mark Murray wrote: > > 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 :-) > > I've done 'make installworld DESTDIR=/tmp/armdest' on the fast machine then copied it over with tar to the slow one and it seemed to work OK. > > Being able to installworld with src/obj NFS mounted would be nice though. Idea: It would be nice if we could do what you just did, then export /tmp/armdest via NFS, then on arm system mount host:/tmp/armdest /tmp/armdest and the src and obj trees. And then somehow run a make installworld TOOLSDIR=/tmp/armdest, this would solve your problem with what I believe to be a very mininmal change/enhancement to the make system. -- Rod Grimes rgrimes@freebsd.org