You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Compiler sometimes generates different beams for some sources.
(It seems this behaviour is somehow related to -doc() attributes and maps in beams.)
To Reproduce
$ cd path/to/erlang/otp
$ for a in $(seq 1 10); do make; md5sum lib/ssh/ebin/ssh_sftp.beam >> ../result.txt; rm lib/ssh/ebin/ssh_sftp.beam; done
$ cat ../result.txt
186705d7c040a85b938c7871305c34fe lib/ssh/ebin/ssh_sftp.beam
186705d7c040a85b938c7871305c34fe lib/ssh/ebin/ssh_sftp.beam
d4f1dc07cd63e00170723af6e174eee2 lib/ssh/ebin/ssh_sftp.beam
186705d7c040a85b938c7871305c34fe lib/ssh/ebin/ssh_sftp.beam
186705d7c040a85b938c7871305c34fe lib/ssh/ebin/ssh_sftp.beam
186705d7c040a85b938c7871305c34fe lib/ssh/ebin/ssh_sftp.beam
186705d7c040a85b938c7871305c34fe lib/ssh/ebin/ssh_sftp.beam
186705d7c040a85b938c7871305c34fe lib/ssh/ebin/ssh_sftp.beam
186705d7c040a85b938c7871305c34fe lib/ssh/ebin/ssh_sftp.beam
186705d7c040a85b938c7871305c34fe lib/ssh/ebin/ssh_sftp.beam
Expected behavior
Compiler generates the same data.
Affected versions
OTP-27.0, git master.
The text was updated successfully, but these errors were encountered:
Describe the bug
Compiler sometimes generates different beams for some sources.
(It seems this behaviour is somehow related to -doc() attributes and maps in beams.)
To Reproduce
Expected behavior
Compiler generates the same data.
Affected versions
OTP-27.0, git master.
The text was updated successfully, but these errors were encountered: