[Top][All Lists]

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

[bug #30381] Don't avoid implicit rule recursion quite so soon.

From: Paul D. Smith
Subject: [bug #30381] Don't avoid implicit rule recursion quite so soon.
Date: Fri, 09 Jul 2010 21:56:45 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6

Follow-up Comment #5, bug #30381 (project make):

But it isn't just a matter of infinite recursion; there's a very serious
issue of performance as well, even without infinite recursion.  Computing
pattern rule matches can already take quite a while: if we add more ways in
which patterns can recurse that's potentially orders of magnitude more
possible paths make has to examine and discard before it can move forward (or
give up).

There are many rules in the default database of the form "% : %.o" for
example; if we can't avoid recursing on them then they're essentially infinite
already: the idea that we can just debug these issues because they're really
rare anyway is not really true.

Yes, saying that we'd only allow recursion that resulted in a smaller file
length would help... but it seems complicated to describe.  Coming up with the
changes needed to the "Implicit Rule Search Algorithm" chapter in the manual
might be a good way forward.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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