From owner-svn-src-head@freebsd.org Thu Aug 13 05:02:02 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F9EF99F8AE; Thu, 13 Aug 2015 05:02:02 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pd0-x22b.google.com (mail-pd0-x22b.google.com [IPv6:2607:f8b0:400e:c02::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DACAAD57; Thu, 13 Aug 2015 05:02:01 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by pdrg1 with SMTP id g1so14944441pdr.2; Wed, 12 Aug 2015 22:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ZpuFmJUMuscmzvclYk5uuoLBPTAzcFz4fFbT95vf2k8=; b=O/YeCcdqBup6/TpSNOwg1E9CK1Z4BNcDigbmetMFWmwIZ0Deoi4dKYdUrjN3fjHNp8 PrRXGEQyh00RKVP4NZCSwPtkVXBaN2+XFK9Jljk+lZw6RQsPQkW7gsdmY3UCnctLnFHx Cnn6FZFJ0qOObznW6NXiRrZXk2fo7VfA/CbQHKrGo1anjd6AKi4V4L0XmuF/bJT3TOQ8 Xte5ZnYQ2zxJs9TFmMJV+XAcgtu8mJNnDzIIOUQ5ThlJbcHStXIHmwOAbtv+L2ME8VaY 4JiOQtW1v3w7BzXBdZCrFzOsWHnWwbldlH1kQrNouAx0LMDSpfulfhwJyYtYanlHHA8i 1vpg== X-Received: by 10.70.38.231 with SMTP id j7mr75445413pdk.146.1439442121100; Wed, 12 Aug 2015 22:02:01 -0700 (PDT) Received: from ?IPv6:2601:601:800:126d:99cf:7b87:4b2c:ea6c? ([2601:601:800:126d:99cf:7b87:4b2c:ea6c]) by smtp.gmail.com with ESMTPSA id xs13sm914065pac.3.2015.08.12.22.02.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Aug 2015 22:02:00 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: svn commit: r286687 - head From: Garrett Cooper In-Reply-To: <55CC2447.7040902@freebsd.org> Date: Wed, 12 Aug 2015 22:02:01 -0700 Cc: Warner Losh , Warner Losh , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <2340246B-FDDB-419B-B9E4-25ADA6A15FF1@gmail.com> References: <201508121900.t7CJ0mhT080491@repo.freebsd.org> <55CC2114.4080904@freebsd.org> <40CDA168-F933-48B6-8F65-69D5F374B9E7@bsdimp.com> <55CC2447.7040902@freebsd.org> To: Julian Elischer X-Mailer: Apple Mail (2.1878.6) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2015 05:02:02 -0000 On Aug 12, 2015, at 21:59, Julian Elischer wrote: > On 8/13/15 12:53 PM, Warner Losh wrote: >>> On Aug 12, 2015, at 10:46 PM, Julian Elischer = wrote: >>>=20 >>> On 8/13/15 3:00 AM, Warner Losh wrote: >>>> Author: imp >>>> Date: Wed Aug 12 19:00:47 2015 >>>> New Revision: 286687 >>>> URL: https://svnweb.freebsd.org/changeset/base/286687 >>>>=20 >>>> Log: >>>> Document build-tools better. Add rescue back because it builds = /bin/sh >>>> which has a build-tools target (see commit for how build-tools = and >>>> cross-tools differ). >>> really? do we build ALL of rescue? that contains most of /bin and = lots of /usr/bin. >>> that's a lot.. Can we not just build/bin/sh itself? > I was confused because you put the entry for the entire rescue. not = the subdirectory. >> No, we don=92t. Check the logs before complaining. It builds the = build-tools target >> which is empty for the vast majority of rescue. It wasn=92t obvious = why it was there, >> until I deleted it. Then it became obvious, but I thought I=92d = document why. >=20 > do we build sh through rescue just to get a static binary? > It seems a rather non-obvious way to get one. but if we are building = it that way anyhow, > maybe we should throw a whole bunch of other build time utils in there = as well? > might speed up the compile.. No. It=92s only building bits and pieces needed to bootstrap /bin/sh and = /bin/tcsh for /rescue/rescue .=