delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/05/12:33:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <4F54F8D6.3040203@cwilson.fastmail.fm>
Date: Mon, 05 Mar 2012 12:33:10 -0500
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
Reply-To: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.10 cygrunsrv.exe fails with "fork: 11, Resource temporarily unavailable"
References: <alpine DOT WNT DOT 2 DOT 01 DOT 1203021514490 DOT 5120 AT zbpxnh DOT vmov DOT hav-yrvcmvt DOT qr> <4F51BDA2 DOT 1040108 AT cygwin DOT com> <Pine DOT WNT DOT 4 DOT 64 DOT 1203032002030 DOT 5532 AT zbpxnh DOT vmov DOT hav-yrvcmvt DOT qr> <20120304114922 DOT GA18852 AT calimero DOT vinschen DOT de> <Pine DOT CYG DOT 4 DOT 58 DOT 1203041425290 DOT 2588 AT zbpxnh DOT vmov DOT hav-yrvcmvt DOT qr> <20120305163158 DOT GT18852 AT calimero DOT vinschen DOT de>
In-Reply-To: <20120305163158.GT18852@calimero.vinschen.de>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 3/5/2012 11:31 AM, Corinna Vinschen wrote:
> Why this only fails when cygrunsrv has been built with gcc-4 but not with
> gcc-3 is most puzzeling.

$ cygcheck /usr/bin/cygrunsrv.exe
C:\cygwin\bin\cygrunsrv.exe
  C:\cygwin\bin\cygwin1.dll
    C:\WINDOWS\system32\KERNEL32.dll
      C:\WINDOWS\system32\ntdll.dll
  C:\WINDOWS\system32\ADVAPI32.DLL
    C:\WINDOWS\system32\RPCRT4.dll
      C:\WINDOWS\system32\Secur32.dll
  C:\WINDOWS\system32\USER32.dll
    C:\WINDOWS\system32\GDI32.dll
  C:\cygwin\bin\cyggcc_s-1.dll        <<<<<
  C:\cygwin\bin\cygstdc++-6.dll       <<<<<

When built with gcc3, we didn't have runtime dlls so everything was
static.  Maybe just building cygrunsrv with -static-libgcc
-static-libstdc++ ?

--
Chuck

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019