About compile randomness for clojire or antlr

William Zhou terminatorzwm at 163.com
Tue Jul 25 01:52:47 UTC 2017


> Thanks for replying.
>    Yes, the code using antlr is for generating parser.
>    Actually we are using apache hive and  apache storm, and antlr code I said is in hive(e.g. HiveParser.g) and clojure code is in storm(e.g. config.clj).
>    Is this kind of problem solvable?
> 
> Regards,

From William Zhou

> 在 2017年7月24日,15:38,Chris Lamb <lamby at debian.org> 写道:
> 
> 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
>       `-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20170725/f776bfc0/attachment.html>


More information about the Reproducible-builds mailing list