From owner-freebsd-current@FreeBSD.ORG Wed Dec 31 22:31:00 2014 Return-Path: Delivered-To: freebsd-current@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 3448A311 for ; Wed, 31 Dec 2014 22:31:00 +0000 (UTC) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id E7941662EE for ; Wed, 31 Dec 2014 22:30:59 +0000 (UTC) Received: from [192.168.135.70] (unknown [94.19.235.70]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id AFCB95C002; Thu, 1 Jan 2015 01:30:45 +0300 (MSK) Message-ID: <54A47917.7090202@FreeBSD.org> Date: Thu, 01 Jan 2015 01:30:47 +0300 From: Lev Serebryakov Reply-To: lev@FreeBSD.org Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Garrett Cooper Subject: Re: Proper way to build nanobsd with "external" toolchain on new CURRENT? References: <54A4717C.1080707@FreeBSD.org> <92EE2179-B7E4-43AE-9A81-0688F2F37FF5@gmail.com> In-Reply-To: <92EE2179-B7E4-43AE-9A81-0688F2F37FF5@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: FreeBSD-Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2014 22:31:00 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 01.01.2015 01:14, Garrett Cooper wrote: >> Where XSTRIPBIN is my addition (or installworld will fail due to >> absent "strip" for "install -s”) > > Should XSTRIPBIN be STRIP_CMD? From build(7)… > > STRIP_CMD Command to use at install time when stripping > binaries. Be sure to add any additional tools required to run > STRIP_CMD to the LOCAL_ITOOLS make(1) variable before running the > distributeworld or installworld targets. See install(1) for more > details. > > This should be unnecessary though as I’ve already resolved the > strip command not being present issue in r275867. After some digging ~1.5 years ago (or more?) I found, that this work for me (conditional on filled XSTRIPBIN): IMAKEENV+= STRIPBIN=${XSTRIPBIN} Without this when I specify WITHOUT_TOOLCHAIN=yes on build stage each installation is failed due to absent "strip". But maybe, it is not very clean way, I don't know. - -- // Lev Serebryakov AKA Black Lion -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQJ8BAEBCgBmBQJUpHkXXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePBqYQAKAz0z6DJEso5Qlr7uTKA9D+ PDk3YcmGzboahnWq2bPmgpVsUL4zDWG8sIX77WcCPtQoMgZdnVfvh7oJPh470rLs 2+lnFv8qGGd1bqZHj1k25DuOgNdphocy+Ed9azyBt6kIRkl7Elypzew8Ai5Kp+W9 vdRwbSdZ0qXKDx8hUjTXMcKNeloS7Hb6avLylqTIys4WD4YeoWEmUQ2w+k9f1iPc 6XpXVRfAz3A3dGuLRE2dsKzMeUrJZojOJbBCfVDTT7fBgpKQ1x4mhKxAlZqyDckm DbOafX/hssmseuffu8xj2TIw+/7XptIpf8+fhw0D4qn/thR/V9lctZOo9NWa7jQ/ g7Q+HSfg1MD78UQOQ4CiJzTSGJWpdezI/Z7pgGXCwmspjFsLGGeNWidY/crhtjPL kBJJUydZo9hG0w21JfASh36vHDH5maWv2Vq9rNgumpSYgQXYX7SJn2uXCRp19/71 VlyQCly2Q6bTj61OL+Zj3kc79hGVtZERKEFtOoJi4Xfme+8VinAQGVe//czxlpjc +GW0joH2MgthFZC3+kf2Wy8OYMfq/NSnlr//+5uT+vM6yXWtQIqVCCMHCtu6anjI lHAfQ1GW9UuZ3E8R9RVD59k3be+hooxHufZHvYSrQUMNQwItmmC+bmozh6g1Hd/1 k/veiHpg1Ox55DpJkCPO =wSqb -----END PGP SIGNATURE-----