[Mono-dev] Can't compile mono 2.8 for ARM Linux 2.6.24

J.P. mailing at mono.developer.kr
Fri Jan 14 00:15:14 EST 2011


I cannot compile current mono in git.

See below.

AOT [basic] mscorlib.dll.so
/bin/sh: line 1:  3231 Aborted
MONO_PATH='./../../class/lib/basic/'
/skcomms/src/mono/git/mono/runtime/mono-wrapper
--aot=bind-to-runtime-version --debug ./../../class/lib/basic//mscorlib.dll
> basic_aot.log 2>&1
/skcomms/src/mono/git/mono/libtool: line 6823: LC_CTYPE: command not found
/skcomms/src/mono/git/mono/libtool: line 6823: LC_COLLATE: command not found
/skcomms/src/mono/git/mono/libtool: line 6823: LC_MESSAGES: command not
found
Mono Ahead of Time compiler - compiling assembly
/skcomms/src/mono/git/mono/mcs/class/lib/basic/mscorlib.dll
* Assertion: should not be reached at boehm-gc.c:1150

Stacktrace:


Native stacktrace:

/skcomms/src/mono/git/mono/mono/mini/mono [0x4a831d]
/lib64/libpthread.so.0 [0x38b300e7c0]
 /lib64/libc.so.6(gsignal+0x35) [0x38b2430265]
/lib64/libc.so.6(abort+0x110) [0x38b2431d10]
 /skcomms/src/mono/git/mono/mono/mini/mono [0x5ee032]
/skcomms/src/mono/git/mono/mono/mini/mono [0x5ee20a]
 /skcomms/src/mono/git/mono/mono/mini/mono [0x5bd3ea]
/skcomms/src/mono/git/mono/mono/mini/mono [0x4c5ac1]
 /skcomms/src/mono/git/mono/mono/mini/mono [0x4c6d91]
/skcomms/src/mono/git/mono/mono/mini/mono [0x42cdcd]
 /skcomms/src/mono/git/mono/mono/mini/mono [0x489cbc]
/skcomms/src/mono/git/mono/mono/mini/mono [0x493be8]
 /skcomms/src/mono/git/mono/mono/mini/mono(mono_main+0x1449) [0x4845a9]
/lib64/libc.so.6(__libc_start_main+0xf4) [0x38b241d994]
 /skcomms/src/mono/git/mono/mono/mini/mono(realloc+0x389) [0x423c09]

Debug info from gdb:

[Thread debugging using libthread_db enabled]
[New Thread 0x2ad55d083910 (LWP 3231)]
[New Thread 0x44c1b940 (LWP 3310)]
[New Thread 0x44a07940 (LWP 3309)]
[New Thread 0x44006940 (LWP 3307)]
[New Thread 0x43605940 (LWP 3306)]
[New Thread 0x42c04940 (LWP 3305)]
[New Thread 0x42203940 (LWP 3304)]
[New Thread 0x41802940 (LWP 3303)]
[New Thread 0x40cb1940 (LWP 3302)]
0x00000038b300d5cb in read () from /lib64/libpthread.so.0
  9 Thread 0x40cb1940 (LWP 3302)  0x00000038b300ab99 in
pthread_cond_wait@@GLIBC_2.3.2
() from /lib64/libpthread.so.0
  8 Thread 0x41802940 (LWP 3303)  0x00000038b300ab99 in
pthread_cond_wait@@GLIBC_2.3.2
() from /lib64/libpthread.so.0
  7 Thread 0x42203940 (LWP 3304)  0x00000038b300ab99 in
pthread_cond_wait@@GLIBC_2.3.2
() from /lib64/libpthread.so.0
  6 Thread 0x42c04940 (LWP 3305)  0x00000038b300ab99 in
pthread_cond_wait@@GLIBC_2.3.2
() from /lib64/libpthread.so.0
  5 Thread 0x43605940 (LWP 3306)  0x00000038b300ab99 in
pthread_cond_wait@@GLIBC_2.3.2
() from /lib64/libpthread.so.0
  4 Thread 0x44006940 (LWP 3307)  0x00000038b300ab99 in
pthread_cond_wait@@GLIBC_2.3.2
() from /lib64/libpthread.so.0
  3 Thread 0x44a07940 (LWP 3309)  0x00000038b300ab99 in
pthread_cond_wait@@GLIBC_2.3.2
() from /lib64/libpthread.so.0
  2 Thread 0x44c1b940 (LWP 3310)  0x00000038b300c9b1 in sem_wait () from
/lib64/libpthread.so.0
* 1 Thread 0x2ad55d083910 (LWP 3231)  0x00000038b300d5cb in read () from
/lib64/libpthread.so.0

