Closed
Bug 1113374
Opened 9 years ago
Closed 9 years ago
xptcall: fix NetBSD/amd64 support
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla37
People
(Reporter: wiz, Assigned: wiz)
Details
Attachments
(1 file)
834 bytes,
patch
|
froydnj
:
review+
gaston
:
feedback+
|
Details | Diff | Splinter Review |
The build on NetBSD/amd64 uses the wrong files. The attached patch lets NetBSD/amd64 be handled like the other BSDs and Linux, and makes mozilla-central as of today compile and work (with a second patch which I'll submit shortly).
Assignee | ||
Comment 1•9 years ago
|
||
The other patch I mentioned is in bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1113379 These two patches are sufficient to get a firefox that displays NetBSD.org and plays movies on youtube.
Comment 2•9 years ago
|
||
Comment on attachment 8538758 [details] [diff] [review] Patch fixing NetBSD/amd64 support. See also https://bugzilla.mozilla.org/show_bug.cgi?id=971897 for the recent similar OpenBSD change
Attachment #8538758 -
Flags: review?(benjamin)
Attachment #8538758 -
Flags: feedback+
Updated•9 years ago
|
Attachment #8538758 -
Flags: review?(benjamin) → review+
Comment 3•9 years ago
|
||
Pushed, and credited you as author with your @netbsd.org address. https://hg.mozilla.org/integration/mozilla-inbound/rev/324cfbfd323d
Assignee: nobody → wiz
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 4•9 years ago
|
||
Comment on attachment 8538758 [details] [diff] [review] Patch fixing NetBSD/amd64 support. Review of attachment 8538758 [details] [diff] [review]: ----------------------------------------------------------------- ::: xpcom/reflect/xptcall/md/unix/moz.build @@ +19,4 @@ > if '86' in CONFIG['OS_TEST'] and CONFIG['OS_TEST'] != 'x86_64': > DEFINES['MOZ_NEED_LEADING_UNDERSCORE'] = True > > +if CONFIG['OS_ARCH'] in ('GNU'): This looks incorrect. This should be |('GNU',)| to be a tuple rather than a constant string.
Comment 5•9 years ago
|
||
but will that actually break, or it's just a stylistic issue ?
Comment 6•9 years ago
|
||
I think things would break if you tried compiling for Hurd, or whatever gnu* target triples resolve to nowards.
Comment 7•9 years ago
|
||
Might aswell go cleaner and use == then ? -if CONFIG['OS_ARCH'] in ('GNU'): +if CONFIG['OS_ARCH'] == 'GNU': how about this, anyone to rubberstamp it ?
Comment 8•9 years ago
|
||
r=me.
Comment 10•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/324cfbfd323d https://hg.mozilla.org/mozilla-central/rev/61eaac98828b
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in
before you can comment on or make changes to this bug.
Description
•