X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=AmYfn7xLMyVvajszG+6lvmkIDa4NlVhe7R7MZErqxb5 Imsj0GVXEg6LrLkPFCAmvOEUZKMf6ydKK7KugZi4kfEQfal35MRERb4EWKlx6fOe zp1UpMYml6Gb3SpkkA5zMqUM6r8yUJbfOvGdJFFG4fjzuiXRJQ56OyK2OWYT2wj8 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; s=default; bh=lDonZNyBhODv+Q6TXgjALKDOP30=; b=AlwsZdccZ1ZSegZ4m sPlu8mTniKDmJ7waateCeB+kxW2jUubSWQGCUMt/5cGQD4NmGdd0P3wIYVnW0GLn i26onp4Y9kyVbQvsX9Cw3zrQE3qy88IXgoErKEPhfDdoZJh8y/oJXAL5JI9U/OY9 UOk+NtP5zVHHaOL9pSJBw1L8X8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.2 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,GIT_PATCH_2,KAM_EXEURI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=unfinished, displays, dons, Waiting X-HELO: conssluserg-06.nifty.com DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 01B2KN75030191 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1581387623; bh=4X3x2aV7srokGQKxEEJqoP307Za6h2la2sOBQRand6w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QOOPHc05y9YsPBH9+eEhqKT0EDBNf1ZYvjbgbIeBD1cEN5Az+/OzRLMhlH+OXL4X1 Qe2zIDqiJzwS07DD8D0s7XG5SDLYDHb/zTKKk1bz4r0jgUOhcMm/e+6deUmeUo+yPB jNFaHLwGVRIBJ9OJKIyHIXjrpzNg1tt9APRVq+dyanZ5srr4NrSdtd/+/MKcX5pQJA F5NN4a2Iz4h+d5xBB3Dyht/VD38iHqYcPR3WLohm85bpSpMZYam7Q1VyTzq3MboFGZ Wnrfktoec4swuLBIl5d2FOeo40A3RmFz9lfXUvzemQp732+MzXD9FbT5339uA2KXBg AGhFp42MVlfOg== Date: Tue, 11 Feb 2020 11:20:26 +0900 From: Takashi Yano To: cygwin AT cygwin DOT com Cc: pdt AT dontech DOT dk Subject: Re: fork: Resource temporarily unavailable errors after upgrading cygwin packages Message-Id: <20200211112026.05664f5c68b6282a39da8ac2@nifty.ne.jp> In-Reply-To: <23d3cd65794886745e2070a1d1b74013418b0bd8.camel@dontech.dk> References: <6d43c714-c4ba-4f0c-9913-cb8453129c85 AT gmail DOT com> <93562f34-3a14-0c10-cb57-1ae861307d82 AT gmail DOT com> <810b0c97ee0697c06bdaa4dff4081bb502bc46ab DOT camel AT dontech DOT dk> <9ed4b0776323e4a0f62191121715d52a0429bdb2 DOT camel AT dontech DOT dk> <23d3cd65794886745e2070a1d1b74013418b0bd8 DOT camel AT dontech DOT dk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On Mon, 10 Feb 2020 21:58:09 +0100 Peter Dons Tychsen wrote: > 1) Put attached makefile somewhere > 2) Download https://nuwen.net/files/mingw/mingw-17.1-without-git.exe > and unzip it in same place. > 3) Now run "make create" > 4) Now run "make clean && make -j32". Try a couple of times. > > ----------- > > a) If running via mintty - it hangs fairly quickly, and the task- > manager will show hanging gcc's and sh's. Thanks for the test case. With cygwin 3.1.2, I confirmed make stops for a minute at: ..... ..... echo running thread 98 echo running thread 99 running thread 98 cc -c -o hang.o hang.c running thread 99 MinGW/bin/gcc -MP -MM -MT test98.d -M -o test98.d test98.c && MinGW/bin/gcc -c - o test98.o test98.c MinGW/bin/gcc -MP -MM -MT test99.d -M -o test99.d test99.c && MinGW/bin/gcc -c - o test99.o test99.c cc -c -o test.o test.c and displays following after a minute. cc hang.o test00.d test01.d test02.d test03.d test04.d test05.d test06.d test07.d test08.d test09.d test10.d test11.d test12.d test13.d test14.d test15.d test16.d test17.d test18.d test19.d test20.d test21.d test22.d test23.d test24.d test25.d test26.d test27.d test28.d test29.d test30.d test31.d test32.d test33.d test34.d test35.d test36.d test37.d test38.d test39.d test40.d test41.d test42.d test43.d test44.d test45.d test46.d test47.d test48.d test49.d test50.d test51.d test52.d test53.d test54.d test55.d test56.d test57.d test58.d test59.d test60.d test61.d test62.d test63.d test64.d test65.d test66.d test67.d test68.d test69.d test70.d test71.d test72.d test73.d test74.d test75.d test76.d test77.d test78.d test79.d test80.d test81.d test82.d test83.d test84.d test85.d test86.d test87.d test88.d test89.d test90.d test91.d test92.d test93.d test94.d test95.d test96.d test97.d test98.d test99.d -o hang /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld:test00.d: file format not recognized; treating as linker script /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld:test00.d:1: syntax error collect2: error: ld returned 1 exit status make: *** [: hang] Error 1 make: *** Waiting for unfinished jobs.... rm hang.o test.o hang.c test.c Is this the same as your problem? If so, it goes without stopping 1 minute with patch: https://cygwin.com/ml/cygwin-patches/2020-q1/msg00148.html In any case, the following error occurs. /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld:test00.d: file format not recognized; treating as linker script /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld:test00.d:1: syntax error collect2: error: ld returned 1 exit status make: *** [: hang] Error 1 make: *** Waiting for unfinished jobs.... Is this as you expected? -- Takashi Yano -- 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