From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 14 21:42:14 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C457106566C for ; Sun, 14 Nov 2010 21:42:14 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 98AEE8FC1A for ; Sun, 14 Nov 2010 21:42:13 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: oAELffhv015252 Received: from gkeramidas-glaptop.linux.gr (217-162-216-74.dclient.hispeed.ch [217.162.216.74]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id oAELffhv015252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 14 Nov 2010 23:41:49 +0200 From: keramida@freebsd.org (Giorgos Keramidas) To: Erik Cederstrand References: <718D8E86-EA2E-4D07-BAFF-5D8D093FD296@cederstrand.dk> <20101011084733.GM2392@deviant.kiev.zoral.com.ua> <95F3B27C-42E6-4267-9965-AC3219310C35@cederstrand.dk> <20101021175748.GD19295@acme.spoerlein.net> <20101022100134.GL19295@acme.spoerlein.net> <8B6E3E35-68AF-42ED-98CF-E2A4448DAA11@cederstrand.dk> <0CF7C325-E7D9-4C51-8E60-9A0243D2FFFE@cederstrand.dk> Date: Sun, 14 Nov 2010 22:41:30 +0100 In-Reply-To: <0CF7C325-E7D9-4C51-8E60-9A0243D2FFFE@cederstrand.dk> (Erik Cederstrand's message of "Sun, 14 Nov 2010 21:22:53 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: Ulrich =?iso-8859-1?Q?Sp=F6rlein?= , FreeBSD Hackers Subject: Re: Deterministic builds? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2010 21:42:14 -0000 --=-=-= Content-Type: text/plain On Sun, 14 Nov 2010 21:22:53 +0100, Erik Cederstrand wrote: >Den 12/11/2010 kl. 21.20 skrev Giorgos Keramidas: >>> Since the SVN rev. is recorded, I think a timestamp is redundant. Any >>> ideas where I can disable the timestamps in the source? >> >> The timestamp is not 'redundant'. It records _when_ you compiled the >> sources of the kernel, which in itself is a useful bit of information. > > I'm curious as to why this might be useful? Would the mtime of the file > not be be sufficient? I can only think of debugging purposes, but apart > from the timestamp, two kernels with the same rev. would be bitwise > identical, so I think the rev. number is more useful. Is the timestamp > not just a remnant from the CVS days? The timestamp is a remnant from much older days, but it's still a bit useful if you build several kernels from 'almost' the same source tree. For example, think of two kernels who are built from the same svn revision but they are built from two different patched kernel source trees. They will both have a version string that says "svn 12345+" but their "+" will refer to different patch states. When a kernel developer is trying various iterations of this own local patch, having the timestamp may actually be useful to differentiate between a working and a non-working patch state. I *like* the idea of 100% repeatable kernel builds and I'd even go as far as suggesting it is nice to turn on by *default*, but let's think about a way to _include_ the timestamp e.g. with an src.conf option for those cases when it's really useful. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkzgV4oACgkQ1g+UGjGGA7ZC4QCePYJocjrmvVku0PghnhsJs+S7 GR0AoL8Th2lI08/Vw1tB0PcNigessqJE =OGtg -----END PGP SIGNATURE----- --=-=-=--