[Mono-devel-list] [REGRESSION] Change in mono runtime caused Nemerle do stop bootstraping
Paolo Molaro
lupus at ximian.com
Tue Mar 1 05:19:53 EST 2005
On 03/01/05 Kamil Skalski wrote:
> After some binary search work (I need to automatize this...) I found that this
> patch:
> http://lists.ximian.com/archives/public/mono-patches/2005-February/055290.html
>
> Caused Nemerle to fail quite fast during bootstrap:
To confirm, try compiling with the env var GC_DONT_GC=1 set.
nemerle-0.2.1 builds fine on my box. Are you running on x86?
> make[3]: Entering directory `/home/users/nemweb/nemerle/ncc'
> COMPILE [stage1] Nemerle.dll
> [01;31merror [0m: internal compiler error: got some unknown exception Cannot
> cast from source type to destination type.
> in <0x000da> Nemerle.Compiler.TypeBuilder:add_derived_members ()
> in <0x00079> Nemerle.Compiler.TypeBuilder:add_members ()
> in <0x0002c> Nemerle.Compiler.TypeBuilder+_N_lm__N_l2826628268:_N_l28266
> (System.Object x)
> in <0x00155> Nemerle.Compiler.TypeBuilder+_N_lm_maybe_f28190:maybe_f
> (System.Object ti)
> in <0x000ca> Nemerle.Collections.List:Iter (Nemerle.Core.list l, Func1 f)
> in <0x0006a> Nemerle.Compiler.TypeBuilder:Iter (Nemerle.Core.list builders,
> Func1 f)
> in <0x00020> Nemerle.Compiler.TypeBuilder:Iter (Func1 f)
>
> I looked at the code of add_derived_members and there are not explicit casts
> out there. This is probably happening on some of casts performed by compiler,
> which are known to be *valid*.
>
> Just tell me if I should do some more debugging or file a bug report.
You could enable the commented code in metadata/object.c at line 564 and change to:
static int count = 0;
if (count++ > 58) {
g_print ("typed alloc disabled for %s.%s\n", class->name_space, class->name);
return;
}
Increasing/decreasing the value and checking if nemerle works should point
out for which type the GC descriptor is computed incorrectly.
Or you can file a bug with details we can use to find the issue.
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-devel-list
mailing list