Missing make prerequisite declaration corrupts make dependency files on Windows

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 14
    • Affects Version/s: 13, 14
    • Component/s: infrastructure
    • None
    • b17
    • windows

      In JDK-8217728 I introduced a new rule in SetupNativeCompilation which combines all the generated *.d dependency files into one for each link target. This combining currently depends on all the object files being compiled first. On Windows, we sometimes also create a resource file, which also produces a *.d dependency file. This file is not declared as a prerequisite of the combined *.d file, which causes a race between the two.

            Assignee:
            Erik Joelsson
            Reporter:
            Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: