[Mono-dev] How can I build mono-2.6 under Centos5 / RHEL5?
Kirby Zhou
kirbyzhou at gmail.com
Thu Jan 14 03:19:51 EST 2010
mono-2.4.3 is also failed.
make[8]: Entering directory
`/root/extrpms/mono24/BUILD/mono-2.4.3/mcs/class/corlib'
MCS [net_1_1] mscorlib.dll
System.Reflection/Assembly.cs(454,56): warning CS0168: The variable `ex' is
declared but never used
System.Reflection/Assembly.cs(481,56): warning CS0168: The variable `ex' is
declared but never used
System/AppDomain.cs(67,24): warning CS0169: The private field
`System.AppDomain._mono_app_domain' is never used
System/Environment.cs(561,44): warning CS0169: The private method
`System.Environment.internalBroadcastSettingChange()' is never used
System/Variant.cs(268,24): warning CS0169: The private field
`System.BRECORD.pvRecord' is never used
System/Variant.cs(269,24): warning CS0169: The private field
`System.BRECORD.pRecInfo' is never used
System.Diagnostics/StackFrame.cs(59,32): warning CS0649: Field
`System.Diagnostics.StackFrame.internalMethodName' is never assigned to, and
will always have its default value `null'
System.Globalization/RegionInfo.cs(71,24): warning CS0169: The private field
`System.Globalization.RegionInfo.currencyEnglishName' is never used
System.Reflection.Emit/ILGenerator.cs(67,21): warning CS0169: The private
field `System.Reflection.Emit.ILExceptionInfo.len' is assigned but its value
is never used
System.Reflection.Emit/SignatureHelper.cs(61,34): warning CS0649: Field
`System.Reflection.Emit.SignatureHelper.modreqs' is never as
signed to, and will always have its default value `null'
System.Reflection.Emit/SignatureHelper.cs(62,34): warning CS0649: Field
`System.Reflection.Emit.SignatureHelper.modopts' is never assigned to, and
will always have its default value `null'
System.Runtime.Remoting.Channels/CrossAppDomainChannel.cs(53,32): warning
CS0169: The private field
`System.Runtime.Remoting.Channels.CrossAppDomainData._ContextID' is assigned
but its value is never used
System.Runtime.Remoting.Contexts/Context.cs(69,22): warning CS0649: Field
`System.Runtime.Remoting.Contexts.Context.frozen' is never assigned to, and
will always have its default value `false'
System.Runtime.Remoting.Messaging/AsyncResult.cs(60,22): warning CS0169: The
private field `System.Runtime.Remoting.Messaging.AsyncResult.message_ctrl'
is assigned but its value is never used
System.Runtime.Remoting.Messaging/ReturnMessage.cs(47,21): warning CS0169:
The private field
`System.Runtime.Remoting.Messaging.ReturnMessage._outArgsCount' is assigned
but its value is never used
Compilation succeeded - 15 warning(s)
Assembly mscorlib.dll signed.
AOT [net_1_1] mscorlib.dll
/bin/sh: line 1: 25887 Aborted
MONO_PATH=./../../class/lib/net_1_1/
/root/extrpms/mono24/BUILD/mono-2.4.3/runtime/mono-wrapper
--aot=bind-to-runtime-version ../../class/lib/net_1_1/mscorlib.dll >
net_1_1_aot.log 2>&1
make[8]: *** [../../class/lib/net_1_1/mscorlib.dll] Error 134
[root at xen-727057^10.227 mono24]# cat
./BUILD/mono-2.4.3/mcs/class/corlib/net_1_1_aot.log
** ERROR **: file aot-compiler.c: line 3058 (emit_and_reloc_code): assertion
failed: (code [i] == 0xe8)
aborting...
Mono Ahead of Time compiler - compiling assembly
/root/extrpms/mono24/BUILD/mono-2.4.3/mcs/class/lib/net_1_1/mscorlib.dll
Stacktrace:
Native stacktrace:
/root/extrpms/mono24/BUILD/mono-2.4.3/mono/mini/mono [0x47fd13]
/lib64/libpthread.so.0 [0x3b5440e7c0]
/lib64/libc.so.6(gsignal+0x35) [0x3b53830265]
/lib64/libc.so.6(abort+0x110) [0x3b53831d10]
/lib64/libglib-2.0.so.0(g_log+0) [0x3b55834eb0]
/lib64/libglib-2.0.so.0(g_log+0x83) [0x3b55834f33]
/lib64/libglib-2.0.so.0(g_assert_warning+0x76) [0x3b55834fb6]
/root/extrpms/mono24/BUILD/mono-2.4.3/mono/mini/mono [0x46dfe4]
/root/extrpms/mono24/BUILD/mono-2.4.3/mono/mini/mono [0x46e132]
/root/extrpms/mono24/BUILD/mono-2.4.3/mono/mini/mono [0x4757b9]
/root/extrpms/mono24/BUILD/mono-2.4.3/mono/mini/mono(mono_main+0x13ea)
[0x4669ba]
/lib64/libc.so.6(__libc_start_main+0xf4) [0x3b5381d994]
/root/extrpms/mono24/BUILD/mono-2.4.3/mono/mini/mono(realloc+0x3b9)
[0x414e29]
Debug info from gdb:
[Thread debugging using libthread_db enabled]
[New Thread 0x2b3241ae2d40 (LWP 25887)]
[New Thread 0x40e32940 (LWP 25898)]
[New Thread 0x40f33940 (LWP 25897)]
0x0000003b5440d5cb in read () from /lib64/libpthread.so.0
3 Thread 0x40f33940 (LWP 25897) 0x0000003b5440de71 in nanosleep () from
/lib64/libpthread.so.0
2 Thread 0x40e32940 (LWP 25898) 0x0000003b5440c9b1 in sem_wait () from
/lib64/libpthread.so.0
* 1 Thread 0x2b3241ae2d40 (LWP 25887) 0x0000003b5440d5cb in read () from
/lib64/libpthread.so.0
Thread 3 (Thread 0x40f33940 (LWP 25897)):
#0 0x0000003b5440de71 in nanosleep () from /lib64/libpthread.so.0
#1 0x000000000056166f in collection_thread (unused=<value optimized out>)
at collection.c:34
#2 0x0000003b544064a7 in start_thread () from /lib64/libpthread.so.0
#3 0x0000003b538d3c2d in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x40e32940 (LWP 25898)):
#0 0x0000003b5440c9b1 in sem_wait () from /lib64/libpthread.so.0
#1 0x00000000004c86e8 in finalizer_thread (unused=<value optimized out>) at
gc.c:1069
#2 0x00000000004cc5ca in start_wrapper (data=<value optimized out>) at
threads.c:633
#3 0x000000000055177f in thread_start_routine (args=0x6a843d0) at
threads.c:286
#4 0x000000000057a45e in GC_start_routine (arg=<value optimized out>) at
pthread_support.c:1382
#5 0x0000003b544064a7 in start_thread () from /lib64/libpthread.so.0
#6 0x0000003b538d3c2d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x2b3241ae2d40 (LWP 25887)):
#0 0x0000003b5440d5cb in read () from /lib64/libpthread.so.0
#1 0x000000000047fea7 in mono_handle_native_sigsegv (signal=<value
optimized out>, ctx=<value optimized out>)
at /usr/include/bits/unistd.h:35
#2 <signal handler called>
#3 0x0000003b53830265 in raise () from /lib64/libc.so.6
#4 0x0000003b53831d10 in abort () from /lib64/libc.so.6
#5 0x0000003b55834eb0 in g_logv () from /lib64/libglib-2.0.so.0
#6 0x0000003b55834f33 in g_log () from /lib64/libglib-2.0.so.0
#7 0x0000003b55834fb6 in g_assert_warning () from /lib64/libglib-2.0.so.0
#8 0x000000000046dfe4 in emit_and_reloc_code (acfg=0x6aa8000,
method=0x6aa72a0,
code=0x41b4b170 "H\203?L\211,$L\211t$\bL\211|$\020L\213鱈\213﨟荄$\030",
code_len=264, relocs=<value optimized out>,
got_only=0) at aot-compiler.c:3058
#9 0x000000000046e132 in emit_code (acfg=0x6aa8000) at aot-compiler.c:3164
#10 0x00000000004757b9 in mono_compile_assembly (ass=<value optimized out>,
opts=<value optimized out>,
aot_options=0x3481 <Address 0x3481 out of bounds>) at
aot-compiler.c:6105
#11 0x00000000004669ba in mono_main (argc=5, argv=<value optimized out>) at
driver.c:952
#12 0x0000003b5381d994 in __libc_start_main () from /lib64/libc.so.6
#13 0x0000000000414e29 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.
=================================================================
--
View this message in context: http://old.nabble.com/How-can-I-build-mono-2.6-under-Centos5---RHEL5--tp27143162p27157740.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list