[Mono-dev] svn build problems

James Fitzsimons james.fitzsimons at gmail.com
Fri Aug 10 03:38:45 EDT 2007

Hi all,

Sorry to bug the list with this, but I am having problems building the
mono from svn. I need the get an uptodate build as I am trying to get
Spring.Net running and it depends on some recent bug fixes in Mono.

I building in an Ubuntu feisty VM and the error I am getting while
running make is below.

Any assistance would be greatly appreciated!
Thanks and regards,
James Fitzsimons

make[8]: Entering directory `/home/ubuntu/mcs/class/System'
** Warning: System.dll built without parts that depend on:
$MONO_PATH" /home/ubuntu/mono/runtime/mono-wrapper  ../../class/lib/basic/mcs.exe /codepage:65001   -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB -debug /noconfig  -target:library -out:System.dll  @System.dll.sources

** ERROR **: Method 'System.Text.Encoding:InternalCodePage (int&)' in
assembly '/home/ubuntu/mcs/class/lib/basic/mscorlib.dll' contains native
code and mono can't run it. The assembly was probably created by Managed


  at System.Console..cctor () <0xffffffff>
  at System.Console..cctor () <0x00091>
  at (wrapper runtime-invoke)
(object,intptr,intptr,intptr) <0xffffffff>
  at Mono.CSharp.Report..cctor () <0xffffffff>
  at Mono.CSharp.Report..cctor () <0x00009>
  at (wrapper runtime-invoke) Mono.CSharp.Driver.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        /home/ubuntu/mono/mono/mini/mono [0x815cf2e]
        /lib/tls/i686/cmov/libc.so.6(abort+0x101) [0x40139641]
        /usr/lib/libglib-2.0.so.0(g_logv+0x4ca) [0x4006c70a]
        /usr/lib/libglib-2.0.so.0(g_log+0x29) [0x4006c749]
        /home/ubuntu/mono/mono/mini/mono [0x8149f79]
        /home/ubuntu/mono/mono/mini/mono [0x807eb3a]
        /home/ubuntu/mono/mono/mini/mono [0x814a335]
        /home/ubuntu/mono/mono/mini/mono [0x807eb3a]
        /home/ubuntu/mono/mono/mini/mono [0x813e50e]
        /home/ubuntu/mono/mono/mini/mono [0x814877d]
        /home/ubuntu/mono/mono/mini/mono [0x814a10e]
        /home/ubuntu/mono/mono/mini/mono [0x814a7c1]
        /home/ubuntu/mono/mono/mini/mono(mono_main+0xeca) [0x805ae7a]
        /home/ubuntu/mono/mono/mini/mono [0x8059aa2]
        /home/ubuntu/mono/mono/mini/mono [0x80599f1]

Debug info from gdb:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1076165344 (LWP 11187)]
[New Thread 1087363984 (LWP 11252)]
[New Thread 1080449936 (LWP 11251)]
0xffffe410 in __kernel_vsyscall ()
  3 Thread 1080449936 (LWP 11251)  0xffffe410 in __kernel_vsyscall ()
  2 Thread 1087363984 (LWP 11252)  0xffffe410 in __kernel_vsyscall ()
  1 Thread 1076165344 (LWP 11187)  0xffffe410 in __kernel_vsyscall ()

Thread 3 (Thread 1080449936 (LWP 11251)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x400dc986 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08107b71 in collection_thread (unused=0x0) at collection.c:34
#3  0x400d531b in start_thread ()
from /lib/tls/i686/cmov/libpthread.so.0
#4  0x401dd57e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 1087363984 (LWP 11252)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x400d95c6 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0810d51f in timedwait_signal_poll_cond (cond=0x406bd1dc, 
    mutex=0x406bd1c4, timeout=0x0, alertable=0) at handles.c:1443
#3  0x0810ffbf in _wapi_handle_timedwait_signal_handle (handle=0x404, 
    timeout=0x0, alertable=0) at handles.c:1523
#4  0x0811003c in _wapi_handle_wait_signal_handle (handle=0x404,
    at handles.c:1483
#5  0x0810733f in WaitForSingleObjectEx (handle=0x404,
    alertable=0) at wait.c:200
#6  0x080e4a5a in finalizer_thread (unused=0x0) at gc.c:835
#7  0x080dd7f4 in start_wrapper (data=0x824ef98) at threads.c:513
#8  0x0810a2f2 in thread_start_routine (args=0x4070f768) at
#9  0x08121a95 in GC_start_routine (arg=0x22f40) at
#10 0x400d531b in start_thread ()
from /lib/tls/i686/cmov/libpthread.so.0
#11 0x401dd57e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 1076165344 (LWP 11187)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x401d63d1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x4008f4a0 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#3  0x4008f86c in g_spawn_command_line_sync ()
from /usr/lib/libglib-2.0.so.0
#4  0x0815cfc9 in mono_handle_native_sigsegv (signal=6, ctx=0xbfd54dcc)
    at mini-exceptions.c:1072
#5  <signal handler called>
#6  0xffffe410 in __kernel_vsyscall ()
#7  0x40137df0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0x40139641 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0x4006c70a in g_logv () from /usr/lib/libglib-2.0.so.0
#10 0x4006c749 in g_log () from /usr/lib/libglib-2.0.so.0
#11 0x08149f79 in mono_jit_compile_method (method=0x825efcc) at
#12 0x0807eb3a in mono_magic_trampoline (regs=0xbfd55784, 
    code=0x40bd1cb1 "Y\203}��t.\213E�%���\017=\003", m=0x825efcc,
    at mini-trampolines.c:71
#13 0x4037803e in ?? ()
#14 0xbfd55784 in ?? ()
#15 0x40bd1cb1 in ?? ()
#16 0x0825efcc in ?? ()
#17 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()

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

Aborted (core dumped)
make[8]: *** [../../class/lib/basic/System.dll] Error 134
make[8]: Leaving directory `/home/ubuntu/mcs/class/System'
make[7]: *** [do-all] Error 2
make[7]: Leaving directory `/home/ubuntu/mcs/class/System'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/ubuntu/mcs/class'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/ubuntu/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/home/ubuntu/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/home/ubuntu/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/home/ubuntu/mono/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/mono'
make: *** [all] Error 2
ubuntu at ubuntu:~/mono$ 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070810/5f3255e1/attachment.bin 

More information about the Mono-devel-list mailing list