bug-make
[Top][All Lists]
Advanced

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

[bug #15502] "make -j" does not cope with EAGAIN in vfork


From: Paul D. Smith
Subject: [bug #15502] "make -j" does not cope with EAGAIN in vfork
Date: Wed, 09 Oct 2013 05:03:11 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.36

Update of bug #15502 (project make):

                  Status:                    None => Fixed                  
             Assigned to:                    None => psmith                 
             Open/Closed:                    Open => Closed                 
       Component Version:                     SCM => 3.81                   
           Fixed Release:                    None => SCM                    

    _______________________________________________________

Follow-up Comment #2:

In the next release we use fork() not vfork() and from what I can tell the
code definitely considers a failure to fork to cause the target to be marked
failed.

However, I can't seem to reproduce this problem.  If I set my ulimit to 6 (on
a basic login) then it all works, but if I set it to 5 then I get a failure in
the shell, not make.  Still I think this is fixed; if not please add a
comment.


$ ./make -f mkf4 
--no-print-directory -- INC=yes
ONE
/bin/sh: Cannot fork
1.inc:1: recipe for target '1' failed
make[1]: *** [1] Error 2
mkf4:1: recipe for target 'recurse' failed
make: *** [recurse] Error 2


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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