NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/42018: nbmake hangs using -j on Solaris
>Number: 42018
>Category: bin
>Synopsis: nbmake hangs using -j on Solaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 08 15:10:00 +0000 2009
>Originator: Jonathan Perkin
>Release: Current
>Organization:
The NetBSD Project
>Environment:
Solaris 10u7
>Description:
build.sh with any -j value hangs on Solaris immediately during cleandir. I've
narrowed down the test case to
$ cat Makefile
CLEANFILES+= ojnk
.include <bsd.hostprog.mk>
Then run:
$ truss -f -o truss.out /var/tmp/obj/tooldir.SunOS-5.10-i86pc/bin/nbmake -dA -m
/netbsd/src/share/mk -j1 cleandir >make.out 2>&1
hangs with looping pollsys, pstack on a separate non-truss run is
fef2a445 pollsys (80d1938, 2, 8046890, 0)
feecf592 poll (80d1938, 2, 1388, 805bde8) + 52
0805bd9f Job_CatchOutput (806e4f0, 1, 8046908, 805c0c9, 8081655, 8085798) + 47
08062061 Make_Run (8085860, 8085860, 80472b8, 805f57e) + 95
0805f591 main (5, 80472ec, 8047304, fefa3e40) + 979
08053acd _start (5, 8047418, 8047449, 804744c, 8047461, 8047465) + 7d
$ ptree `pgrep -f nbmake`
27565 truss -f -o truss.out /var/tmp/obj/tooldir.SunOS-5.10-i86pc/bin/nbmake
-dA -m /
27566 /var/tmp/obj/tooldir.SunOS-5.10-i86pc/bin/nbmake -dA -m
/netbsd/src/share/mk -j
27997 <defunct>
make and truss output are available at
http://www.perkin.org.uk/makejbug/
>How-To-Repeat:
./build.sh -j1 [...] on Solaris
>Fix:
Home |
Main Index |
Thread Index |
Old Index