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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 11
    • Affects Version/s: 11, 12
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved: