[Mono-dev] Status of the Windows build (with patches)

Robert Jordan robertj at gmx.net
Fri May 28 10:01:40 EDT 2010


Hey,

One of the main causes of the Windows build breakage was the
use of cygwin paths for "mcs_topdir". Because this var is mainly
used for MONO_PATH and the gmcs path, the runtime was utterly
failing on them.

This is fixed by configure.in.diff. With this patch the
runtime unit tests are working again.


The second issue is a SIGSEGV during the full mscorlib
compilation (also reported by Atsushi). It seems to be
caused by the basic bootstrap corlib, but I did not debug
it in the hope that one of the Reflection.Emit gods is
able to pinpoint the issue by just looking at the backtrace
and my patch.

See backtrace.txt and icall.c.diff. The offending enums are

System.Runtime.InteropServices.CharSet
System.Runtime.InteropServices.CallingConvention

For both, the following expression is true:

	class->element_class == class

which is causing  mono_class_enum_basetype() to return NULL.

It seems that the issue is related to the emission of DllImports.


The third issue was eglib related. See eglib.diff.

With these 3 patches, both glib and eglib bootstraps
are working again.

Regards,
Robert

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configure.in.diff
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100528/21977807/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: backtrace.txt
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100528/21977807/attachment.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: icall.c.diff
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100528/21977807/attachment-0001.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: eglib.diff
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100528/21977807/attachment-0002.pl 


More information about the Mono-devel-list mailing list