More a comment than an answer, I do not know apple and not an expert in low level, but in my cases I was able to guess and identify hashlink segfaults by running the program under gdb
like gdb hl
then at the 2nd prompt you type run hello.hl
wait for the segfault, you will get some kind of stacktrace.
but different info on next line (and no jit info). It turns out, there was NOT related to jit at all. To fix this, you need to compile HashLink again, using the Intel architecture. Full steps here (works great for your current setup, since you already have Homebrew and HL versions installed, even if they don’t work as expected, i.e. you will install intel versions on the same machine alongside the current ones):