Thread 9 (Thread 0x40cb1940 (LWP 3302)):
#0  0x00000038b300ab99 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x0000000000604c0a in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005f8b71 in GC_help_marker (my_mark_no=1) at mark.c:1116
#3  0x0000000000603a02 in GC_mark_thread (id=0x0) at pthread_support.c:552
#4  0x00000038b30064a7 in start_thread () from /lib64/libpthread.so.0
#5  0x00000038b24d3c2d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x41802940 (LWP 3303)):
#0  0x00000038b300ab99 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x0000000000604c0a in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005f8b71 in GC_help_marker (my_mark_no=1) at mark.c:1116
#3  0x0000000000603a02 in GC_mark_thread (id=0x1) at pthread_support.c:552
#4  0x00000038b30064a7 in start_thread () from /lib64/libpthread.so.0
#5  0x00000038b24d3c2d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x42203940 (LWP 3304)):
#0  0x00000038b300ab99 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x0000000000604c0a in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005f8b71 in GC_help_marker (my_mark_no=1) at mark.c:1116
#3  0x0000000000603a02 in GC_mark_thread (id=0x2) at pthread_support.c:552
#4  0x00000038b30064a7 in start_thread () from /lib64/libpthread.so.0
#5  0x00000038b24d3c2d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x42c04940 (LWP 3305)):
#0  0x00000038b300ab99 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x0000000000604c0a in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005f8b71 in GC_help_marker (my_mark_no=1) at mark.c:1116
#3  0x0000000000603a02 in GC_mark_thread (id=0x3) at pthread_support.c:552
#4  0x00000038b30064a7 in start_thread () from /lib64/libpthread.so.0
#5  0x00000038b24d3c2d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x43605940 (LWP 3306)):
#0  0x00000038b300ab99 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x0000000000604c0a in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005f8b71 in GC_help_marker (my_mark_no=1) at mark.c:1116
#3  0x0000000000603a02 in GC_mark_thread (id=0x4) at pthread_support.c:552
#4  0x00000038b30064a7 in start_thread () from /lib64/libpthread.so.0
#5  0x00000038b24d3c2d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x44006940 (LWP 3307)):
#0  0x00000038b300ab99 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x0000000000604c0a in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005f8b71 in GC_help_marker (my_mark_no=1) at mark.c:1116
#3  0x0000000000603a02 in GC_mark_thread (id=0x5) at pthread_support.c:552
#4  0x00000038b30064a7 in start_thread () from /lib64/libpthread.so.0
#5  0x00000038b24d3c2d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x44a07940 (LWP 3309)):
#0  0x00000038b300ab99 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x0000000000604c0a in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005f8b71 in GC_help_marker (my_mark_no=1) at mark.c:1116
#3  0x0000000000603a02 in GC_mark_thread (id=0x6) at pthread_support.c:552
#4  0x00000038b30064a7 in start_thread () from /lib64/libpthread.so.0
#5  0x00000038b24d3c2d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x44c1b940 (LWP 3310)):
#0  0x00000038b300c9b1 in sem_wait () from /lib64/libpthread.so.0
#1  0x00000000005e3058 in mono_sem_wait (sem=0x13c5940, alertable=0) at
mono-semaphore.c:113
#2  0x000000000053d688 in finalizer_thread (unused=<value optimized out>) at
gc.c:1058
#3  0x0000000000519085 in start_wrapper (data=<value optimized out>) at
threads.c:774
#4  0x00000000005d9d83 in thread_start_routine (args=0x1a83a310) at
wthreads.c:285
#5  0x000000000060489d in GC_start_routine (arg=0x2aaaaab82fc0) at
pthread_support.c:1468
#6  0x00000038b30064a7 in start_thread () from /lib64/libpthread.so.0
#7  0x00000038b24d3c2d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x2ad55d083910 (LWP 3231)):
#0  0x00000038b300d5cb in read () from /lib64/libpthread.so.0
#1  0x00000000004a841c in mono_handle_native_sigsegv (signal=<value
optimized out>, ctx=<value optimized out>)
    at mini-exceptions.c:2119
#2  <signal handler called>
#3  0x00000038b2430265 in raise () from /lib64/libc.so.6
#4  0x00000038b2431d10 in abort () from /lib64/libc.so.6
#5  0x00000000005ee032 in monoeg_g_logv (log_domain=0x0,
log_level=G_LOG_LEVEL_ERROR,
    format=0xdb02a0 "* Assertion: should not be reached at %s:%d\n",
args=0x7fff23a88840) at goutput.c:134
#6  0x00000000005ee20a in monoeg_assertion_message (format=0xdb02a0 "*
Assertion: should not be reached at %s:%d\n")
    at goutput.c:154
#7  0x00000000005bd3ea in mono_gc_get_bitmap_for_descr (descr=<value
optimized out>, numbits=<value optimized out>)
    at boehm-gc.c:1150
#8  0x00000000004c5ac1 in process_variables (cfg=0x1ad9d250) at
mini-gc.c:1566
#9  0x00000000004c6d91 in mini_gc_create_gc_map (cfg=0x1ad9d250) at
mini-gc.c:2282
#10 0x000000000042cdcd in mini_method_compile (method=0x1a852d38,
opts=51472895, domain=0x2aaaaab6fd48,
    run_cctors=<value optimized out>, compile_aot=<value optimized out>,
parts=0) at mini.c:4852
#11 0x0000000000489cbc in compile_method (acfg=0x1a84ffa0,
method=0x1a852d38) at aot-compiler.c:4779
#12 0x0000000000493be8 in mono_compile_assembly (ass=<value optimized out>,
opts=<value optimized out>,
    aot_options=<value optimized out>) at aot-compiler.c:6554
#13 0x00000000004845a9 in mono_main (argc=6, argv=<value optimized out>) at
driver.c:983
#14 0x00000038b241d994 in __libc_start_main () from /lib64/libc.so.6
#15 0x0000000000423c09 in _start ()

=================================================================
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.
=================================================================

make[8]: *** [../../class/lib/basic//mscorlib.dll.so] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110114/e1243d07/attachment-0001.html 


More information about the Mono-devel-list mailing list