bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #15919] Make-3.81 rc1 hangs with -j 2 but not with -j 1


From: Paul D. Smith
Subject: [bug #15919] Make-3.81 rc1 hangs with -j 2 but not with -j 1
Date: Mon, 27 Feb 2006 14:38:49 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]