[Mono-dev] Still working on AIX ;-)

Randall Stewart rrs at lakerest.net
Mon May 11 17:19:38 EDT 2009


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.

I.e.:

{

    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?


Help would be much appreciated :-)

R

------------------------------
Randall Stewart
803-317-4952 (cell)
803-345-0391(direct)



More information about the Mono-devel-list mailing list