4 ms·
Anyone has a list of what are the typical sources of non-determinism (other than compiler and automake versions)?
by sly010 10y ago
Anyone has a list of what are the typical sources of non-determinism (other than compiler and automake versions)?
- emaste 10y agoThere's a fairly comprehensive list at https://reproducible-builds.org/docs/ https://reproducible-builds.org/docs/. Debian has a detailed list of reproducibility issues and affected packages at https://tests.reproducible-builds.org/debian/index_issues.html https://tests.reproducible-builds.org/debian/index_issues.ht...
- ymse 10y agoHere's a smørbrødliste: * Non-isolated build environment. This is just asking for all sorts of trouble (users, hostname, network access, etc). * File system time stamps. * Recording times in the build process (although even gcc supports SOURCE_DATE_EPOCH since version 7). * Usage of CPU-specific instructions, e.g. -march=native to GCC.
- pserwylo 10y agoThe post itself has a pretty good list of 10 sources of non-determinism: 1. timestamps 2. dates/times/authors etc. embedded in source files 3. timezone sensitive code 4. directory order/build order 5. non-sanitized data stored into files 6. symbolic links/paths 7. general tool inconsistencies 8. toolchain 9. build information / tunables / environment 10. making sure that the source tree has no local changes With a bit of info on each.
- vacri 10y agoThat's exactly what the article is about.