From owner-freebsd-hackers@freebsd.org Fri Apr 16 17:22:48 2021 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 674E05D8B57 for ; Fri, 16 Apr 2021 17:22:48 +0000 (UTC) (envelope-from pblok@bsd4all.org) Received: from mail.bsd4all.org (mail.bsd4all.org [88.99.169.216]) by mx1.freebsd.org (Postfix) with ESMTP id 4FMNMC2kYfz4dKk for ; Fri, 16 Apr 2021 17:22:47 +0000 (UTC) (envelope-from pblok@bsd4all.org) Received: from mail.bsd4all.org (localhost [127.0.0.1]) by mail.bsd4all.org (Postfix) with ESMTP id B75A138C8 for ; Fri, 16 Apr 2021 19:22:42 +0200 (CEST) X-Virus-Scanned: amavisd-new at bsd4all.org Received: from mail.bsd4all.org ([127.0.0.1]) by mail.bsd4all.org (mail.bsd4all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k4XBcg5YOD99 for ; Fri, 16 Apr 2021 19:22:42 +0200 (CEST) Received: from mpro.bsd4all.local (pony_ip [82.101.198.11]) by mail.bsd4all.org (Postfix) with ESMTPSA id 001333851 for ; Fri, 16 Apr 2021 19:22:41 +0200 (CEST) From: Peter Blok Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: cross building i386 on amd64 Message-Id: <376DADB2-A7A9-4519-888C-BCD8A32B62B3@bsd4all.org> Date: Fri, 16 Apr 2021 19:22:38 +0200 To: freebsd-hackers@freebsd.org X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4FMNMC2kYfz4dKk X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pblok@bsd4all.org designates 88.99.169.216 as permitted sender) smtp.mailfrom=pblok@bsd4all.org X-Spamd-Result: default: False [1.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_SENDERSCORE_FAIL(0.00)[88.99.169.216:server fail]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[88.99.169.216:from]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; R_DKIM_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[82.101.198.11:received]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[bsd4all.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[88.99.169.216:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[0.996]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2021 17:22:48 -0000 Hi, I=E2=80=99m cross building 12-STABLE i386 on a 12-STABLE amd64 system. = Sources are refreshed every day. Build runs fine and put everything in the right directory. For the = target i386 system it is in /usr/obj/i386TARGET. Next I NFS mount the source /on /usr/src and /usr/obj/i386TARGET on = /usr/obj on the target machine When I run make installworld it will use install from = /usr/obj/usr/src/i386.i386/tmp/legacy/usr/bin because it is the first = install it finds in the PATH set by installworld. This tanks because = install is compiled for amd64. I understand why the legacy path is compiled for amd64. This is needed = to build a distribution. So is this is bug or is the way I distribute the objects not supported? Peter=