Last Comment Bug 761077 - Implement xptcall for FreeBSD/ia64
: Implement xptcall for FreeBSD/ia64
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: XPConnect (show other bugs)
: Trunk
: Other FreeBSD
: -- normal (vote)
: mozilla17
Assigned To: Jan Beich
:
:
Mentors:
Depends on: 691898 729447
Blocks: 647830 970031
  Show dependency treegraph
 
Reported: 2012-06-04 00:40 PDT by Makoto Kato [:m_kato]
Modified: 2014-02-09 03:16 PST (History)
9 users (show)
ryanvm: in‑testsuite-
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
build glue (2.41 KB, patch)
2012-07-29 07:19 PDT, Jan Beich
benjamin: review+
Details | Diff | Splinter Review
ia64 xptcall stubs (2.35 KB, patch)
2012-07-29 07:38 PDT, Jan Beich
no flags Details | Diff | Splinter Review
ia64 xptcall stubs (3.52 KB, patch)
2012-07-29 07:52 PDT, Jan Beich
benjamin: review+
Details | Diff | Splinter Review
Bug 761077 - Build xptcall on FreeBSD ia64/ppc/ppc64/sparc64. r=bsmedberg (2.31 KB, patch)
2012-08-07 15:34 PDT, Jan Beich
no flags Details | Diff | Splinter Review
Bug 761077 - Use same xptcall stubs on FreeBSD ia64 as on Linux ia64. r=bsmedberg (3.32 KB, patch)
2012-08-07 15:35 PDT, Jan Beich
no flags Details | Diff | Splinter Review

Description Makoto Kato [:m_kato] 2012-06-04 00:40:45 PDT
+++ This bug was initially created as a clone of Bug #729447 +++

> ok, now I get to
> 
> gmake[10]: Entering directory
> `/usr/ports/www/firefox/mozilla-central/obj-ia64-unknown-freebsd9.9/xpcom/
> reflect/xptcall/src/md/unix'
> /usr/ports/www/firefox/mozilla-central/config/rules.mk:383: *** XPTCall not
> implemented on this platform!.  Stop.
> gmake[10]: Leaving directory
> `/usr/ports/www/firefox/mozilla-central/obj-ia64-unknown-freebsd9.9/xpcom/
> reflect/xptcall/src/md/unix'
> gmake[9]: *** [export] Error 2

We don't support FreeBSD/ia64 yet.  IA64 support for xpconnect is Linux and HP-UX only.  Does FreeBSD ports support IA64?  If so, let's backport it to our code by separated bug.
Comment 1 Jan Beich 2012-07-29 07:19:10 PDT
(In reply to Makoto Kato from comment #0)
> Does FreeBSD ports support IA64?  If so, let's backport it to our code by separated bug.

It used to work. I have no hardware to confirm if it still is or need more patches.
Comment 2 Jan Beich 2012-07-29 07:19:56 PDT
Created attachment 646967 [details] [diff] [review]
build glue

At least try to build xptcall on FreeBSD for non-x86 archs. The patch comes from FreeBSD ports.
Comment 3 Jan Beich 2012-07-29 07:38:50 PDT
Created attachment 646968 [details] [diff] [review]
ia64 xptcall stubs

Another patch from FreeBSD ports. As it uses same code as Linux it should use same stubs, too.
Comment 4 Jan Beich 2012-07-29 07:52:46 PDT
Created attachment 646969 [details] [diff] [review]
ia64 xptcall stubs

missed genstubs.pl
Comment 5 Jan Beich 2012-08-07 15:34:19 PDT
Created attachment 649838 [details] [diff] [review]
Bug 761077 - Build xptcall on FreeBSD ia64/ppc/ppc64/sparc64. r=bsmedberg
Comment 6 Jan Beich 2012-08-07 15:35:34 PDT
Created attachment 649840 [details] [diff] [review]
Bug 761077 - Use same xptcall stubs on FreeBSD ia64 as on Linux ia64. r=bsmedberg

Note You need to log in before you can comment on or make changes to this bug.