[Mono-dev] Mono 2.8 nonfunctional on MIPS

Zoltan Varga vargaz at gmail.com
Tue Oct 12 09:18:26 EDT 2010


Hi,

  MIPS is still not a supported mono architecture, somebody from the
community needs to step up and fix it/maintain it.

                Zoltan

On Tue, Oct 12, 2010 at 1:43 PM, Jo Shields <directhex at apebox.org> wrote:

> I've tried to build/run Mono on MIPS, so we can add to the list of
> architectures supported in Debian. Sadly, whilst Mono builds, the build
> is bad and fails to build any of the classlib:
>
> make[7]: Entering directory `/home/directhex/mono-2.8/mcs'
> make[8]: Entering directory `/home/directhex/mono-2.8/mcs'
> build/common/basic-profile-check.cs(6,21): error CS0584: Internal
> compiler error: Object reference not set to an instance of an object
> build/common/basic-profile-check.cs(6,21): error CS0201: Only
> assignment, call, increment, decrement, and new object expressions can
> be used as a statement
> Stacktrace:
>
>  at Mono.CSharp.ImportedMemberDefinition/AttributesBag.Read
> (System.Reflection.MemberInfo) <0xffffffff>
>  at Mono.CSharp.ImportedMemberDefinition/AttributesBag.Read
> (System.Reflection.MemberInfo) <0x007b0>
>  at Mono.CSharp.ImportedMemberDefinition.ReadAttributes () <0x00024>
>  at Mono.CSharp.ImportedMemberDefinition.GetAttributeObsolete ()
> <0x00030>
>  at Mono.CSharp.MemberSpec.GetAttributeObsolete () <0x00060>
>  at Mono.CSharp.Expression.ResolveAsTypeTerminal
> (Mono.CSharp.IMemberContext,bool) <0x002d8>
>  at Mono.CSharp.TypeOf.DoResolve (Mono.CSharp.ResolveContext) <0x00044>
>  at Mono.CSharp.Expression.Resolve
> (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x0005c>
>  at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext)
> <0x0002c>
> at Mono.CSharp.Assign.DoResolve (Mono.CSharp.ResolveContext) <0x00050>
>  at Mono.CSharp.SimpleAssign.DoResolve (Mono.CSharp.ResolveContext)
> <0x00034>
>  at Mono.CSharp.Expression.Resolve
> (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x0005c>
>  at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext)
> <0x0002c>
>  at Mono.CSharp.ExpressionStatement.ResolveStatement
> (Mono.CSharp.BlockContext) <0x00030>
>  at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.BlockContext)
> <0x00034>
>  at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext) <0x004d4>
>  at Mono.CSharp.ToplevelBlock.Resolve
> (Mono.CSharp.FlowBranching,Mono.CSharp.BlockContext,Mono.CSharp.ParametersCompiled,Mono.CSharp.IMethodData)
> <0x0013c>
>  at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace) <0x002c4>
>  at Mono.CSharp.MethodOrOperator.Emit () <0x00540>
>  at Mono.CSharp.Method.Emit () <0x003cc>
>  at Mono.CSharp.TypeContainer.EmitType () <0x007c0>
>  at Mono.CSharp.RootContext.EmitCode () <0x001a4>
>  at Mono.CSharp.Driver.Compile () <0x009a8>
>  at Mono.CSharp.Driver.Main (string[]) <0x00120>
>  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object
> (object,intptr,intptr,intptr) <0xffffffff>
> Aborted
> make[8]: *** [build/deps/basic-profile-check.exe] Error 134
> make[8]: Leaving directory `/home/directhex/mono-2.8/mcs'
> make[8]: Entering directory `/home/directhex/mono-2.8/mcs'
> *** The contents of your 'monolite' directory may be out-of-date
> *** You may want to try 'make get-monolite-latest'
> make[8]: *** [do-profile-check-monolite] Error 1
> make[8]: Leaving directory `/home/directhex/mono-2.8/mcs'
> make[7]: *** [do-profile-check] Error 2
> make[7]: Leaving directory `/home/directhex/mono-2.8/mcs'
> make[6]: *** [do-profile-check-monolite] Error 2
> make[6]: Leaving directory `/home/directhex/mono-2.8/mcs'
> make[5]: *** [do-profile-check] Error 2
> make[5]: Leaving directory `/home/directhex/mono-2.8/mcs'
> make[4]: *** [profile-do--basic--all] Error 2
> make[4]: Leaving directory `/home/directhex/mono-2.8/mcs'
> make[3]: *** [profiles-do--all] Error 2
> make[3]: Leaving directory `/home/directhex/mono-2.8/mcs'
> make[2]: *** [all-local] Error 2
> make[2]: Leaving directory `/home/directhex/mono-2.8/runtime'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/directhex/mono-2.8'
> make: *** [all] Error 2
>
>
>
> The build machine in question turns up the following in /proc/cpuinfo:
> system type             : CUST_WSX16 (CN3860p3.X-500-EXP)
> processor               : 0
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1001.60
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
> processor               : 1
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1000.91
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
> processor               : 2
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1000.89
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
> processor               : 3
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1000.90
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
> processor               : 4
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1000.89
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
> processor               : 5
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1000.89
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
> processor               : 6
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1000.89
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
> processor               : 7
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1000.90
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
> processor               : 8
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1000.89
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
> processor               : 9
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1000.89
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
> processor               : 10
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1000.90
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
> processor               : 11
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1000.88
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
> processor               : 12
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1000.89
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
> processor               : 13
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1000.89
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
> processor               : 14
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1000.90
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
> processor               : 15
> cpu model               : Cavium Octeon V0.3
> BogoMIPS                : 1000.90
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 32
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
> ASEs implemented        :
> shadow register sets    : 1
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available
>
>
>
>
> Any bright ideas?
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20101012/66e22940/attachment-0001.html 


More information about the Mono-devel-list mailing list