Parallel make unsafe

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Parallel make unsafe

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Parallel make unsafe

Post 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.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Parallel make unsafe

Post 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
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Parallel make unsafe

Post by broucaries »

Any news of this ?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Parallel make unsafe

Post 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.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Parallel make unsafe

Post 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
Post Reply