This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix Ada makefile problem with parallel make


Ulrich Weigand <weigand@i1.informatik.uni-erlangen.de> writes:

> Hello,
>
> when bootstrapping with parallel make and Ada enabled, I'd regularly
> get errors like "xnmake: Text file busy", because two Makefile rules
> that might run in parallel both create and use the xnmake binary.
>
> This patch adds a quick fix to serialize those two rules to avoid
> that problem.
>
> Bootstrapped/regtested on s390-ibm-linux and s390x-ibm-linux.
> OK?

OK. A refactor that eliminated all the duplicate work would be better,
but your fix is good for now.  (I think I see how to clean this up
bigtime but I have other priorities at the moment.)

zw


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