Closed Bug 468509 Opened 16 years ago Closed 15 years ago

Gecko 64-bit Mac OS X support

Categories

(Core :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jaas, Assigned: jaas)

References

Details

Attachments

(1 file, 2 obsolete files)

565 bytes, text/plain
Details
This is the bug for getting 64-bit Mac OS X Gecko running. We should close this out when Firefox runs on 64-bit Mac OS X.

We should keep track of bugs that are prerequisites for this goal here.

This is not the bug for universal builds that include 64-bit - that is bug 411588. This bug is a prerequisite for that.
Blocks: 411588
Depends on: 370766, 456662, 464315
Attached file mozconfig v1.0 (obsolete) —
Here is a first stab at a mozconfig file that will do a 64-bit build on Mac OS X 10.5. The build fails in nspr right now, covered by bug 370766.
Depends on: 469545
I don't know how related this is, but if I compile a i386 build with -Wshorten-64-to-32 in my optimize option, I get A LOT of warnings like:
"warning: implicit conversion shortens 64-bit value into a 32-bit value"
Especially for Gecko parts. I've tested these because if you build Apples webkit, this flag is enabled by default and I want test what I will get if I use this for mozilla code.
That isn't related to this bug.
Depends on: 471059
Attached file mozconfig v1.1 (obsolete) —
Remove unnecessary stuff.
Attachment #351978 - Attachment is obsolete: true
Depends on: 470071
No longer depends on: 471059
Ok, apparently I lied. Some changes landed and now you hit the cross-compile codepath no matter what, so you have to explicitly specify AR/AS/LD/STRIP. It used to be you could do a "not-really-cross-compile", since you can in fact run the resulting 64-bit binaries, but now you can't.
Attachment #351978 - Attachment is obsolete: false
Comment on attachment 354720 [details]
mozconfig v1.1

OK, back to v1.0.
Attachment #354720 - Attachment is obsolete: true
Depends on: 301647
Depends on: 478687
Attached file mozconfig v1.2 —
This adds "ac_add_options --enable-macos-target=10.5", which we also need to define for 64-bit. Among other things this fixes build errors related to exception handling.
Attachment #351978 - Attachment is obsolete: true
Depends on: 363747
Depends on: 485049
Depends on: 487966
Depends on: 487972
Depends on: 488320
Depends on: 489280
Depends on: 489344
Depends on: 489354
Depends on: 489586
Depends on: 489231
Depends on: 489720
Depends on: 459729
Depends on: 490283
Depends on: 492089
Depends on: 492072
Depends on: 435041
Depends on: 509947
Depends on: 510410
Depends on: 510428
Depends on: 456646
Blocks: 445007
Depends on: 513777
Depends on: 514996
Depends on: 515002
Depends on: 513747
Depends on: 513955
Depends on: 517392
Depends on: 517398
Depends on: 517409
Depends on: 517412
Depends on: 517415
Depends on: 518140
Depends on: 518184
Depends on: 518435
Depends on: 518541
Depends on: 518542
Depends on: 518546
Depends on: 518677
Depends on: 518830
No longer depends on: 518830
Depends on: 518877
No longer depends on: 518830
No longer depends on: 519631
No longer depends on: 489586
Bug 513747, system/mozilla sqlite conflict, is the last bug preventing unpatched 64-bit compiles.
Now that bug 513747 is fixed on mozilla-central we can make 64-bit builds without any patches. Resolving this fixed, setting up a tinderbox is bug 519060.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.