Re: Parallel make problem with git master - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Parallel make problem with git master
Date
Msg-id 19607.1299546597@sss.pgh.pa.us
Whole thread Raw
In response to Re: Parallel make problem with git master  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Parallel make problem with git master
List pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> For what it's worth, I'm still seeing this problem too:
> http://archives.postgresql.org/pgsql-hackers/2010-12/msg00123.php
> I can reproduce it every time.

I think what is happening here is that make launches concurrent sub-jobs
to do "make install" in each of interfaces/libpq and interfaces/ecpg,
and the latter launches a sub-sub-job to do "make all" in
interfaces/libpq, and make has no idea that these are duplicate sub-jobs
so it actually tries to run both concurrently.  Whereupon you get all
sorts of fun failures.  I'm not sure if there is any cure that's not
worse than the disease.

FWIW, doing a parallel "make all" works perfectly reliably for me.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: ModifyTable EXPLAIN Node
Next
From: Greg Stark
Date:
Subject: Re: PD_ALL_VISIBLE flag was incorrectly set happend during repeatable vacuum