Closed Bug 54131 Opened 24 years ago Closed 24 years ago

NSS tools need to be built with the -z and +s linker options.

Categories

(NSS :: Tools, defect, P1)

HP
HP-UX
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: wtc)

Details

Attachments

(1 file)

The HP-UX equivalent of LD_LIBRARY_PATH is SHLIB_PATH. On HP-UX, an executable program does not use the SHLIB_PATH environment variable to search for shared libraries at run time unless it was linked with the +s linker option. Since the NSS tools link with NSPR shared libraries, they should be built with +s enabled. On HP-UX, by default dereferencing a null pointer succeeds silently. To make it a fatal error like on other platforms, one has to link the executable program with the -z option.
Attached patch Proposed patch.Splinter Review
Severity: normal → blocker
Status: NEW → ASSIGNED
Priority: P3 → P1
Target Milestone: --- → 3.1
I checked in the patch on the main trunk. /cvsroot/mozilla/security/coreconf/HP-UX.mk, revision: 1.2 I think this fix also needs to be checked in on the NSS_30_BRANCH so that we can run our QA tests.
I checked in the patch on the NSS_30_BRANCH too.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Target Milestone: 3.1 → 3.0.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: