This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Make problem since 1.5.7


Larry Hall wrote:
> At 12:38 PM 3/26/2004, you wrote:
> 
>>Hello,
>>
>>With all cygwin-versions starting with 1.5.7 (including the snapshot
>>20040322) I experience major problems with make, leading to a major (>
>>20x) increase in the time make needs for a specific single target in our
>>project make system (which is quite complex, includes >100 sub-makefiles
>>and is not written in-house).
>>
>>According to the task-manager the system happily divides all cpu-time
>>between two make-tasks and csrss.exe.
>>
>>I tried looking at "make -d" and strace output, but cannot make very
>>much sense of the output.
>>
>>One thing that does stick out in the "bad" case is an exceptionally
>>large number of "Got a SIGCHLD; 2 unreaped children" "Got a SIGCHLD; 1
>>unreaped children" messages in the "make -d" output after the point
>>where make checks that it has to remake a specific file and before the
>>actual rebuilding (in this case, an "ar" call).
>>
>>The "make -d" output for the "good" case also contains some of those
>>messages, but far fewer.
>>
>>I can provide the strace and "make -d" output for both cases, if that
>>would help, but these files are VERY large.
>>
>>Thanks for any help or hints what to check,
>>Ingmar Sittl
>>
>>-- 
>>-----------------------------------------------------------
>>Ingmar Sittl, Dipl.-Inf., mobile applications
>>3SOFT GmbH, Frauenweiherstrasse 14, 91058 Erlangen, Germany
>>Tel: +49-9131-7701-276 mailto:Ingmar.Sittl@3SOFT.de
>>Fax: +49-9131-7701-333 http://www.3SOFT.de
>>
>>Cygwin Win95/NT Configuration Diagnostics
>>Current System Time: Fri Mar 26 12:10:59 2004
>>
>>Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3
>>
>>Path:   C:\cygwin\bin
>>   C:\cygwin\bin
>>   C:\cygwin\usr\local\bin
>>   C:\cygwin\usr\X11R6\bin
>>   c:\j2sdk1.4.2\bin\
>>   c:\emacs-21.2\bin\
>>   c:\jikes-1.15\bin
>>   c:\Program Files\XEmacs\XEmacs-21.4.13\i586-pc-win32\
>>   c:\tmp\tornado2_1\host\i686-pc-cygwin\bin\
>>   c:\TornadoSH\host\x86-win32\bin
> 
> 
>    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Please pull these last 2 directories out of your path and try again.  This
> eliminates the possibility of a tool conflict/interaction.
> 
> 
> --
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 838 Washington Street                   (508) 893-9889 - FAX
> Holliston, MA 01746                     
> 
> 
Hi,

Changed PATH to /usr/local/bin:/usr/bin/:/bin, but still no change.


Btw, relevant (I think) output from make -d (real path replaced with
"some_path" for better readability)

  Must remake target `some_path/GUI_Module.lib_ar'.
Got a SIGCHLD; 1 unreaped children.
Got a SIGCHLD; 1 unreaped children.
Got a SIGCHLD; 2 unreaped children.
Got a SIGCHLD; 1 unreaped children.
Got a SIGCHLD; 1 unreaped children.
Got a SIGCHLD; 2 unreaped children.
Got a SIGCHLD; 2 unreaped children.
Got a SIGCHLD; 2 unreaped children.

 ... (in the good case, about one minute and ca. 200 times SIGCHLD
messages, in the bad case at least 10 minutes and 2000 times this message)

Got a SIGCHLD; 2 unreaped children.
Got a SIGCHLD; 2 unreaped children.
Putting child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 1920 on the
chain.
Live child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 1920
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 1920
Live child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 816

Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 816
Live child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 320

Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 320
Live child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 1924
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 1924
Live child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 1944
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 1944
Live child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 1700
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 1700
Live child 0x108b3a20 (some_path/GUI_Module.lib_ar) PID 1288
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x108b3a20 PID 1288
Removing child 0x108b3a20 PID 1288 from chain.
  Successfully remade target file `some_path/GUI_Module.lib_ar'.
 Finished prerequisites of target file `some_path/GUI_Module.lib'.
Must remake target `some_path/GUI_Module.lib'.
/cygdrive/c/tmp/tornado2_1/host/i686-pc-cygwin/bin/arsh -M <
some_path/GUI_Module.lib_ar
Putting child 0x106e3d68 (some_path/GUI_Module.lib) PID 816 on the chain.
Live child 0x106e3d68 (some_path/GUI_Module.lib) PID 816
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x106e3d68 PID 816
Removing child 0x106e3d68 PID 816 from chain.
Successfully remade target file `some_path/GUI_Module.lib'.


-- 
-----------------------------------------------------------
Ingmar Sittl, Dipl.-Inf., mobile applications
3SOFT GmbH, Frauenweiherstrasse 14, 91058 Erlangen, Germany
Tel: +49-9131-7701-276 mailto: Ingmar dot Sittl at 3SOFT.de
Fax: +49-9131-7701-333 http://www.3SOFT.de

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]