RFR: 8284437: Building from different users/workspace is not always deterministic [v2]

Andrew Leonard aleonard at openjdk.java.net
Fri Apr 8 13:01:45 UTC 2022


On Fri, 8 Apr 2022 12:43:46 GMT, Maxim Kartashev <duke at openjdk.java.net> wrote:

> While we're at it, let me repeat my question from the alias:
> 
> I was wondering why were the changes in `make/autoconf/flags-cflags.m4` made under:
> 
> ```
> if test "x$TOOLCHAIN_TYPE" = xgcc; then ...
> ```
> 
> but not also propagated to the clang branch down below
> 
> ```
> elif test "x$TOOLCHAIN_TYPE" = xclang; then ...
> ```
> 
> ?
> 
> It seems like the same would be required to make builds by `clang` reproducible and `clang` does support the same option, spelling and all.

That is simply because I have not test full reproducibility on MacOS, the intention of this PR was for Linux platforms.
Although MacOS is my next port of investigation for reproducibility as a whole..

-------------

PR: https://git.openjdk.java.net/jdk/pull/8124



More information about the build-dev mailing list