From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 9 12:00:02 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C967830A; Tue, 9 Dec 2014 12:00:02 +0000 (UTC) Received: from server1.xenet.de (server1.xenet.de [213.221.94.201]) by mx1.freebsd.org (Postfix) with ESMTP id BB6F79E4; Tue, 9 Dec 2014 12:00:01 +0000 (UTC) Received: from [10.0.0.32] (intern.xenet.de [213.221.94.50]) (authenticated bits=0) by server1.xenet.de (8.12.5/8.12.5) with ESMTP id sB9BuC3q079363; Tue, 9 Dec 2014 12:56:14 +0100 (CET) (envelope-from meyser@xenet.de) Message-ID: <5486E432.2030809@xenet.de> Date: Tue, 09 Dec 2014 12:59:46 +0100 From: Matthias Meyser Organization: XeNET GmbH, Clausthal-Zellerfeld User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Garrett Cooper , Alfred Perlstein Subject: Re: Re: cross installing freebsd? References: <5483AE21.8090306@freebsd.org> <613884DA-F978-4D9F-9E37-D39581EFEA61@freebsd.org> <26F569E9-3E70-4CE7-810F-5427FF1C7EA0@gmail.com> In-Reply-To: <26F569E9-3E70-4CE7-810F-5427FF1C7EA0@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.38 Cc: FreeBSD Hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2014 12:00:02 -0000 Hi Am 08.12.2014 um 11:04 schrieb Garrett Cooper: > On Dec 7, 2014, at 21:48, Alfred Perlstein wrote: [..] >> To be honest I have a gist as to what you're saying but I think the build is suffering from shibboleth-itis. Meaning it's not serviceable unless you're intimately familiar with it… > > Right. I didn’t know about all of these magic things until I started reading the Makefiles :). > >> I *guess* that ITOOLS or maybe LOCAL_ITOOLS means programs needed to installworld/installkernel? > > Yes. Basically for things that can be replaced while make installworld is run, or as Makefile.inc1 says… > > "# Required install tools to be saved in a scratch dir for safety.” > > All the libraries for the tools are backed up so if the tools get replaced while make distributeworld/installworld is running, your system won’t be hosed (that’s why make installworld works for me the majority of the time, if cp gets replaced and ABI changes — not always, but oftentimes). > >> If so, then yes, makewhatis needs to be added to that. The problem is that those tools are build for the HOST arch during crossbuilding. I don`t know if a version for TARGET arch is build also. The "right way" would be to to build these tools also for the TARGET arch (if not done already) and to teach the normal "install" to use them. - Matthias -- Matthias Meyser | XeNET GmbH Tel.: +49-5323-9489050 | 38678 Clausthal-Zellerfeld, Marktstrasse 40 Fax: +49-5323-9489059 | Registergericht: Amtsgericht Braunschweig HRB 110823 Email: Meyser@xenet.de | Geschaeftsfuehrer: Matthias Meyser