Closed
Bug 86785
Opened 23 years ago
Closed 23 years ago
NSPR tests should link with -lpthread -lthread on Solaris.
Categories
(NSPR :: NSPR, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
4.1.2
People
(Reporter: wtc, Assigned: wtc)
Details
Attachments
(1 file)
1.11 KB,
patch
|
Details | Diff | Splinter Review |
On Solaris we should link with -lpthread -lthread so that they appear before -lc in the library linking order. Right now we only do this on Solaris 2.4 and 2.5 because I didn't know we not only link with -lpthread -lthread to resolve symbols but we also link with them to preempt certain function definitions in libc. Although libnspr4.so is already implicitly linked with -lpthread -lthread, only linking the tests with -lpthread -lthread explicitly can enforce the correct linking order.
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Priority: -- → P2
Target Milestone: --- → 4.1.2
Assignee | ||
Updated•23 years ago
|
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 2•23 years ago
|
||
This is fixed on the trunk and NSPRPUB_RELEASE_4_1_BRANCH.
You need to log in
before you can comment on or make changes to this bug.
Description
•