This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA]: simulator build failures with parallel make


>>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:
Andrew> With that dependency added without -j does the generator get
Andrew> run twice?  I've this memory of a strange querk with make
Andrew> dependencies and files being created as a sideeffect.

No.  

But now that you've mentioned it, I recall that rules with multiple
targets will be executed once per target with -j (at least with GNU
make).  This can be worked around by creating a psuedo-target to 
serialize the process.  I've confirmed that simops.h is either a 
the sole target of a rule (most of the cases), or that there is a 
pseudo-target (v850).

Andrew> Any way, assuming you've played with it with using both make and gmake
Andrew> and it appears ok then yes.

Thanks.  This will be going in shortly.

        --jtc

-- 
J.T. Conklin
RedBack Networks


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]