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