On Mon, Oct 14, 2013 at 10:48:42AM +0200, Joachim Breitner wrote: > It seems that it is using mmap where not supported. Who wants to > investigate and find a way to make the code portable? The call that should be generated, mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_ANON|MAP_PRIVATE, -1, 0) (though MAP_ANON is deprecated and should be MAP_ANONYMOUS), should work, and does work from C. So I think something horrible is happening with the FFI.