+Steps to reproduce+
$ cd otp_src
$ git checkout OTP-23.1.5
$ export ERL_COMPILER_OPTIONS=deterministic
$ git clean -xfdq
$ ./otp_build autoconf
$ ./otp_build configure
$ make -j4
$ make RELEASE_ROOT=/path/to/build/directory1 release
$ # from the same otp_src directory
$ git clean -xfdq
$ ./otp_build autoconf
$ ./otp_build configure
$ make -j4
$ make RELEASE_ROOT=/path/to/build/directory2 release
Comparing the 2 buld directory outputs show differences in beam.smp, OtpErlang.jar and in a few .hrl files due to the introduction of timestamps.
Cf. the attached diff file.
+Expected result+
Builds should produce deterministic results.
Cf. [https://reproducible-builds.org/] for why it matters.