Closed
Bug 556252
Opened 14 years ago
Closed 14 years ago
support building nspr with gcc on HP-UX ia64 (IPF, Itanium)
Categories
(NSPR :: NSPR, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
4.8.5
People
(Reporter: michael.haubenwallner, Assigned: michael.haubenwallner)
References
Details
Attachments
(1 file, 1 obsolete file)
865 bytes,
patch
|
wtc
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.6) Gecko/20100111 Gentoo Firefox/3.5.6 Build Identifier: nspr-4.8.3 using gcc on ia64-hp-hpux gcc does not support asm helper functions like _Asm_mov_from_ar(), leading to this linker warning multiple times when building NSS against an NSPR built with gcc: ld: (Warning) Unsatisfied symbol "_Asm_mov_from_ar" in file /tmp/install/lib/libnspr4.so Subsequently running shlibsign within NSS fails, even if the NSS-build does not abort in this case. Reproducible: Always Steps to Reproduce: 1. Compile NSPR on ia64-hpux using gcc. 2. Compile NSS using gcc against that NSPR. Actual Results: Checksums of shared libraries in NSS are not created, error message is: cd HP-UXB.11.23_ia64_ia64-hp-hpux11.23-gcc_32_OPT.OBJ ; sh /tmp/nss-3.12.5/mozilla/security/nss/cmd/shlibsign/./sign.sh /tmp/nss-3.12.5/mozilla/security/nss/cmd/shlibsign/../../../dist/HP-UXB.11.23_ia64_ia64-hp-hpux11.23-gcc_32_OPT. OBJ \ /tmp/nss-3.12.5/mozilla/security/nss/cmd/shlibsign/HP-UXB.11.23_ia64_ia64-hp-hpux11.23-gcc_32_OPT.OBJ HP-UX \ /tmp/install/lib /tmp/nss-3.12.5/mozilla/security/nss/cmd/shlibsign/../../../dist/HP-UXB.11.23_ia64_ia64-hp-hpux11.23-gcc_32_OPT.OBJ/lib/libnssdbm3.so /tmp/nss-3.12.5/mozilla/security/nss/cmd/shlibsign/HP-UXB.11.23_ia64_ia64-hp-hpux11.23-gcc_32_OPT.OBJ/shlibsign -v -i /tmp/nss-3.12.5/mozilla/security/nss/cmd/shlibsign/../../../dist/HP-UXB.11.23_ia64_ia64-hp-hpux11.23-gcc_32_OPT.OBJ/lib/libnssdbm3.so /usr/lib/hpux32/dld.so: Unsatisfied code symbol '_Asm_mov_from_ar' in load module '/tmp/install/lib/libnspr4.so'. C_Initialize failed: 0x00000030, CKR_DEVICE_ERROR NSPR error code: -5977: Failure to load dynamic library Initiailzing softoken failed: 0x00000030, CKR_DEVICE_ERROR NSPR error code: -5977: Failure to load dynamic library Expected Results: Successfully create the library checksums. This requires the general build support in NSPR for gcc on HP-UX, bug#550428.
Assignee | ||
Comment 1•14 years ago
|
||
This basically is what HP-cc (and aCC) create from _Asm_mov_from_ar(_AREG44). Although it seems to work - I'm not a gcc-inline-assembly expert, so you might want to double-check with HP experts (eg. Dennis Handly), thank you!
Updated•14 years ago
|
Assignee: wtc → michael.haubenwallner
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: Other → HP
Updated•14 years ago
|
Attachment #436170 -
Flags: review?(wtc)
Comment 2•14 years ago
|
||
r=wtc. I did a web search and found this code in several open source projects. I changed "asm" to "__asm__ __volatile__". I checked in the patch on the NSPR trunk (NSPR 4.8.5). Checking in uxrng.c; /cvsroot/mozilla/nsprpub/pr/src/md/unix/uxrng.c,v <-- uxrng.c new revision: 1.24; previous revision: 1.23 done
Attachment #436170 -
Attachment is obsolete: true
Attachment #442552 -
Flags: review+
Attachment #436170 -
Flags: review?(wtc)
Updated•14 years ago
|
No longer blocks: FIPS2010
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → 4.8.5
You need to log in
before you can comment on or make changes to this bug.
Description
•