This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Same binary, different md5sums
- From: Andrew Haley <aph at redhat dot com>
- To: Mattias BrÃndstrÃm <thebrasse at brasse dot org>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 3 May 2006 10:59:39 +0100
- Subject: Re: Same binary, different md5sums
- References: <44587D43.3080407@brasse.org>
Mattias Brändström writes:
>
> Why does g++ generate binaries with different checksums when I compile
> my project at two different occasions with the same commands?
>
> I realize that this is a fairly broad question, but I would like to know
> if there is anything in particular I should take into account when
> trying to generate binaries with the same checksum.
There could be all manner of reasons. To begin with, diff the
assembly language source produced by g++ -save-temps. That'll get us
started.
Andrew.