X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0	tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,TW_GJ,TW_YG,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o-
Date: Fri, 12 Aug 2011 13:02:41 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: I have a fork error when I compile
Message-ID: <20110812170241.GC29912@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <FDE58382B6F4064892CC79A0FD30D08DEF5142@mailserver.biap.local>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <FDE58382B6F4064892CC79A0FD30D08DEF5142@mailserver.biap.local>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Fri, Aug 12, 2011 at 11:05:33AM -0400, Michael Young wrote:
>(I don't think my first message went through so I'm trying again)

You don't have to guess.  The email archives are here:

http://cygwin.com/ml/cygwin/current/

>I have a windows 7 Professional 64 bit machine.?  I am trying to
>compile a simple hello world program and am getting fork errors.
>
>I have tried rebaseall, increasing the size of the Windows
>SharedSection in the registry, turning off my virus scanner, and
>changing the gcc and collect2 exectuables to Windows XP compatible
>mode.?  Nothing has solved the problem.
>
>The source code is:
>$ cat hello.c
>#include <stdio.h>
>main()
>{
>printf("hello world\n");
>}
>
>The errors I get are:
>$ gcc hello.c
>collect2: fork: Resource temporarily unavailable
>????? 0 [main] collect2 6036 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
>1063677 [main] collect2 6036 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
>3102613 [main] collect2 6036 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
>7147729 [main] collect2 6036 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
>
>I have enclosed the results of the cygcheck command as an attachement.? 
>
>Does anyone else have any other ideas of what to try?

Often just turning off your virus scanner isn't enough.  You have to
completely disable it.  Check for other BLODA too:

http://cygwin.com/acronyms/#BLODA

And, finally, if none of the above works check out:

http://cygwin.com/problems.html

cgf

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

