[Mono-dev] Still working on AIX ;-)
kumpera at gmail.com
Mon May 11 17:26:52 EDT 2009
On Mon, May 11, 2009 at 6:19 PM, Randall Stewart <rrs at lakerest.net> wrote:
> Hi all:
> I am still working on AIX trying to make mono run..
> I am now to the point where I can get most
> of the regression tests to pass... but I am still
> a ways out.
> One thing that I have not figured out how to fix is the way
> AIX works with null pointer references.
> It appears that you can do a read NULL pointer
> reference and NOT get a SIGSEGV.
> int *foo, x;
> foo = NULL;
> x = *foo;
> Will NOT get you a segv but instead will get
> x set to 0.
> This causes some of the regressions to fail...
> Does anyone know some magic way to get AIX to give a SEGV on
> a null pointer reference?? Or is there a flag or some machine dependent
> thing I can flip to make Mono happy with this?
Mono doesn't support any other null check mode than the implicit SEGV when
reading from the first page. I have no knowledge on how to fix this AIX
On mono's side you can change the JIT to emit explicit null checks, this is
between the runtime developers on how to approach this problem.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list