Page 1 of 1

Parallel make unsafe

Posted: 2013-03-17T07:32:40-07:00
by broucaries
hi,

I seems that
make -j16 all perl-build

fail in a lot of different place.

Could you try to investigate. Maybe it is a bug to report to automake

Bastien

Re: Parallel make unsafe

Posted: 2013-03-18T05:51:42-07:00
by magick
We can reproduce the problem on a CentOS 5.9 system with make 1:3.81-3. On our Fedora system with make 1:3.82-13 it consistently worked fine. Perhaps its a bug in make that has already been fixed in recent versions of make.

Re: Parallel make unsafe

Posted: 2013-03-19T03:03:25-07:00
by broucaries
I occurs about 1 on 10 try with make -j32 on a quad core.

I suppose it is a bug (or a feature) of automake.

It seems that coders does not depend (wait) on libmagickcore fully builded.

Bastien

Re: Parallel make unsafe

Posted: 2013-03-28T02:25:21-07:00
by broucaries
Any news of this ?

Re: Parallel make unsafe

Posted: 2013-03-28T04:30:10-07:00
by magick
The parallel make bug has existed for many years and it appears likely to be a race condition triggered by make or automake. If you think its an ImageMagick bug, let us know and we will investigate further.

Re: Parallel make unsafe

Posted: 2013-03-29T13:46:17-07:00
by broucaries
Please see automake bug here. same code is in coder.

We do not need to workarround it (workarround is ugly and probability of faillure is low). But I think we should document the problem

Upstream bug
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328

Could you please also add comment to the upstream bug report and track it ?

Bastien