From owner-cvs-src@FreeBSD.ORG Mon Aug 14 12:44:22 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 812C716A4DD; Mon, 14 Aug 2006 12:44:22 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id A538D43D7C; Mon, 14 Aug 2006 12:44:21 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 898585C49; Mon, 14 Aug 2006 16:44:20 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 803D65C89; Mon, 14 Aug 2006 16:44:20 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.6/8.13.6) id k7ECiQlG060122; Mon, 14 Aug 2006 16:44:26 +0400 (MSD) (envelope-from ru) Date: Mon, 14 Aug 2006 16:44:26 +0400 From: Ruslan Ermilov To: Dag-Erling Sm?rgrav Message-ID: <20060814124426.GB59946@rambler-co.ru> References: <20060811235619.G93570@atlantis.atlantis.dp.ua> <20060811220244.GC5237@rambler-co.ru> <20060811223642.GA21117@xor.obsecurity.org> <20060812005213.384b744b@Magellan.Leidinger.net> <20060812084253.GA8597@rambler-co.ru> <20060812123531.GA36569@xor.obsecurity.org> <20060813185551.GA15783@rambler-co.ru> <864pwfwpnm.fsf@xps.des.no> <20060814121415.GA59023@rambler-co.ru> <86k65bv6wk.fsf@xps.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NMuMz9nt05w80d4+" Content-Disposition: inline In-Reply-To: <86k65bv6wk.fsf@xps.des.no> User-Agent: Mutt/1.5.12-2006-07-14 X-Virus-Scanned: No virus found Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src ObsoleteFiles.inc X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 12:44:22 -0000 --NMuMz9nt05w80d4+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 14, 2006 at 02:27:55PM +0200, Dag-Erling Sm?rgrav wrote: > Ruslan Ermilov writes: > > On Mon, Aug 14, 2006 at 12:57:33PM +0200, Dag-Erling Sm?rgrav wrote: > > > Ruslan Ermilov writes: > > > > touch(1) is not an install tool. > > > It should be a build tool. It is used during buildkernel and > > > installworld, causing upgrades to break every so often (especially > > > when upgrading across a libc version bump, IIRC). > > It *is* a build tool, indeed. Build tools aren't special, everything > > in the set ${PATH} can be a build tool. >=20 > As you very well know, build tools need to be cross-built (by the > build-tools target) to run on the host system, and touch isn't. >=20 No, build-tools are completely different beastie. Also, a tool that's cross built is for (potentially) different platform / kernel version, so it cannot be run by the host system, by definition. Just a small reminder of what types of the tools we use during the build: - build-tools are built on the build host, and to be run by the build host. These are usually some small special helper utils that are not normally installed. Some of them are shell scripts, so they are not built at all. ;) - cross-tools need to be cross-build. The rule of thumb for the cross-tool is that it knows and pays attention to ${TARGET_ARCH}. - bootstrap-tools are the tools that need to be built for backward compatibility reasons. Ideally, every bootstrap tool that we use during the build should be built, but this slows down the build process, so it was agreed that we only build what's absolutely necessary for an upgrade, and we ab^Wuse /usr/include/osreldate.h for this purpose. P.S. My "it is a build tool" above wasn't implying a build-tools set; rather, all I was trying to say is that we're allowed to use this tool during the build (in a makefile). Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --NMuMz9nt05w80d4+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE4HAqqRfpzJluFF4RArXaAJ4sfHN/TEFtLoKeFJ+E5arPr1qhVgCfWLVU SXn2gq21PxvT0dDf1os8Amc= =SZss -----END PGP SIGNATURE----- --NMuMz9nt05w80d4+--