Bug 1480548 (aarch64-windows)

enable building Firefox on aarch64 windows

NEW
Unassigned

Status

8 months ago
10 days ago

People

(Reporter: froydnj, Unassigned)

Tracking

(Depends on: 20 bugs, Blocks: 1 bug)

Trunk
ARM64
Windows

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 months ago
AArch64 Windows is a thing.  We should make Firefox run on it.
(Reporter)

Updated

8 months ago
Depends on: 1480549
(Reporter)

Updated

8 months ago
Depends on: 1480550
(Reporter)

Updated

8 months ago
Depends on: 1480552
(Reporter)

Updated

8 months ago
Depends on: 1480553
(Reporter)

Updated

8 months ago
Depends on: 1480558
(Reporter)

Updated

8 months ago
Depends on: 1480577
(Reporter)

Updated

8 months ago
Depends on: 1480578
(Reporter)

Updated

8 months ago
Depends on: 1480581
(Reporter)

Updated

8 months ago
Depends on: 1480587
(Reporter)

Updated

8 months ago
Depends on: 1480588
(Reporter)

Updated

8 months ago
Depends on: 1480590
(Reporter)

Updated

8 months ago
Depends on: 1480592
(Reporter)

Updated

8 months ago
Depends on: 1480594
(Reporter)

Updated

8 months ago
Depends on: 1480595
(Reporter)

Updated

8 months ago
Depends on: 1480598
(Reporter)

Updated

8 months ago
Depends on: 1480652
Depends on: 1480732
(Reporter)

Updated

8 months ago
Depends on: 1480915
(Reporter)

Updated

8 months ago
Depends on: 1481504
(Reporter)

Updated

8 months ago
Depends on: 1481505
(Reporter)

Updated

8 months ago
Depends on: 1481512
(Reporter)

Updated

8 months ago
Depends on: 1481513
(Reporter)

Updated

8 months ago
Depends on: 1481515
(Reporter)

Updated

8 months ago
Depends on: 1481518
(Reporter)

Updated

8 months ago
Depends on: 1481534
(Reporter)

Comment 1

8 months ago
The necessary Rust support is landing in https://github.com/rust-lang/rust/pull/53173.  Thanks to Alex Crichton for writing it and pushing it upstream!

Compiling Rust crates with that preliminary support is another story.  The current sticking point is winapi-rs, which doesn't have any aarch64 support at the moment.  I've opened https://github.com/retep998/winapi-rs/issues/659 to start discussing that.
(Reporter)

Updated

8 months ago
Depends on: 1481864
(Reporter)

Updated

8 months ago
Depends on: 1482238
(Reporter)

Updated

8 months ago
Depends on: 1482257
(Reporter)

Updated

8 months ago
Depends on: 1482294
(Reporter)

Updated

7 months ago
Depends on: 1483344
(Reporter)

Updated

7 months ago
Depends on: 1484184
(Reporter)

Updated

7 months ago
Depends on: 1484835
(Reporter)

Updated

7 months ago
Depends on: 1477680
(Reporter)

Updated

7 months ago
Depends on: 1485367
(Reporter)

Updated

7 months ago
Depends on: 1485696
(Reporter)

Updated

7 months ago
Depends on: 1485701
(Reporter)

Updated

7 months ago
Depends on: 1485716
(Reporter)

Updated

7 months ago
Depends on: 1485751
(Reporter)

Updated

7 months ago
Depends on: 1485765
(Reporter)

Updated

7 months ago
Depends on: 1485767
(Reporter)

Updated

7 months ago
Depends on: 1486028
(Reporter)

Updated

7 months ago
Depends on: 1486038
(Reporter)

Updated

7 months ago
Depends on: 1486039
(Reporter)

Updated

7 months ago
Depends on: 1486040
(Reporter)

Updated

7 months ago
Depends on: 1486055
(Reporter)

Updated

7 months ago
Depends on: 1486056
(Reporter)

Updated

7 months ago
Depends on: 1486068
(Reporter)

Updated

7 months ago
Depends on: 1486478
(Reporter)

Updated

7 months ago
Depends on: 1485946
(Reporter)

Updated

7 months ago
Depends on: 1486512
(Reporter)

Updated

7 months ago
Depends on: 1486859
(Reporter)

Updated

7 months ago
Depends on: 1486882
(Reporter)

Updated

7 months ago
Depends on: 1486898
(Reporter)

Updated

7 months ago
Depends on: 1486905
(Reporter)

Updated

7 months ago
Depends on: 1486906
(Reporter)

Updated

7 months ago
Depends on: 1486925
(Reporter)

Updated

7 months ago
Depends on: 1487109
(Reporter)

Updated

7 months ago
Depends on: 1487122
(Reporter)

Updated

7 months ago
Depends on: 1488763
(Reporter)

Updated

7 months ago
Depends on: 1489601
(Reporter)

Updated

6 months ago
Depends on: 1494384
(Reporter)

