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 03:39 AM 3/29/2004, Ingmar Sittl wrote:
> 
>>Larry Hall wrote:
>>
>>>At 12:38 PM 3/26/2004, Ingmar Sittl 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.
> 
> 
> 
> Well, something is still getting you to the wrong place.  See below.
> 
> 
> 
> <snip>
> 
> 
>>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 <
> 
> 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Yikes!  You're still mixing tool-sets.  That ain't gonna work!
> 
> 
> --
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 838 Washington Street                   (508) 893-9889 - FAX
> Holliston, MA 01746                     
> 
> 

The referenced arsh binary was compiled locally for the currently
installed cygwin (cygwin version at compile time was 1.5.6) from the
windriver-provided sources to work around some problems with the
original tornado-binaries.

The path to AR is set inside the Makefile like this
AR=/path/to/arsh

Calling this specific arsh from the bash does work, whatever the cygwin
version, so I see no problem with calling it from within make, or am I
completely wrong here ??

Ingmar

-- 
-----------------------------------------------------------
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]