Closed Bug 485049 Opened 17 years ago Closed 16 years ago

port xptcall to 64-bit Mac OS X

Categories

(Core :: XPCOM, defect)

x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jaas, Assigned: jaas)

References

Details

Attachments

(3 files, 1 obsolete file)

We need to port xptcall to 64-bit Mac OS X.
Blocks: 478687
There is a mozconfig for 64-bit builds on Mac OS X on bug 468509. Currently the next compiler error on trunk is in xptcall.
This patch points the build system at our 64-bit Linux xptcall implementation for Mac OS X builds. These are probably the files we should be using but they do not compile.
Attached file build errors 1
build errors for xptcall on Mac OS X using 64-bit Linux implementation
Attached patch fix v0.6 (obsolete) — Splinter Review
This allows xptcall to build and xpcom to link, but I can't test it because I can't get an xpcshell building yet and it doesn't integrate with the Linux code, it just breaks it. I need to integrate these changes into the Linux code and then we're probably good to go. Jason Allum of IndyHall and RipItApp helped with this patch.
Assignee: nobody → joshmoz
Attached patch fix v1.0Splinter Review
Attachment #372486 - Attachment is obsolete: true
Attachment #372689 - Flags: review?
Attachment #372689 - Flags: review? → review?(dbaron)
Attachment #372689 - Flags: review?(dbaron) → review?(benjamin)
Comment on attachment 372689 [details] [diff] [review] fix v1.0 I think Benjamin should review this instead of me.
Comment on attachment 372689 [details] [diff] [review] fix v1.0 What's the difference between xptcstubs_x86_64_linux.cpp and xptcstubs_x86_64_darwin.cpp? Casual inspection says they are very similar: it would be nice to share that code instead of forking unless that's impossible.
Attachment #372689 - Flags: review?(benjamin) → review+
Comment on attachment 372689 [details] [diff] [review] fix v1.0 ok, the assembly differences are great enough that it would be unreadable to use #defines in the same file. Bah. Please add a header note to _darwin and _linux versions of this file to keep them in sync.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: