RFR: 8264449: Enable reproducible builds with SOURCE_DATE_EPOCH [v2]

John Neffenger jgneff at openjdk.java.net
Fri Apr 2 17:48:18 UTC 2021


On Thu, 1 Apr 2021 23:21:55 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:

>> John Neffenger has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Include media shared libraries for Windows
>>   
>>   Enable reproducible builds of the native media shared libraries for
>>   Windows when SOURCE_DATE_EPOCH is defined. The libraries are:
>>   
>>     fxplugins.dll
>>     glib-lite.dll
>>     gstreamer-lite.dll
>>     jfxmedia.dll
>
> Media makefiles look fine.

> Silly question, is the difference with Windows just the nature of the native support on each platform (Unix based vs Windows) and libraries used as part of that?

That's a good question. I'm hoping the answer is no. So far, the difference with Windows is the linker. The other systems use the GNU linker where it's enough to sort the input object files. The Microsoft linker, though, creates reproducible builds with the flag `/experimental:deterministic` (or `-experimental:deterministic`). So on Windows, we just need to figure out where to put the flag. I'm finding that to be a challenge for the WebKit library.

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

PR: https://git.openjdk.java.net/jfx/pull/446


More information about the openjfx-dev mailing list