[Mono-dev] Compiling mono with --with-gc=sgen Ubuntu 8.04

Alden Torres aldenml at yahoo.com
Tue Nov 10 10:57:20 EST 2009


Hello,

I'm trying to compile mono from the latest revision in the trunk with sgen GC.My OS is Ubuntu 8.04 in a 1and1 VPS. I'm getting the following error:

make[8]: Entering directory `/root/mcs/class/System'
** Warning: System.dll built without parts that depend on: Mono.Security.dll System.Configuration.dll
MCS     [net_2_0] System.dll
Stacktrace:

  at (wrapper managed-to-native) object.__icall_wrapper_mono_value_copy (intptr,intptr,intptr) <0x00051>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_value_copy (intptr,intptr,intptr) <0x00051>
  at System.Reflection.MonoMethodInfo.GetMethodInfo (intptr) <0x00074>
  at System.Reflection.MonoMethodInfo.GetAttributes (intptr) <0x0002a>
  at System.Reflection.MonoCMethod.get_Attributes () <0x00014>
  at System.Reflection.MethodBase.get_IsPublic () <0x00016>
  at System.Activator.CreateInstance (System.Type,bool) <0x000a6>
  at System.Activator.CreateInstance (System.Type) <0x0000e>
  at System.Collections.Generic.EqualityComparer`1<object>..cctor () <0x0009d>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0x00049>
  at System.Collections.Generic.Dictionary`2<string, int>.Init (int,System.Collections.Generic.IEqualityComparer`1<string>) <0xffffffff>
  at System.Collections.Generic.Dictionary`2<string, int>.Init (int,System.Collections.Generic.IEqualityComparer`1<string>) <0x00053>
  at System.Collections.Generic.Dictionary`2<string, int>..ctor (int) <0x00018>
  at Mono.CSharp.ConsoleReportPrinter..cctor () <0x00083>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0x00049>
  at Mono.CSharp.Driver.Main (string[]) <0xffffffff>
  at Mono.CSharp.Driver.Main (string[]) <0x0005c>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0x00054>

Native stacktrace:

    /root/mono/mono/mini/mono [0x489b9b]
    /root/mono/mono/mini/mono [0x4d175d]
    /lib/libpthread.so.0 [0x2a960557d0]
    /root/mono/mono/mini/mono(mono_gc_wbarrier_value_copy+0x23) [0x56a573]
    [0x400142d1]

Debug info from gdb:


=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

/bin/sh: line 1:  7662 Aborted                 MONO_PATH="./../../class/lib/net_2_0:$MONO_PATH" /root/mono/runtime/mono-wrapper ./../../mcs/gmcs.exe /codepage:65001 -optimize -d:NET_1_1 -d:NET_2_0 -debug /noconfig -nowarn:618 -d:CONFIGURATION_2_0 -unsafe -resource:resources/Asterisk.wav -resource:resources/Beep.wav -resource:resources/Exclamation.wav -resource:resources/Hand.wav -resource:resources/Question.wav -r:PrebuiltSystem=../lib/net_2_0/System.dll -d:XML_DEP -r:System.Xml.dll -target:library -out:../../class/lib/net_2_0/tmp/System.dll @System.dll.sources

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20091110/d5caefcb/attachment-0001.html 


More information about the Mono-devel-list mailing list