Skip to content
Prev 8757 / 63424 Next

infinite loop in make for src/unix (PR#2477)

jvv@cs.umd.edu writes:
Hmm, I don't see that with Solaris 9 and the same tools. I've seen the
looping behaviour a couple of times earlier, typically triggered by
make actions of the type

        for ( i in $SUBDIRS ) ; do cd $i ; make ; done 

if one of the cd commands fails silently you end up calling make in the
current directory...

Could you please see if you can reproduce the effect in a clean
directory? Notice that to avoid running Sun's make, you need

export MAKE=gmake
gmake

Also, the shell might play a part so tell us what yours is. And
whether you are building in the source tree or in a separate build
directory.