Race condition between hotspot build/import

David Holmes david.holmes at oracle.com
Fri Sep 14 06:32:34 PDT 2012


On 14/09/2012 10:46 PM, Magnus Ihse Bursie wrote:
> On 2012-09-14 14:01, David Holmes wrote:
>>
>>>> Seems I had a fclone misfire and ended up with an inconsistent
>>>> build-infra forest. Once that was fixed the build problem went away.
>>>>
>>>> However I still have this problem in my jdk8 forest, even applying the
>>>> above patch. Was there something else needed to deal with these races?
>>>
>>> I've never seen this actually happening, the patch above was more of a
>>> theoretical guard, as a result of real problem in a submake.
>>>
>>> Do you run with "make -jN"? Do you have MFLAGS or MAKEFLAGS set in your
>>> environment, setting -j?
>>
>>
>> I don't set anything special in that regard. It's obvious from the
>> logs that the build of the two components is overlapping though.
>
> It the racing builds happening even though you fixed the fclone
> inconsistency? Are you seeing it every time you build?

There was no fclone inconsistency in my jdk8 forest (just my build-infra 
one).

It happens from a clean build. By the time the build terminates the 
hotspot/dist files do exist so a re-build works. But I only see it when 
cross-compiling.

David
-----

> /Magnus



More information about the build-infra-dev mailing list