Closed
Bug 330626
Opened 19 years ago
Closed 15 years ago
coreconf/Linux.mk does not detect mips64
Categories
(NSS :: Build, defect)
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.
Assignee | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
Martin, isn't an "else" (and the corresponding "endif") missing from your patch ?
Assignee | ||
Updated•19 years ago
|
Attachment #215190 -
Attachment filename: linux-mips64-detection
Assignee | ||
Comment 4•19 years ago
|
||
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
Assignee | ||
Comment 5•19 years ago
|
||
fixed (and tested) patch
Attachment #215296 -
Flags: review?(wtchang)
Assignee | ||
Comment 6•19 years ago
|
||
I tested the new patch by compiling mozilla-thunderbird and it works. mips64 is now recognized as mips.
Assignee | ||
Updated•19 years ago
|
Attachment #215296 -
Flags: review?(rrelyea)
Comment 7•19 years ago
|
||
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-
Assignee | ||
Comment 8•19 years ago
|
||
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)
Assignee | ||
Comment 9•19 years ago
|
||
merge patches, as requested
Attachment #215917 -
Flags: review?(rrelyea)
Comment 10•19 years ago
|
||
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+
Updated•19 years ago
|
Assignee: wtchang → nobody
QA Contact: wtchang → build
Comment 12•16 years ago
|
||
Yeah, if this is still relevant, can we get this checked-in?
Assignee: rrelyea → tbm
Updated•16 years ago
|
Keywords: checkin-needed
Comment 13•16 years ago
|
||
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.
Comment 14•16 years ago
|
||
This needs cvs=1.9.0 checkin rather than
mozilla-central, right?
Comment 15•16 years ago
|
||
Serge, It needs CVS checkin in the NSS trunk. After that, it may be
imported into other downstream repositories in subsequent snapshots.
Updated•16 years ago
|
Whiteboard: [c-n: to cvs=1.9.0]
Comment 16•15 years ago
|
||
Nelson, can you help to get it checked it?
(I don't think I can land NSS patches, can I?)
Status: NEW → ASSIGNED
Comment 17•15 years ago
|
||
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
Updated•15 years ago
|
Attachment #215917 -
Flags: review+
Comment 18•15 years ago
|
||
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
Updated•15 years ago
|
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.
Description
•