Date: Mon, 13 Sep 2004 09:39:35 +0300 From: Ruslan Ermilov <ru@FreeBSD.org> To: Maxim Sobolev <sobomax@portaone.com> Cc: Jens Schweikhardt <schweikh@schweikhardt.net> Subject: Re: ccache support for make buildworld/make release Message-ID: <20040913063935.GB58490@ip.net.ua> In-Reply-To: <4144AA29.2020003@portaone.com> References: <412CBC91.3070900@portaone.com> <412CD983.2040700@cronyx.ru> <20040825183342.GA81434@xor.obsecurity.org> <20040912112411.GA62181@schweikhardt.net> <20040912140311.GA60265@schweikhardt.net> <20040912180221.GB18232@ip.net.ua> <4144AA29.2020003@portaone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--hHWLQfXTYDoKhP50 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 12, 2004 at 10:57:29PM +0300, Maxim Sobolev wrote: > I have in mind extension for ccache which would allow it to be used with= =20 > buildworld. Instead of using hashed values of compiler binary size and=20 > its last modification time, ccache should be using hash of the compiler= =20 > binary. To avoid hashing several megabytes worth image on each=20 > invocation, compiler binary hash value can be by itself cached using=20 > hashed values of compiler binary size and its last modification time.=20 >=20 That would work, indeed. :-) > Since linking the same objects from the cache is likely to produce the=20 > same binary, bootstrap compiler generated on the second ccached=20 > buildworld will be the same as one generated on the first one. >=20 Even not from cache: # cd /usr/obj/usr/home/src/RELENG_4/gnu/usr.bin/cc/cc1/ # strip cc1 # md5 ./cc1 /usr/libexec/cc1 MD5 (./cc1) =3D 32173c94754290242a6b026cf96ce108 MD5 (/usr/libexec/cc1) =3D 32173c94754290242a6b026cf96ce108 Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --hHWLQfXTYDoKhP50 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBRUCnqRfpzJluFF4RApxsAJ9mxUrzAePxvErDtQNTGb3n5y+9VwCfeZOO R2mTVgTxwZ18epeOrhf3Xag= =vjKr -----END PGP SIGNATURE----- --hHWLQfXTYDoKhP50--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040913063935.GB58490>