About compile randomness for clojire or antlr

Chris Lamb lamby at debian.org
Mon Jul 24 07:38:42 UTC 2017


Hi William,

> these code were compiled into different bytecode every time. the
> randomness are from some ordering problem for variable definitions
> or instruction sequences when i using javap to disassemble the class.

First, is the code in question a parser generator? If so, those often
result in non-deterministic output as they often iterate over hashes
etc. in their output.

However, if it's not we have seen this in entirely "static" code:

  https://tests.reproducible-builds.org/debian/issues/unstable/nondeterministic_java_bytecode_issue.html

… and, as the page mentions, we don't know why it happens. Can you spot
anything perculiar about those packages? (eg. do they all use Clojure;
could it be that...?)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb, Debian Project Leader
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Reproducible-builds mailing list