make -j2 fails on SMP with ghc-5.04

Simon Marlow simonmar@microsoft.com
Mon, 22 Jul 2002 14:54:57 +0100


 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=20
> it fall over
> > for you?
>=20
> I also experienced such a strange failure with -j2 on my=20
> uniprocessor Athlon.
> The problem was the glafp-utils/mkdependC/mkdependC script=20
> that is generated=20
> during the build. The build gave a seemingly senseless error=20
> message so I=20
> looked at the script. Appearently, to concurrent make=20
> processes had tried to=20
> 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.

Cheers,
	Simon