RFR: JDK-8256751: Incremental rebuild with precompiled header fails when touching a header file
Magnus Ihse Bursie
ihse at openjdk.java.net
Fri Nov 20 17:30:02 UTC 2020
On Fri, 20 Nov 2020 14:35:27 GMT, Erik Joelsson <erikj at openjdk.org> wrote:
> 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 paths, but that call was missed for the precompiled header compilation.
Marked as reviewed by ihse (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/1351
More information about the build-dev
mailing list