bug-make
[Top][All Lists]
Advanced

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

[bug #40610] gmake 4.0 loops rebuilding included makefiles


From: Paul D. Smith
Subject: [bug #40610] gmake 4.0 loops rebuilding included makefiles
Date: Mon, 18 Nov 2013 15:20:14 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.48 Safari/537.36

Update of bug #40610 (project make):

                  Status:                    None => Not A Bug              
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #5:

It re-execs after building all makefiles _that it knows how to build_. 
However it's quite possible (and indeed I've worked on build systems that rely
on this) that the generated makefiles _themselves_ use auto-re-generation to
build more makefiles.

So you can't say that one iteration of building and one re-exec will be
enough; in any event it's a backward-compatibility break to make this
requirement.

It can be argued that even a change such as I discussed below, where each
makefile is rebuilt no more than one time is a backward-compatibility break;
it could be possible to have an included makefile rebuilt N times then stop,
due to some outside influence.  But we can worry about that if we ever get the
capability.

Another option which has been suggested is just to impose a maximum number of
re-execs, then fail.  This is probably a good idea, just to avoid infinite
recursion, but it wouldn't help with the issue you describe here.  This can
actually be implemented today inside your makefile but it would be better if
make did it itself.

Since this appears to be an issue with tmpfs on NetBSD I'll close this bug. 
Cheers!

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40610>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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