This PR fixes the non-deterministic behavior when building on linux with different userids or within different workspace folders. It fixes the following issues: - MakeZipReproducible.java used to produce reproducible src.zip removes the optional zip "extra" field containing UID/GID. - When absolute output paths are not allowed, enable the use of -fdebug-prefix-map to ensure debug symbol info does not contain the top level workspace folder. - For reproducible builds ensure the gcc random symbol name generator is seeded using -frandom-seed. - For reproducible builds when producing debug symbols use relative object paths for library linking to remove absolute MASM object paths.
Signed-off-by: Andrew Leonard <anleo...@redhat.com> ------------- Commit messages: - 8284437: Building from different users/workspace is not always deterministic - 8284437: Building from different users/workspace is not always deterministic Changes: https://git.openjdk.java.net/jdk/pull/8124/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8124&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8284437 Stats: 49 lines in 4 files changed: 47 ins; 0 del; 2 mod Patch: https://git.openjdk.java.net/jdk/pull/8124.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8124/head:pull/8124 PR: https://git.openjdk.java.net/jdk/pull/8124