Closed
Bug 124493
Opened 23 years ago
Closed 23 years ago
Purify fails to instrument libnspr
Categories
(SeaMonkey :: Build Config, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9.9
People
(Reporter: bryner, Assigned: netscape)
Details
Attachments
(1 file)
719 bytes,
patch
|
bryner
:
review+
|
Details | Diff | Splinter Review |
Not sure if this is a bug in purify, or what, but on attempting to run "gmake pure" in xpfe/bootstrap, it bails out with this error: Undefined first referenced symbol in file sigtimedwait /builds/bryner/mozilla/obj-purify/dist/bin/libnspr4.so_pure_p3_c0_106282307_58_32 ... and several other symbols. This can be fixed by linking with -lrt. We may want to do this only for the pure: target. Version info: CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-04 2001/12/13 purify: Version 2002.05.00 Proto 0010 010628 Solaris 2
Assignee | ||
Comment 1•23 years ago
|
||
We already link against -lrt on Solaris >= 5.7. Is Purify not picking up the shared library dependency properly? Would the proper fix be to start including -lrt in the `nspr-config --libs` output for Solaris?
Reporter | ||
Comment 2•23 years ago
|
||
Right, libnspr4 already links against -lrt. But for some reason, for purify to instrument mozilla-bin, we need to also link that against -lrt.
Assignee | ||
Comment 3•23 years ago
|
||
I decided to fix this one at the source as we'll probably need this fix for running purify on binaries other than mozilla-bin (like TestGtKEmbed & viewer). Values set in nsprpub/configure.in's OS_LIBS should show up in `nspr-config --libs`.
Assignee | ||
Updated•23 years ago
|
Priority: -- → P3
Target Milestone: --- → mozilla0.9.9
Comment 4•23 years ago
|
||
Brian, Could you submit a Purify bug report to Rational Software or call their technical support about this problem?
Reporter | ||
Comment 5•23 years ago
|
||
Pavlov should do this, he's the one with the Solaris system.
Reporter | ||
Comment 6•23 years ago
|
||
Comment on attachment 70250 [details] [diff] [review] Add -lrt or -lposix4 to nspr's OS_LIBS as necessary r=bryner
Attachment #70250 -
Flags: review+
Assignee | ||
Comment 8•23 years ago
|
||
Patch has been checked into the NSPR trunk and the NSPRPUB_PRE_4_2_CLIENT_BRANCH. Checking in nsprpub/configure; /cvsroot/mozilla/nsprpub/configure,v <-- configure new revision: 1.97; previous revision: 1.96 done Checking in nsprpub/configure.in; /cvsroot/mozilla/nsprpub/configure.in,v <-- configure.in new revision: 1.102; previous revision: 1.101 done Checking in nsprpub/configure; /cvsroot/mozilla/nsprpub/configure,v <-- configure new revision: 1.78.2.18; previous revision: 1.78.2.17 done Checking in nsprpub/configure.in; /cvsroot/mozilla/nsprpub/configure.in,v <-- configure.in new revision: 1.83.2.18; previous revision: 1.83.2.17 done
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•