Closed Bug 330626 Opened 19 years ago Closed 15 years ago

coreconf/Linux.mk does not detect mips64

Categories

(NSS :: Build, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tbm, Assigned: tbm)

Details

Attachments

(1 file, 2 obsolete files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Debian package 1.0.7-1) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Debian package 1.0.7-1) When you run a 64-bit Linux kernel on MIPS hardware, the output of "uname -m" is "mips64" rather than "mips". mozilla/security/coreconf/Linux.mk however only checks for "mips". "mips64" needs to be added. Reproducible: Always Steps to Reproduce: $ uname -m mips64 Actual Results: The result of this is that x86 will be assumed and this leads to compilation errors later on.
Martin, isn't an "else" (and the corresponding "endif") missing from your patch ?
confirmed.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #215190 - Attachment filename: linux-mips64-detection
Comment on attachment 215190 [details] Add mip64 detection to mozilla/security/coreconf/Linux.mk bogus patch
Attachment #215190 - Attachment is obsolete: true
Attachment #215190 - Attachment is patch: false
fixed (and tested) patch
Attachment #215296 - Flags: review?(wtchang)
I tested the new patch by compiling mozilla-thunderbird and it works. mips64 is now recognized as mips.
Attachment #215296 - Flags: review?(rrelyea)
Comment on attachment 215296 [details] [diff] [review] Add mip64 detection to mozilla/security/coreconf/Linux.mk please merge with patch in bug 330628 first. bob
Attachment #215296 - Flags: review?(rrelyea) → review-
Comment on attachment 215296 [details] [diff] [review] Add mip64 detection to mozilla/security/coreconf/Linux.mk need to merge patches
Attachment #215296 - Attachment is obsolete: true
Attachment #215296 - Flags: review?(wtchang)
merge patches, as requested
Attachment #215917 - Flags: review?(rrelyea)
Comment on attachment 215917 [details] [diff] [review] Add x86 and mip64 detection to mozilla/security/coreconf/Linux.mk Thanks, r+ relyea
Attachment #215917 - Flags: review?(rrelyea) → review+
Assignee: wtchang → nobody
QA Contact: wtchang → build
perhaps this could be checked in?
Assignee: nobody → rrelyea
Yeah, if this is still relevant, can we get this checked-in?
Assignee: rrelyea → tbm
Keywords: checkin-needed
Bob, you should have committed this patch when you reviewed it. Now, it does not apply cleanly because the second half of this patch was already committed by someone else for another (newer) bug. But it's simple enough to get the essential change in here (for mips64). Please commit the fix. I believe that, if bugzilla added a reviewer to a bug's CC list when review is requested of that reviewer, this problem (of bugs falling off the radar) would be greatly reduced.
This needs cvs=1.9.0 checkin rather than mozilla-central, right?
Serge, It needs CVS checkin in the NSS trunk. After that, it may be imported into other downstream repositories in subsequent snapshots.
Whiteboard: [c-n: to cvs=1.9.0]
Nelson, can you help to get it checked it? (I don't think I can land NSS patches, can I?)
Status: NEW → ASSIGNED
Does this still need a checkin? The current coreconf will accept mips64 and build setting OS_ARCH to mips64. This patch change that so it accepts mips64, but sets the OS_ARCH to mips I'm ok with checking in that change, I just want to make sure it's needed. bob
Attachment #215917 - Flags: review+
Hearing no comment I'm cancelling the review and closing the bug. Please reopen the bug if you need OS_ARCH to read mips instead of miips64 and I'll check in the change. bob
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Keywords: checkin-needed
Whiteboard: [c-n: to cvs=1.9.0]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: