Using Docker and QEMU, running what looks like x86-based YJIT on an ARM64 host, @byroot encountered some problems. That makes sense, and it's a great example of the kind of platform we will probably never test regularly.
But he points out that if we did a quick capability check for setting memory as executable, we could refuse to activate YJIT if it fails. I've seen this error happen before on weird platforms, and that sounds like a very sane approach to it. Then we'd have no YJIT in those weird cases, but also few-or-no bug reports.
@XrXr - does this seem like a reasonable approach to you?