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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 11, 12
    • infrastructure
    • None
    • b23

        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.

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

                Created:
                Updated:
                Resolved: