From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125712 invoked by alias); 11 Feb 2020 02:21:28 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 125705 invoked by uid 89); 11 Feb 2020 02:21:27 -0000 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 Received: from conssluserg-06.nifty.com (HELO conssluserg-06.nifty.com) (210.131.2.91) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Feb 2020 02:21:25 +0000 Received: from Express5800-S70 (ntsitm196171.sitm.nt.ngn.ppp.infoweb.ne.jp [125.0.207.171]) (authenticated) by conssluserg-06.nifty.com with ESMTP id 01B2KN75030191; Tue, 11 Feb 2020 11:20:23 +0900 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 02:21:00 -0000 From: Takashi Yano To: cygwin@cygwin.com Cc: pdt@dontech.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@gmail.com> <93562f34-3a14-0c10-cb57-1ae861307d82@gmail.com> <810b0c97ee0697c06bdaa4dff4081bb502bc46ab.camel@dontech.dk> <9ed4b0776323e4a0f62191121715d52a0429bdb2.camel@dontech.dk> <23d3cd65794886745e2070a1d1b74013418b0bd8.camel@dontech.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00094.txt.bz2 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