Cross-compilation documentation for SpiderMonkey is out-of-date for ARM64
Categories
(Core :: JavaScript Engine, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox78 | --- | fixed |
People
(Reporter: cfallin, Assigned: cfallin)
Details
Attachments
(1 file)
I set out to cross-compile an ARM64 JS shell binary today from my Linux/x86-64 host, and then run JIT tests using that binary under qemu.
Unfortunately, the current documentation for cross-compilation appears to be somewhat lacking. For example, the docs on dev.m.o are missing at least one environment-variable setting (CPATH) that turned out to be necessary. Also, there is no documentation on how to use qemu to run the cross-compiled binary under jit_test.py.
This bug tracks an update to js/src/doc/build.rst to cover these procedures in more detail.
| Assignee | ||
Comment 1•6 years ago
|
||
This patch updates js/src/doc/build.rst to include up-to-date
instructions for cross-compiling a SpiderMonkey binary; for example, how
to build a Linux/aarch64 binary on a Linux/x86-64 host. It also adds
information about how to use qemu to run JIT-tests on this
cross-compiled binary without requiring native hardware at all. It has
been tested on the above platform pair (x86 to aarch64).
Comment 3•6 years ago
|
||
| bugherder | ||
Description
•