[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gorm needs writeable and executable mappings?
From: |
Wolfgang Lux |
Subject: |
Re: gorm needs writeable and executable mappings? |
Date: |
Fri, 20 Jan 2012 14:42:08 +0100 |
Rogelio Serrano wrote:
> i cant run gorm on a pax kernel. i get this error:
>
> 2012-01-20 21:04:49.737 Gorm[4283] Failed to protect memory as executable: m
> Killed
>
> this is a error message from nsinvocation.m. i dont know exactly where
> gorm calls protect. is this a bug in gorm or nsinvocation.m?
No. AFAIU, this is necessary due to the way libffi works, which is used to
implement message forwarding.
So it looks like gnustep-base+libffi is incompatible with a pax kernel. You
could try if using ffcall instead of libffi works.
Wolfgang