<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 18, 2018 at 4:37 AM, Stefan Viljoen <span dir="ltr"><<a href="mailto:viljoens@verishare.co.za" target="_blank">viljoens@verishare.co.za</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Guys<br>
<br>
If I recompile Asterisk (on a Centos 7 test box, Asterisk 1.8.32.3) multiple<br>
times in a row, e. g. <br>
<br>
make clean;configure;make menuselect;make<br>
<br>
I note that the asterisk binary in the /main folder in the source tree, has<br>
a different SHA256 hash each time I recompile Asterisk using the above<br>
commands.<br>
<br>
I do not change anything on the system or in the menuselect configs for each<br>
run.<br>
<br>
But each time the checksum for the "asterisk" binary is different.<br>
<br>
Why is that? Shouldn't a freshly compiled binary off the same source, with<br>
no changes in the Asterisk menuselect, with nothing changed on the rest of<br>
the system, result each time in an IDENTICAL binary, down to the last byte?<br>
<br>
Why am I getting a completely different "asterisk" ELF binary each time I<br>
recompile asterisk, according to checksum?<br>
<br>
Can someone shed light...<br></blockquote><div><br></div><div>A timestamp is added to the version string when you build Asterisk.  Thus every</div><div>time you recompile Asterisk you get a different timestamp in the version string.</div><div>Thus the checksum will be different every time.</div><div><br></div><div>Richard</div><br></div></div></div>