1 comment

[ 3.1 ms ] story [ 9.5 ms ] thread
I had it the other way around when writing a JIT compiler for my toy language: it worked on Windows, but crashed on Linux. The compiler was written in C++ and used C++ exceptions. On Windows (MinGW), I enabled the LJSJ backend (longjmp/setjmp), which happily skipped JIT-generates frames, but on Linux, it immediately crashed after encountering the first JIT-generated frame. I didn't find a way to quickly fix it and abandoned the project.