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: *** [<builtin>: 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: *** [<builtin>: hang] Error 1 make: *** Waiting for unfinished jobs.... Is this as you expected? -- Takashi Yano <takashi.y...@nifty.ne.jp> -- 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