-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: Make built executables deterministic #32782
Comments
This is important for using Go in safety critical software, where the binaries tested and put into production must be identical. Until now, this meant that a build server was necesary. With 100% reproducible builds, a binary compiled on one machine would be identical to one built on a different one, which is means no build server is needed anymore. |
Go 1.13 should have exactly the properties you describe when the
|
If you find that that is not the case (using |
Duplicate of #16860 |
Currently when 2 different people build the same code base, the generated Go executable is different. For starters, the individual GOPATH is written when panics are logged.
With Go modules, perhaps this issue can be revisited.
There is definitely value in the same Go code base built for same OS for same ARCH with same version of Go and dependencies should generate EXACTLY the same binary.
The text was updated successfully, but these errors were encountered: