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

*.obj.log files get truncated causing unreliable incremental builds on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11, 12
    • Fix Version/s: 11
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b23

      Backports

        Description

        Ralf Schmelter reported this issue on build-dev: http://mail.openjdk.java.net/pipermail/build-dev/2018-July/022658.html

        This bug addresses his first problem, that the *.obj.log files we generate when running native compilation sometimes get truncated, which in turn causes unreliable incremental builds on Windows.

        The suggested fix is to add an explicit $(RM) of the .obj.log file before running the command, and run tee with -a flag so that neither tee truncates the file.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: