URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15919>
Summary: Make-3.81 rc1 hangs with -j 2 but not with -j 1
Project: make
Submitted by: None
Submitted on: Mon 02/27/06 at 18:38
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Component Version: CVS
Platform Version: Any
Fixed Release: None
_______________________________________________________
Details:
Running make-3.81rc1 with the attached makefile will hang if "-j 2" is
specified, but will run properly if "-j 1" is selected instead. To
duplicate, put the attached makefile into a blank directory. Running with
"touch test.0 && make -j 2" runs properly the first time and produces:
touch test.1
touch test.2
touch test.3
touch test.int
touch test.4
rm test.int
Running "touch test.0 && make -j 2" again hangs repeatably part-way through:
touch test.1
touch test.2
Running instead with "touch test.0 && make -j 1" repeatably produces the same
output as the first run. Note that if "test.int" is touched externally, so
that's it's pre-existing, then "-j 2" works properly. Deleting "test.int"
and retrying will hang.
I have reproduced this under both Windows and Unix, and on single and
dual-processor systems.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 02/27/06 at 18:38 Name: makefile Size: 176B By: None
Test case makefile
<http://savannah.gnu.org/bugs/download.php?item_id=15919&item_file_id=3444>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15919>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make