[Mono-devel-list] [REGRESSION] Change in mono runtime caused Nemerle do stop bootstraping
Kamil Skalski
nazgul at nemerle.org
Tue Mar 1 06:16:10 EST 2005
Dnia wtorek, 1 marca 2005 11:19, Paolo Molaro napisał:
>
> To confirm, try compiling with the env var GC_DONT_GC=1 set.
Confirmed, with
export GC_DONT_GC=1
everything goes fine
> nemerle-0.2.1 builds fine on my box.
Probably, the svn version (which is failing) got quite much new stuff.
> Are you running on x86?
Yes.
>
> 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;
With this code everything seems to work fine, but it prints out a large chunk
of types.
When I commented out `return` the trace is:
typed alloc disabled for .MethodInfo
typed alloc disabled for System.Reflection.MonoField
typed alloc disabled for .Locale
typed alloc disabled for System.Diagnostics.StackTrace
typed alloc disabled for System.Diagnostics.StackFrame
typed alloc disabled for System.Security.Permissions.FileIOPermission
typed alloc disabled for System.Security.CodeAccessPermission
typed alloc disabled for System.Security.SecurityManager
typed alloc disabled for System.Security.Permissions.SecurityPermission
typed alloc disabled for System.Security.Permissions.SecurityPermissionFlag
typed alloc disabled for Nemerle.Compiler.BailOutException
error: 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 ()
> }
> Increasing/decreasing the value and checking if nemerle works should point
> out for which type the GC descriptor is computed incorrectly.
Hmm, so should I increase the 58 value to the point where it stops printing
anything? Or to the point where is may print something, but stop/start
failing?
Is there a way to omit 'make install' stage when testing? Ideally I would like
to only build mono runtime, point my configuration to use newly builded
'mono' and test things. Which directory should I use?
Kamil
More information about the Mono-devel-list
mailing list