The default bug view has changed. See this FAQ.

Add rpath for HP-UX on pa-risc

RESOLVED FIXED in 3.11.1

Status

NSS
Build
P2
normal
RESOLVED FIXED
11 years ago
11 years ago

People

(Reporter: Christophe Ravel, Assigned: Christophe Ravel)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

11 years ago
Currently, rpath for the nss tools on HP-UX is only set for ia64.
We need to set it for pa-risc

32 bit: tools are in /somewhere/bin, libraries are in /somewhere/lib
RPATH: $ORIGIN/../lib

64 bit: tools are in /somewhre/bin/[pa20_64|64], libraries are in /somewhere/lib/[pa20_64|64]
RPATH: $ORIGIN/../../lib/pa20_64:$ORIGIN:/../../lib/64
(Assignee)

Comment 1

11 years ago
The fix should be in mozilla/security/nss/cmd/platlibs.mk
near line 207

32 bit:
EXTRA_SHARED_LIBS += -Wl,+s,+b,'$$ORIGIN/../lib'

64 bit:
EXTRA_SHARED_LIBS += -Wl,+s,+b,'$$ORIGIN/../../lib/pa20_64:$$ORIGIN/../../lib/64'
(Assignee)

Comment 2

11 years ago
Created attachment 219816 [details] [diff] [review]
Set library search path in cmd/platlibs.mk

Tested on 32 and 64 bit build
Attachment #219816 - Flags: review?(neil.williams)
(Assignee)

Updated

11 years ago
Depends on: 335454

Comment 3

11 years ago
Comment on attachment 219816 [details] [diff] [review]
Set library search path in cmd/platlibs.mk

Looks good. You might want to put a comment on the $OS_TEST else clause indicating it's for pa-risc.
Attachment #219816 - Flags: review?(neil.williams) → review+
(Assignee)

Comment 4

11 years ago
Checked-in on:
- trunk
- NSS_3_11_BRANCH
- NSS_3_11_1_BRANCH

Still need resolution of bug 335343 to be fully functional on 64 bit.
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
(Assignee)

Updated

11 years ago
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Assignee)

Updated

11 years ago
Status: REOPENED → ASSIGNED
Priority: -- → P2
(Assignee)

Updated

11 years ago
Assignee: nobody → christophe.ravel.bugs
Status: ASSIGNED → NEW
(Assignee)

Updated

11 years ago
Status: NEW → RESOLVED
Last Resolved: 11 years ago11 years ago
Resolution: --- → FIXED
Is this the cause of bug 335454 ?
Now that this bug is fixed, is bug 335454 also fixed?
(Assignee)

Comment 6

11 years ago
No, even with the RPATH set (this bug fixed), bug 335454 is still present.

You need to log in before you can comment on or make changes to this bug.