[plt-scheme] Re: (ab)using ffi-call to execute assembly
On Mon, Jul 13, 2009 at 8:52 PM, Eli Barzilay<eli at barzilay.org> wrote:
> On Jul 13, Noel Welsh wrote:
> Perhaps this is due to a need for `scheme_malloc_code'? (Which is our
> wrapper that takes care to mark the memory as executable.) DrScheme
> probably has many more pages marked as executable anyway, which would
> make the error less likely.
Thanks. I didn't know about this requirement. Reading further, it fits
the error message on Linux. Furthermore, it seems OS X doesn't mark
memory an non-executable for 32-bit code, so that fits what I'm seeing
on my Mac.
N.