Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2004 18:01:38 +0200
From:      Joerg Sonnenberger <joerg@britannica.bec.de>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Why present different size and md5 hash  between the compiled code and FreeBSD's build-in binary ?
Message-ID:  <20041012160138.GA1128@britannica.bec.de>
In-Reply-To: <416BBBCD.9050704@gmx.net>
References:  <20041012090959.69545.qmail@web17202.mail.tpe.yahoo.com> <416BBBCD.9050704@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 12, 2004 at 01:11:09PM +0200, Andreas Kohn wrote:
> if your source files are *exactly* the same versions used as on the
> building cluster, and you have *exactly* the same compilation options,
> it would still be possible to have different binaries. For example if
> the files included some reference to the current time, either in some
> flags in the generated .o, .a, .so, or perhaps in the source code of
> auto-generated headers. Some paths referenced could also be different on
> your system than on the build cluster.

To be more precisely, GCC/binutils add timestamps under certain
circumstances.

Joerg



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