Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Martin Ward
Wed, 24 Jan 1990 11:51
Problem with make-3.57
Author: Martin Ward
Date: Wed, 24 Jan 1990 11:51
Date: Wed, 24 Jan 1990 11:51
34 lines
1398 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads