Why present different size and md5 hash between the compiled code and FreeBSD's build-in binary ?

Joerg Sonnenberger joerg at britannica.bec.de
Tue Oct 12 09:02:52 PDT 2004


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


More information about the freebsd-hackers mailing list