🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #612

Problem with make-3.57

#612
From: Martin Ward
Date: Wed, 24 Jan 1990 11:51
34 lines
1398 bytes
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
Technical Details
Message-ID: <5000.9001241151@easby.durham.ac.uk>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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