Closed Bug 645460 Opened 14 years ago Closed 14 years ago

Default to 32-bit NSS builds on OS X 10.6 (Snow Leopard) and later, too

Categories

(NSS :: Build, defect, P2)

x86_64
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
3.12.10

People

(Reporter: mozbgz, Assigned: mozbgz)

References

Details

Attachments

(1 file)

Attached patch Proposed patchSplinter Review
According to https://developer.mozilla.org/en/NSS_reference/Building_and_installing_NSS/Build_instructions: > On platforms that support both 32-bit and 64-bit ABIs, tells NSS > to build for the 64-bit ABI. Default is 32-bit ABI, except on platforms > that do not support a 32-bit ABI. With OS X 10.6 (Snow Leopard), Apple changed the default architecture for gcc to x86_64. The attached patch (to security/coreconf/Darwin.mk) makes sure that the OS X build continues to default to 32 bit, by adding the "-arch i386" option. For the sake of consistency, I suggest applying a similar option for ppc, while we're at it. This depends on the companion NSPR bug 645459.
Attachment #522180 - Flags: superreview?(wtc)
Attachment #522180 - Flags: review?(rrelyea)
Comment on attachment 522180 [details] [diff] [review] Proposed patch r+ rrelyea Kasper do you have checkin permission to NSS or do you need me to check this in? bob
Attachment #522180 - Flags: review?(rrelyea) → review+
(In reply to comment #1) > do you need me to check this in? Yes, please - I don't have commit privileges.
Keywords: checkin-needed
Comment on attachment 522180 [details] [diff] [review] Proposed patch r=wtc. Patch checked in on the NSS trunk (NSS 3.13) and NSS_3_12_BRANCH (NSS 3.12.10). Checking in Darwin.mk; /cvsroot/mozilla/security/coreconf/Darwin.mk,v <-- Darwin.mk new revision: 1.29; previous revision: 1.28 done Checking in Darwin.mk; /cvsroot/mozilla/security/coreconf/Darwin.mk,v <-- Darwin.mk new revision: 1.24.2.3; previous revision: 1.24.2.2 done
Attachment #522180 - Flags: superreview?(wtc) → superreview+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Priority: -- → P2
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: