Reproducible builds, also known as deterministic compilation, is a process of compiling software which ensures the resulting binary code can be reproduced. Source code compiled using deterministic compilation will always output the same binary.
For the compilation process to be deterministic, the input to the compiler must be the same, regardless of the build environment used. This typically involves normalizing variables that may change, such as order of input files, timestamps, locales, and paths.
Additionally, the compilers must not introduce non-determinism themselves. This sometimes happens when using hash tables with a random hash seed value. It can also happen when using the address of variables because that varies from address space layout randomization (ASLR).
The GNU project used reproducible builds in the early 1990s. Changelogs from 1992 indicate the ongoing effort. 
One of the older projects to promote reproducible builds is the Bitcoin project with Gitian. Later, in 2013, the Tor (anonymity network) project started using Gitian for their reproducible builds.
By July 2017 more than 90% of the packages in the repository have been proven to build reproducibly.
- "reproducible-builds.org". reproducible-builds.org. Archived from the original on 20 May 2016. Retrieved 22 August 2016.
Reproducible builds are a set of software development practices which create a verifiable path from human readable source code to the binary code used by computers....build system needs to be made entirely deterministic: transforming a given source must always create the same result.
- Ratliff, Emily (4 April 2016). "Establishing Correspondence Between an Application and its Source Code | SecurityWeek.com". www.securityweek.com. SecurityWeek. Archived from the original on 20 September 2016. Retrieved 22 August 2016.
- "Gitian: a secure software distribution method". gitian.org. Retrieved 2018-01-10.
- "Email describing GNU reproducible builds".
- "LICENSE-file of the Gitian-Project". Retrieved 2019-12-03.
- Deterministic Builds Part Two: Technical Details. October 04, 2013
- "Reproducible Builds talk in Debian".
- "Reproducible Builds history".
- "Linux-Distributionen: Mehr als 90 Prozent der Debian-Pakete reproduzierbar - Golem.de" (in German). 2017-07-24. Retrieved 2018-10-30.
- "Reproducible Builds joins the Software Freedom Conservancy". Retrieved 2018-12-15.
- "Reproducible Builds". F-Droid.
|This computer security article is a stub. You can help Wikipedia by expanding it.|
|This computer-programming-related article is a stub. You can help Wikipedia by expanding it.|