[Mono-dev] one more FreeBSD/amd64 build error

Zoltan Varga vargaz at gmail.com
Fri Nov 21 07:47:06 EST 2008


Hi,

  That problem is now fixed. *BSD was never a supported mono platform,
as we lack the
knowledge/resources to support it.

                Zoltan

2008/11/21 Atsushi Eno <atsushi at ximian.com>:
> Hello,
>
> Since there is no fix so far on this issue, and it fundamentally blocks
> all BSD/amd64 users from building mono, we should just either remove AOT
> from those build targets or explicitly write on our web site that
> BSD/amd64 is not supported, to prevent further bug reports.
> Which would be better?
>
> Atsushi Eno
>
>
> Atsushi Eno wrote:
>> Hola,
>>
>> Thanks for the previous fix, Zoltan.
>>
>> Here's another FreeBSD/amd64 build error report (forwarded):
>>
>> gmake[6]: Entering directory `/local/home/ksmakoto/Mono/mcs/class'
>> gmake[7]: Entering directory `/local/home/ksmakoto/Mono/mcs/class/corlib'
>> Creating ../../build/deps/corlib_test_net_1_1.dll.response ...
>> Creating ../../build/deps/corlib_test_net_1_1.dll.makefrag ...
>> Creating ../../build/deps/net_1_1_corlib.dll.makefrag ...
>> gmake[7]: Leaving directory `/local/home/ksmakoto/Mono/mcs/class/corlib'
>> gmake[7]: Entering directory `/local/home/ksmakoto/Mono/mcs/class/corlib'
>> gmake all-local
>> gmake[8]: Entering directory `/local/home/ksmakoto/Mono/mcs/class/corlib'
>> MCS     [net_1_1] mscorlib.dll
>> System/AppDomain.cs(67,24): warning CS0169: The private field
>> `System.AppDomain._mono_app_domain' is never used
>> System/Variant.cs(243,24): warning CS0169: The private field
>> `System.BRECORD.pvRecord' is never used
>> System/Variant.cs(244,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 assigned 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.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 - 11 warning(s)
>> Assembly mscorlib.dll signed.
>> AOT [net_1_1] mscorlib.dll
>> Abort trap (core dumped)
>> gmake[8]: *** [../../class/lib/net_1_1/mscorlib.dll] Error 134
>> gmake[8]: Leaving directory `/local/home/ksmakoto/Mono/mcs/class/corlib'
>> gmake[7]: *** [do-all] Error 2
>> gmake[7]: Leaving directory `/local/home/ksmakoto/Mono/mcs/class/corlib'
>> gmake[6]: *** [all-recursive] Error 1
>> gmake[6]: Leaving directory `/local/home/ksmakoto/Mono/mcs/class'
>>
>>
>> output from gdb:
>>
>>
>> [~/Mono/mono]$ gdb mono/mini/mono ../mcs/class/corlib/mono.core
>> ..(略)...
>> (gdb) bt
>> #0  0x00000008011ca7dc in thr_kill () from /lib/libc.so.7
>> #1  0x000000080125952b in abort () from /lib/libc.so.7
>> #2  0x000000000047c53d in mono_handle_native_sigsegv (signal=Variable
>> "signal" is not available.
>> ) at mini-exceptions.c:1477
>> #3  <signal handler called>
>> #4  0x00000008011ca7dc in thr_kill () from /lib/libc.so.7
>> #5  0x000000080125952b in abort () from /lib/libc.so.7
>> #6  0x00000008009ba0a4 in g_assertion_message () from
>> /usr/local/lib/libglib-2.0.so.0
>> #7  0x00000008009ba532 in g_assertion_message_expr () from
>> /usr/local/lib/libglib-2.0.so.0
>> #8  0x000000000046b257 in emit_and_reloc_code (acfg=0x858c00,
>> method=0x8b6850,
>>     code=0x80076e190
>> "H\203(L\211,$L\211t$\bL\211|$\020L\213L\213HD$\030", code_len=264,
>> relocs=0x1, got_only=0)
>>     at aot-compiler.c:2760
>> #9  0x000000000046b386 in emit_code (acfg=0x858c00) at aot-compiler.c:2868
>> #10 0x0000000000472a93 in mono_compile_assembly (ass=Variable "ass" is
>> not available.
>> ) at aot-compiler.c:5251
>> #11 0x000000000046606c in mono_main (argc=5, argv=Variable "argv" is not
>> available.
>> ) at driver.c:947
>> #12 0x00000000004150ce in _start ()
>> ..(snip)...
>>
>>
>> There's a workaround:
>>
>>
>> $ svn diff configure.in
>> Index: configure.in
>> ===================================================================
>> --- configure.in        (revision 118982)
>> +++ configure.in        (working copy)
>> @@ -2389,9 +2389,9 @@
>>      echo "MONO_VERSION = $myver" >> $srcdir/$mcsdir/build/config.make
>>    fi
>>
>> -  if test x$TARGET = xAMD64 -a x$platform_win32 = xno; then
>> -        echo "ENABLE_AOT = 1" >> $srcdir/$mcsdir/build/config.make
>> -  fi
>> +#  if test x$TARGET = xAMD64 -a x$platform_win32 = xno; then
>> +#       echo "ENABLE_AOT = 1" >> $srcdir/$mcsdir/build/config.make
>> +#  fi
>>
>>    # if we have an olive folder, override the default settings
>>    if test -d $olivedir; then
>>
>> Atsushi Eno
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>


More information about the Mono-devel-list mailing list