Follow-up Comment #2, bug #15919 (project make): Not offhand. I haven't looked at it carefully enough. I did spend about 10 mins: just enough to verify that I can reproduce it. I also enabled debugging and I can see that it's looping forever, not just hanging. Make seems to think that it's already started the rules to build the prerequisites, but they never complete so it continues to loop trying to build them. It was a few days ago so I don't remember the details. I'm super-swamped with "real work" right now but my plan was to set a breakpoint at the start of the _first_ entry to build "test", then follow along and see how it gets into this state. Since you've discovered that removing .SECONDARY will fix the problem, debugging the two alongside one another (one debug session with a makefile with .SECONDARY and one without) will also be helpful, I expect. If I had to guess I'd say it's a bizarre interaction between .SECONDARY and order-only prerequisites... I guess that much is obvious given what you've discovered. The bug does still happen if you use "-rR" options to make, which will significantly cut down on the amount of irrelevant work make will have to do (and the number of loops you'll have to walk through).
_______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15919> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make