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)

4.1.1
Sun
Solaris
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: wtc)

Details

Attachments

(1 file)

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.
Priority: -- → P2
Target Milestone: --- → 4.1.2
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
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.

Attachment

General

Creator:
Created:
Updated:
Size: