RFR: 8288396: Always create reproducible builds [v2]

Magnus Ihse Bursie ihse at openjdk.java.net
Tue Jun 14 12:31:04 UTC 2022


On Tue, 14 Jun 2022 11:54:40 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

>> Magnus Ihse Bursie has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix exitTransportWithError signature
>
> make/autoconf/flags-ldflags.m4 line 132:
> 
>> 130: 
>> 131:   if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
>> 132:     REPRODUCIBLE_LDFLAGS="-experimental:deterministic"
> 
> For the cflag, we check that the compiler supports it, but for the linker flag you are just setting it without a check. Before this patch, if we got here and ENABLE_REPRODUCIBLE_BUILD was true, it meant that the test had passed for the compiler, from which we could assume it would also work for the linker, but that is no longer the case.

Good point.

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

PR: https://git.openjdk.org/jdk/pull/9152


More information about the serviceability-dev mailing list