make -j2 fails on SMP with ghc-5.04

Sven Moritz Hallberg pesco@gmx.de
Wed, 24 Jul 2002 17:35:52 +0200


On Monday 22. July 2002 15:54, Simon Marlow wrote:
>  On Monday 15. July 2002 12:38, Simon Marlow wrote:
> > > > I have a dual Athlon box, make -j2 fails, but make works.
> > > > Is that normal?
> > >
> > > I did some tweaking to the build system to help -jN builds, but I
> > > haven't tested a complete build this way.  Whereabouts does
> >
> > it fall over
> >
> > > for you?
> >
> > I also experienced such a strange failure with -j2 on my
> > uniprocessor Athlon.
> > The problem was the glafp-utils/mkdependC/mkdependC script
> > that is generated
> > during the build. The build gave a seemingly senseless error
> > message so I
> > looked at the script. Appearently, to concurrent make
> > processes had tried to
> > assemble it simultaneously, generating a pretty twisted version.
>
> Which version was this?  The fixes for 'make -j' went in after 5.02.
> I've tried 'make -j2' in glafp-utils and it appears to work fine.

I believe it was 5.02.3.