Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2010 21:32:16 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Erik Cederstrand <erik@cederstrand.dk>
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, =?ISO-8859-1?Q?Sp=F6rlein?= <uqs@spoerlein.net>, FreeBSD Hackers <hackers@freebsd.org>, =?ISO-8859-1?Q?Ulrich_?=
Subject:   Re: Deterministic builds?
Message-ID:  <4CE04750.8060802@FreeBSD.org>
In-Reply-To: <0CF7C325-E7D9-4C51-8E60-9A0243D2FFFE@cederstrand.dk>
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>	<C297DE8F-0842-41C2-A930-A15AA0F3B3BB@cederstrand.dk>	<20101022100134.GL19295@acme.spoerlein.net>	<8B6E3E35-68AF-42ED-98CF-E2A4448DAA11@cederstrand.dk>	<xeia1v6q2t1h.fsf@kobe.laptop> <0CF7C325-E7D9-4C51-8E60-9A0243D2FFFE@cederstrand.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-11-14 21:22, Erik Cederstrand wrote:
> 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,

This does not have to be the case.  For example, if you have have local
modifications, or use different settings in make.conf or src.conf.

Similarly, the host on which something is built can be interesting
metadata, because not all hosts are equal.


> If it is useful, why not brand all binaries with a rev. number and a timestamp?

There are compilers that automatically brand every binary with a "built
on" timestamp.  If you want to 'compare' such binaries, you simply need
a tool that disregards the timestamps.



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