[Mono-list] SIGILL in I18N on OSX

Robert Shade rshade@dvsconsulting.com
Wed, 24 Mar 2004 11:29:12 -0500

Did you ever get this fixed?

If you didn't, the problem is that at this phase of the buld the 
makefiles are using the internal mcs (the one it just built).  In order 
to do this, it calls it directly instead of using the mcs script:

> ---(snip!)---
> Creating ../../../build/deps/I18N.dll.makefrag ...
> touch ../../../build/deps/I18N.dll.stamp
> MONO_PATH="../../../class/lib:$MONO_PATH" mono  ../../../mcs/mcs.exe 
> /r:mscorlib.dll  -d:NET_1_1 -d:ONLY_1_1 -g /noconfig  /target:library 
> /out:../../../class/lib/I18N.dll @I18N.dll.sources

Notice the call to mono.  In order to fix this, change the line in 
build/rules.make that says:

INTERNAL_MCS = $(RUNTIME) $(topdir)/mcs/mcs.exe


INTERNAL_MCS = /usr/local/bin/mint $(topdir)/mcs/mcs.exe

I have not been able to figure out how to change $(RUNTIME) to resolve 
to mint, thus the change.

I totally forgot about this change and have to admit that I didn't look 
at your error closely. :(


PS.  This is bug 55987.

> Unhandled Exception: System.ExecutionEngineException: SIGILL
> ---(snip!)---
> ...any ideas what this means?
> I'm using the default profile, and the mono 0.31 packages I just put up 
> in Fink unstable.