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

Incremental rebuild with precompiled header fails when touching a header file

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b26

      Backports

        Description

        When building with --disable-absolute-paths-in-output and precompiled header enabled (both of which are default in release builds), then incremental builds of Hotspot fails if a header file is touched.

        This is caused by the deps file the compiler generates is now containing relative paths, but those relative paths will not resolve when make imports the file. For all normal compilation units, we post process the file to rewrite these paths to absolute, but that call was missed for the precompiled header compilation.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: