Open
Bug 1480548
(aarch64-windows)
Opened 7 years ago
Updated 1 year ago
enable building Firefox on aarch64 windows
Categories
(Firefox Build System :: General, enhancement)
Tracking
(Not tracked)
NEW
People
(Reporter: froydnj, Unassigned)
References
(Depends on 13 open bugs)
Details
AArch64 Windows is a thing. We should make Firefox run on it.
| Reporter | ||
Comment 1•7 years 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 | ||
Comment 2•7 years 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•7 years ago
|
||
Oh, we should also make sure that the JIT is disabled-by-default on AArch64 Windows.
Comment 4•7 years ago
|
||
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•7 years ago
|
Depends on: aarch64-crash-reporting
Updated•7 years ago
|
Depends on: aarch64-eme
| Reporter | ||
Updated•7 years ago
|
Depends on: arm64-windows-bugs
Updated•7 years ago
|
No longer depends on: arm64-windows-bugs
Updated•7 years ago
|
Blocks: aarch64-windows-meta
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•