Integrated: 8288396: Always create reproducible builds
Magnus Ihse Bursie
ihse at openjdk.org
Tue Jun 28 09:04:44 UTC 2022
On Tue, 14 Jun 2022 09:48:25 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> When we started introducing some possibly more intrusive compiler flags and functionality for reproducible builds, we also introduced a flag to turn this off out of an abundance of caution. But we have been been using this configuration for a year or so internally within Oracle, with no issues. So there's really no reason to be able to turn this off. (If you were to ask me, the fact that compilers and build tools ever started to produce non-deterministic output has been a bug from day one.)
>
> With this fix, all randomness should be gone from our builds, at least on linux and windows. There are no more `__DATE__` and `__TIME__` macros in the source code.
This pull request has now been integrated.
Changeset: b4ab5fe1
Author: Magnus Ihse Bursie <ihse at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/b4ab5fe1daf22a543e1bd973bcd34322360054b4
Stats: 158 lines in 18 files changed: 14 ins; 100 del; 44 mod
8288396: Always create reproducible builds
Reviewed-by: amenkov, ehelin
-------------
PR: https://git.openjdk.org/jdk/pull/9152
More information about the serviceability-dev
mailing list