4 ms·
What is wrong (non-reproducible) with gcc a.c or any other compiler?
by dschiptsov 11y ago
What is wrong (non-reproducible) with
gcc a.c
or any other compiler?
- voltagex_ 11y agoProve that your a ELF binary is the same as my ELF binary compiled from the same source (you hope) on a different system.
- gizmo686 11y agoSee https://wiki.debian.org/ReproducibleBuilds/Howto https://wiki.debian.org/ReproducibleBuilds/Howto You would probably need to pass in an "-frandom-seed" option and make sure your environment is the same, but I would imagine you can get that to give you a deterministic output fairly easily. Most of the difficulty comes in the packaging, where you need to make sure that files enter the archive with the same timestamps/permissions, and in the same order.