NSPR tests should link with -lpthread -lthread on Solaris.

RESOLVED FIXED in 4.1.2

Status

defect
P2
normal
RESOLVED FIXED
18 years ago
18 years ago

People

(Reporter: wtc, Assigned: wtc)

Tracking

4.1.1
4.1.2
Sun
Solaris

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

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: 18 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.