Follow-up Comment #1, bug #40610 (project make): Odd. I'm not aware of anything off the top of my head that changed between 3.82 and 4.0 that might cause this. Also, I can't reproduce it on the Linux tmpfs implementation I have here.
I'll need some help debugging. When it loops forever, what commands does it run? Does it re-run the rebuild of objdir/depend.mk every time? I assume so. Does it re-run the mkdir -p objdir every time? Also if you rewrite the makefile so that the mkdir is in the same rule as the echo, does it work properly? I'm not saying this is a solution, I'm just trying to work out what's going on. objdir/depend.mk: rm -f objdir/depend.mk mkdir -p objdir echo 'foo: bar' > objdir/depend.mk Does it reproduce if you enable debugging mode (-d)? If it's really timing-sensitive that might be enough to avoid the problem. If so, try using "--debug=m" to restrict the debugging output. If it still won't reproduce we'll maybe need to add some targeted debugging statements. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?40610> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make