Closed sergiobenrocha2 closed 3 years ago
It seems to be lack of RAM memory, I can't compile with dynarec support in Odroid C1 (1 GB ram).
well you either need mmap or support for the .jit section for your platform in order to use the dynarec. this is needed to get a memory buffer with write+execute rights.
try with make platform="armv hardfloat no-dynarec"
I tried with no dynarec too, lacks of memory too.
I fixed this in my gameshell by adding 100MB swap and building again.
This was recently changed, so that the RWX (jit) section is better handled by newer gcc. You should not use HAVE_MMAP=1 for ARM, the reason it's that it's just not valid. The real reason why we have a jit section is so that it lives near the text section, to allow for branches to cross over. If you mmap it, there's the risk the sections are "too far". MIPS does the same, and x86 doesn't care since it has full 32 bit jumps, so not an issue in that instruction set.
This compile error is hard to get, I got sometimes in an ARM server (real hardware) and always in launchpad (which uses qemu). If you compile without HAVE_MMAP = 1, you get zillions errors.