Closed Bug 469738 Opened 16 years ago Closed 15 years ago

provide 64 bit MAC OS X support to nss

Categories

(NSS :: Libraries, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
3.12.3

People

(Reporter: glenbeasley, Assigned: glenbeasley)

References

Details

Attachments

(1 file, 2 obsolete files)

      No description provided.
This bug is incomplete.  It has no description.  
Please fix it ASAP.
provide 64 bit MAC OS X support for nss
Summary: 64 bit MAC OS X support → provide 64 bit MAC OS X support to nss
Attached patch provide 64 bit support patch A (obsolete) — Splinter Review
I understand if this patch is denied due to the explicit check in
nss_FindExternalRoot for the root certs library.
Attachment #364696 - Flags: review?
Solution B depends on a fix to bug 480730 PR_LoadLibrary for 64 bit MAC OS X interprets "./libname" relatively
Depends on: 480730
Attachment #364696 - Attachment description: provide 64 bit support solution A → provide 64 bit support patch A
Attachment #364696 - Flags: review? → review?(wtc)
Attachment #366366 - Flags: review?(wtc)
This is not a review of either patch, but I wish to express a strong 
preference for the approach of the second patch, the one that puts the
fix for the loading problem in NSPR.  I believe that's where it belongs.
Attachment #364696 - Attachment is obsolete: true
Attachment #364696 - Flags: review?(wtc)
Comment on attachment 366366 [details] [diff] [review]
provide 64 bit support patch B requires nspr bug 480730

r=wtc.  Some suggested changes before you check this in.

1. Use

    ifdef USE_64

instead of

    ifeq ($(USE_64),1)

Simarly, "ifndef USE_64" instead of "ifneq ($(USE_64),1)".

2. In Darwin.mk, you may want to consider just adding -arch x86_64
to the compiler 'CC'.  Then you won't need to add -arch x86_64 to
both OS_REL_CFLAGS and DSO_LDOPTS.  That's how it's done in NSPR:
http://mxr.mozilla.org/mozilla-central/source/nsprpub/configure.in#1002
Attachment #366366 - Flags: review?(wtc) → review+
thanks for review wan-teh.

Checking in coreconf/Darwin.mk;
/cvsroot/mozilla/security/coreconf/Darwin.mk,v  <--  Darwin.mk
new revision: 1.21; previous revision: 1.20
done
Checking in nss/lib/ckfw/builtins/config.mk;
/cvsroot/mozilla/security/nss/lib/ckfw/builtins/config.mk,v  <--  config.mk
new revision: 1.13; previous revision: 1.12
done
Checking in nss/lib/ckfw/capi/config.mk;
/cvsroot/mozilla/security/nss/lib/ckfw/capi/config.mk,v  <--  config.mk
new revision: 1.2; previous revision: 1.1
done
Attachment #366366 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.12.3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: