Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!MITVMA.MIT.EDU!martin%EASBY.DURHAM.AC.UK From: martin%EASBY.DURHAM.AC.UK@MITVMA.MIT.EDU (Martin Ward) Newsgroups: gnu.utils.bug Subject: Problem with make-3.57 Message-ID: <5000.9001241151@easby.durham.ac.uk> Date: 24 Jan 90 11:51:44 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 34 I have found a problem with make version 3.57 using the '-j' option. When compiling gcc (or g++) which uses the shell script "move-if-change" the make program doesn't appear to realise that the script has terminated so it "hangs" waiting for the termination of a process which has already terminated. Running "make" without the -j option doesen't cause any problems. This is with gcc-1.36, though I suspect that other versions of gcc and g++ will have the same effect. Here's what move-if-change says: #!/bin/sh if test -r $2 then if cmp $1 $2 > /dev/null then echo $2 is unchanged rm $1 else mv $1 $2 fi else mv $1 $2 fi If you can't reproduce the problem I will try and provide a smaller example! Martin. My ARPANET address is: martin%EASBY.DUR.AC.UK@CUNYVM.CUNY.EDU OR: martin%uk.ac.dur.easby@nfsnet-relay.ac.uk UUCP:...!mcvax!ukc!easby!martin JANET: martin@uk.ac.dur.easby BITNET: martin%dur.easby@ac.uk