RFR: JDK-8231467: Missing make prerequisite declaration corrupts make dependency files on Windows
Erik Joelsson
erik.joelsson at oracle.com
Wed Sep 25 17:59:27 UTC 2019
In JDK-8217728 I introduced a new rule in SetupNativeCompilation which
combines all the generated *.d dependency files into one for each link
target. This combining currently depends on all the object files being
compiled first. On Windows, we sometimes also create a resource file,
which also produces a *.d dependency file. This file is not declared as
a prerequisite of the combined *.d file, which causes a race between the
two.
Bug: https://bugs.openjdk.java.net/browse/JDK-8231467
Webrev: http://cr.openjdk.java.net/~erikj/8231467/webrev.01/
/Erik
More information about the build-dev
mailing list