Race condition between hotspot build/import
David Holmes
david.holmes at oracle.com
Thu Sep 13 20:12:37 PDT 2012
I'm currently always getting a build failure on a clean build when
cross-compiling (which I don't think affects anything other than timing).
The problem seems to be that the top-level make kicks of the hotspot and
jdk makes concurrently, and the first part of the JDK make tries to
import hotspot, and the hotspot/dist directory doesn't exist yet.
I found the following changeset:
# HG changeset patch
# User ihse
# Date 1347352614 -7200
# Node ID 0d8ad4b406dff44492a906462af42be185aa7d3b
# Parent 61eb8ec239f7547b78fd600b6359b2de2389dcec
Protect the top-level Makefile against race conditions happening if
inadvertently running with -jN.
But the problem still exists.
David
-----
More information about the build-infra-dev
mailing list