Closed
Bug 127463
Opened 23 years ago
Closed 23 years ago
nspr's build system has a parallel build race
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 123423
People
(Reporter: braddr, Assigned: netscape)
Details
The 'brad' tinderbox is doing a parallel build (-j2 or -j4 depending on if its
doing one or two tinderboxes). Occasionally the build dies similar to this:
gcc -o prvrsion.o -c -pipe -ansi -Wall -pthread -O2 -fPIC -UDEBUG -
DMOZILLA_CLIENT=1 -DNDEBUG=1 -DXP_UNIX=1 -D_POSIX_SOURCE=1 -D_BSD_SOURCE=1 -
D_SVID_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DHAVE_FCNTL_FILE_LOCKING=1 -DLINUX=1 -
Dlinux=1 -Di386=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_REENTRANT=1 -
DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -
I/mnt/3/tinderbox/Linux_2.4.18-pre3_Clobber/tinderbox-obj/dist/include/nspr -
I/mnt/3/tinderbox/Linux_2.4.18-pre3_Clobber/mozilla/nsprpub/pr/include -
I/mnt/3/tinderbox/Linux_2.4.18-
pre3_Clobber/mozilla/nsprpub/pr/include/private -
I. /mnt/3/tinderbox/Linux_2.4.18-pre3_Clobber/mozilla/nsprpub/pr/src/prvrsion.c
rm -f libnspr4.a
/usr/bin/ar cr libnspr4.a ./prvrsion.o io/./prfdcach.o io/./prmwait.o
io/./prmapopt.o io/./priometh.o io/./pripv6.o io/./prlayer.o io/./prlog.o
io/./prmmap.o io/./prpolevt.o io/./prprf.o io/./prscanf.o io/./prstdio.o
threads/./prcmon.o threads/./prrwlock.o threads/./prtpd.o linking/./prlink.o
malloc/./prmem.o md/./prosdep.o memory/./prshm.o memory/./prshma.o
memory/./prseg.o misc/./pralarm.o misc/./pratom.o misc/./prcountr.o
misc/./prdtoa.o misc/./prenv.o misc/./prerr.o misc/./prerror.o
misc/./prerrortable.o misc/./prinit.o misc/./prinrval.o misc/./pripc.o
misc/./prlog2.o misc/./prlong.o misc/./prnetdb.o misc/./prolock.o
misc/./prrng.o misc/./prsystem.o misc/./prthinfo.o misc/./prtpool.o
misc/./prtrace.o misc/./prtime.o malloc/./prmalloc.o pthreads/./ptsynch.o
pthreads/./ptio.o pthreads/./ptthread.o pthreads/./ptmisc.o md/unix/./unix.o
md/unix/./unix_errors.o md/unix/./uxproces.o md/unix/./uxrng.o
md/unix/./uxshm.o md/unix/./uxwrap.o md/unix/./linux.o md/unix/./os_Linux_x86.o
ranlib libnspr4.a
rm -f libnspr4.so
gcc -shared -Wl,-soname -Wl,libnspr4.so -o libnspr4.so ./prvrsion.o
io/./prfdcach.o io/./prmwait.o io/./prmapopt.o io/./priometh.o io/./pripv6.o
io/./prlayer.o io/./prlog.o io/./prmmap.o io/./prpolevt.o io/./prprf.o
io/./prscanf.o io/./prstdio.o threads/./prcmon.o threads/./prrwlock.o
threads/./prtpd.o linking/./prlink.o malloc/./prmem.o md/./prosdep.o
memory/./prshm.o memory/./prshma.o memory/./prseg.o misc/./pralarm.o
misc/./pratom.o misc/./prcountr.o misc/./prdtoa.o misc/./prenv.o misc/./prerr.o
misc/./prerror.o misc/./prerrortable.o misc/./prinit.o misc/./prinrval.o
misc/./pripc.o misc/./prlog2.o misc/./prlong.o misc/./prnetdb.o
misc/./prolock.o misc/./prrng.o misc/./prsystem.o misc/./prthinfo.o
misc/./prtpool.o misc/./prtrace.o misc/./prtime.o malloc/./prmalloc.o
pthreads/./ptsynch.o pthreads/./ptio.o pthreads/./ptthread.o
pthreads/./ptmisc.o md/unix/./unix.o md/unix/./unix_errors.o
md/unix/./uxproces.o md/unix/./uxrng.o md/unix/./uxshm.o md/unix/./uxwrap.o
md/unix/./linux.o md/un
ix/./os_Linux_x86.o -lpthread -ldl -lc
pthreads/./ptthread.o: file not recognized: File truncated
collect2: ld returned 1 exit status
NEXT ERROR make[5]: *** [libnspr4.so] Error 1
Comment 1•23 years ago
|
||
I believe this is a known problem and Chris has already wrote
a bug about it.
If the saving from doing a parallel build in NSPR is small,
I suggest we set -j1 when the Mozilla client build recurses
into the nsprpub directory.
Assignee: wtc → seawood
Assignee | ||
Comment 2•23 years ago
|
||
*** This bug has been marked as a duplicate of 123423 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•