[Openswan dev] md5sum of binaries are different across compilation

Paul Wouters paul at xelerance.com
Fri Sep 5 11:45:09 EDT 2008


On Mon, 1 Sep 2008, hiren joshi wrote:

> To: dev at openswan.org
> Subject: Re: [Openswan dev] md5sum of binaries are different across
>     compilation
> 
> A quick reply would be of great help.

make distclean ; rm -r OBJ*
make programs
cp OBJ.linux.x86_64/programs/pluto/pluto .
make distclean ; rm -r OBJ*
make programs
md5sum pluto OBJ.linux.x86_64/programs/pluto/pluto
94fa4f4cf9c00584f36b4a88ddd73236  pluto
74a3bf7512e28cfcc75beb5ce8e94492  OBJ.linux.x86_64/programs/pluto/pluto

strings pluto > pluto.strings
strings OBJ.linux.x86_64/programs/pluto/pluto > pluto2.strings
diff pluto.strings pluto2.strings |more
1236c1236
< @(#) built on Sep  5 2008:11:51:59 by paul at bofh.xelerance.com
---
> @(#) built on Sep  5 2008:11:54:12 by paul at bofh.xelerance.com

The build time stamp is put in the binary.

Paul


More information about the Dev mailing list