Updated

6 months ago
Depends on: 1494386
(Reporter)

Updated

6 months ago
Depends on: 1494389
(Reporter)

Updated

6 months ago
Depends on: 1494392
(Reporter)

Updated

6 months ago
Depends on: 1494503
(Reporter)

Updated

6 months ago
Depends on: 1494509
(Reporter)

Updated

6 months ago
Depends on: 1494511
(Reporter)

Updated

6 months ago
Depends on: 1494712
(Reporter)

Updated

6 months ago
Depends on: 1494717
(Reporter)

Comment 2

6 months ago
Status update: Firefox builds for ARM64 (yay!), but crashes immediately on startup (boo!)

I've attempted to distill everything needed to build things not-on-my-machine into https://github.com/froydnj/FF-arm64  Following the instructions therein *should* enable somebody to build on their machine.

dmajor is going to start debugging things and will ideally resolve the crashes in short order. =D

The remaining bugs at this point do not need to be solved for the MVP.

The non-exhaustive next steps are, in no particular order:

1. Debug startup problems.
2. Integrate Microsoft's patches for libffi so ctypes starts working.
3. Make the whole thing buildable on infra, which implies changing a lot of things about our Windows builds.
4. Fixing any compilation issues with vendored third-party code (e.g. webrtc).
5. Adding in AArch64-specific optimizations to vendored third-party code where applicable.
6. Reactivate any disabled components (e.g. sandboxing).
7. Make aarch64-pc-windows-msvc stdlib available with Nightly rustc (https://github.com/rust-lang/rust/issues/53864), so people don't have to build their own rustc to get the stdlib.
8. ...
(Reporter)

Comment 3

6 months ago
Oh, we should also make sure that the JIT is disabled-by-default on AArch64 Windows.
I guess we'd also need to create atomicops_internals_aarch64_msvc.h or using the mutex impl instead of reusing the x86 one.
Ref: bug 1480732 comment #7
(Reporter)

Updated

6 months ago
Depends on: 1495871
Depends on: 1495874
(Reporter)

Updated

6 months ago
Depends on: 1495878
(Reporter)

Updated

6 months ago
Depends on: 1495879
Depends on: 1496173
Depends on: 1496588
Depends on: 1496591
(Reporter)

Updated

6 months ago
Depends on: 1497583
Depends on: 1501269
Depends on: 1501301
Depends on: 1502095
(Reporter)

Updated

5 months ago
Depends on: 1502421
(Reporter)

Updated

5 months ago
Depends on: 1502964
(Reporter)

Updated

5 months ago
Depends on: 1503366
Depends on: 1503992
Depends on: 1504016
Depends on: 1504017
Depends on: 1505819
(Reporter)

Updated

4 months ago
Depends on: 1506138
(Reporter)

Updated

4 months ago
Depends on: 1508710
Depends on: 1512039
See Also: → bug 1512056
Depends on: 1512699
Depends on: 1512822
(Reporter)

Updated

3 months ago
Depends on: 1513284
(Reporter)

Updated

3 months ago
Depends on: 1513287
(Reporter)

Updated

3 months ago
Depends on: 1513293
(Reporter)

Updated

3 months ago
Depends on: 1513313
Depends on: 1514078

Updated

3 months ago
Depends on: 1514085
Depends on: 1514407
Depends on: 1514414
Depends on: 1514799
Depends on: 1514806
Depends on: 1514988

Updated

3 months ago
Depends on: 1515208

Updated

3 months ago
Depends on: 1515210
Depends on: 1513725
(Reporter)

Updated

3 months ago
Depends on: 1515519
No longer depends on: 1513725
Depends on: 1515528
No longer depends on: 1515519
Blocks: 1515668

Updated

3 months ago
Depends on: 1516214
Depends on: 1516543
No longer depends on: 1516543
(Reporter)

Updated

3 months ago
No longer depends on: 1515387
Depends on: 1520686
(Reporter)

Updated

2 months ago
Depends on: 1521944
Depends on: 1522380
Depends on: 1522507

Updated

2 months ago
Depends on: 1525066

Updated

2 months ago
Depends on: 1486994

Updated

2 months ago
Depends on: 1525069

Updated

2 months ago
No longer depends on: 1486994
(Reporter)

Updated

2 months ago
Depends on: 1525111
(Reporter)

Updated

2 months ago
Depends on: 1525630
(Reporter)

Updated

a month ago
Depends on: 1526052
Depends on: 1526383
Depends on: 1526737

Updated

a month ago
Depends on: 1527011
(Reporter)

Updated

a month ago
Depends on: 1527471

Updated

26 days ago
Depends on: 1530507
Depends on: 1531689

Updated

19 days ago
Depends on: 1531537
Depends on: 1532470

Updated

17 days ago
Depends on: 1533071

Updated

10 days ago
Depends on: 1288219
You need to log in before you can comment on or make changes to this bug.