public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* "make -j _n_" hangs reproduceably in latest cygwin 1.3.3-2
@ 2001-09-18  5:46 Robert Bogomip
  0 siblings, 0 replies; only message in thread
From: Robert Bogomip @ 2001-09-18  5:46 UTC (permalink / raw)
  To: cygwin

uname -a: CYGWIN_NT-5.0 MACH 1.3.3(0.46/3/2) 2001-09-12 23:54 i686 unknown

Sigh, sad but true.

Consider this makefile which will create 50 independent targets, taking
one second elapsed for each file:

   files:=$(addsuffix .t,$(foreach j,0 1 2 3 4,$(foreach i,0 1 2 3 4 5 6 7 8 9,${j}${i})))

   .PHONY: test
   test: ${files}
   	@echo test complete

   .PHONY: clean
   clean:
   	rm -f ${files}

   %.t:
   	sleep 1
   	touch $@

If you run with "make -j10" this should complete in 5 seconds(-ish).
Unfortunately it invariably hangs on my machine (Dual PIII 733, Win2000)
after the second set of sleeps. Strangely, "make -j _n_" works for all
values of _n_ < 9.

Take out the sleep and it works fine.

Replace the sleep with some other dodgy delay,

   a=`date`; while [ x"$$a" = x"`date`" ]; do :; done

causes it to hang for different values of _n_.

Go back to the previous version of the cygwin dll, 1.3.2-1 and it works fine.
(uname -a: CYGWIN_NT-5.0 PANG 1.3.2(0.39/3/2) 2001-05-20 23:28 i686 unknown)

Hope this helps.
-- 
Robert Bogomip /// mailto:bob dott bogo att milohedge.com
Milo Hedge Ltd, OCFI, Mill Street, Oxford, OX2 0JX /// tel:+44 1865 799400


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-18  5:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-18  5:46 "make -j _n_" hangs reproduceably in latest cygwin 1.3.3-2 Robert Bogomip

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).