Compiled v0.9.13 syncthing binary differs from released binary

I followed the instructions to compile the syncthing binary for v0.9.13, but the output syncthing executable is not identical to the one on the releases page for direct download. I am using the latest commit:


which is tagged as v0.9.13.

I am new to Go and some of these tools, so I am curious how the binary files could be different. Here is some additional info:

diff bin/syncthing ~/Downloads/syncthing-linux-amd64-v0.9.13/syncthing: Binary files bin/syncthing and ~/Downloads/syncthing-linux-amd64-v0.9.13/syncthing differ

uname -a: Linux vworld 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

go version: go version go1.3.1 linux/amd64

since the build date and some other info are built into the binary it should never be exactly the same, on startup you get something like

INFO: syncthing v0.9.13 (go1.3.1 linux-amd64 default) 2014-09-06 05:35:30 UTC

which will never be the same

1 Like

That makes sense. They are only a few bytes different in file size. Thanks!