On the M1? I could only get it to work with some patches I found on some forums from < 1 month ago. The issue seems to be hardware wx protection, among other things.
Interesting. Do you work for Apple? The qemu patches that split up the RX/RW jit regions are maddeningly complicated. I'm curious if anyone has suggested this solution to them?
I don't. To be clear, this isn't an actual fix, it just turns off W^X enforcement altogether. It's certainly not something that should be merged upstream–the real fix should be to adopt W^X in the JIT (which is more complicated, as you may have seen).