Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8317340

Windows builds are not reproducible if MS VS compiler install path differs

XMLWordPrintable

    • b18

        When doing a reproducible Windows build on two different machines, that
        happen to have MS Visual Studio installed in different paths, the resulting
        builds are not identical.

        The reason is due to the System include paths, eg:
        C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\vcruntime_new.h
        appearing in the compiler obj as part of debug info.

        For non-Absolute path builds, these need to be -pathmap'd

              aleonard Andrew Leonard
              aleonard Andrew Leonard
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: