Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2006 16:44:26 +0400
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Dag-Erling Sm?rgrav <des@des.no>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src ObsoleteFiles.inc
Message-ID:  <20060814124426.GB59946@rambler-co.ru>
In-Reply-To: <86k65bv6wk.fsf@xps.des.no>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <ru@FreeBSD.org> writes:
> > On Mon, Aug 14, 2006 at 12:57:33PM +0200, Dag-Erling Sm?rgrav wrote:
> > > Ruslan Ermilov <ru@FreeBSD.org> 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+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060814124426.GB59946>