Integrated: JDK-8256751: Incremental rebuild with precompiled header fails when touching a header file

Erik Joelsson erikj at openjdk.java.net
Fri Nov 20 18:17:01 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.

This pull request has now been integrated.

Changeset: 19b28986
Author:    Erik Joelsson <erikj at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/19b28986
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

8256751: Incremental rebuild with precompiled header fails when touching a header file

Reviewed-by: ihse

-------------

PR: https://git.openjdk.java.net/jdk/pull/1351



More information about the build-dev mailing list