Hi again
Trying to build IR on Mono 2.6.3 on my Macbook (10.6.3). Followed basic
instructions and get it to start building but I’m running into the
following error on both CasualJim’s Linux branch as well as mainline
ironruby git:
21:56:18 zbrown@riemann: ~/Code/ironruby.git/Merlin/Main/Languages/Ruby
rake compile mono=1
(in /Users/zbrown/Code/ironruby.git/Merlin/Main/Languages/Ruby)
dlr_extension
dlr_core
Actions/CallSiteBinder.cs(169,18): warning CS0219: The variable
targetType' is assigned but its value is never used Actions/CallSite.cs(317,17): warning CS0168: The variable
site’ is
declared but never used
Ast/ExpressionStringBuilder.cs(165,28): warning CS0219: The variable
getIndex' is assigned but its value is never used Ast/ExpressionStringBuilder.cs(166,28): warning CS0219: The variable
setIndex’ is assigned but its value is never used
Ast/ExpressionStringBuilder.cs(167,31): warning CS0219: The variable
deleteIndex' is assigned but its value is never used Ast/ExpressionStringBuilder.cs(169,26): warning CS0219: The variable
invoke’ is assigned but its value is never used
Ast/ExpressionStringBuilder.cs(170,34): warning CS0219: The variable
create' is assigned but its value is never used Ast/DebugViewWriter.cs(232,28): warning CS0219: The variable
getIndex’
is assigned but its value is never used
Ast/DebugViewWriter.cs(233,28): warning CS0219: The variable setIndex' is assigned but its value is never used Ast/DebugViewWriter.cs(234,31): warning CS0219: The variable
deleteIndex’ is assigned but its value is never used
Ast/DebugViewWriter.cs(236,26): warning CS0219: The variable invoke' is assigned but its value is never used Ast/DebugViewWriter.cs(237,34): warning CS0219: The variable
create’ is
assigned but its value is never used
Ast/DebugViewWriter.cs(869,18): warning CS0219: The variable
parenthesize' is assigned but its value is never used Compiler/LambdaCompiler.Logical.cs(178,33): warning CS0219: The variable
p’ is assigned but its value is never used
Compiler/LambdaCompiler.Unary.cs(111,35): warning CS0219: The variable
`labIfNull’ is assigned but its value is never used
Compilation succeeded - 15 warning(s)
dlr_libs
dlr_com
Actions/ActionBinder.cs(131,18): warning CS0219: The variable visType' is assigned but its value is never used Actions/DefaultBinder.Conversions.cs(48,18): warning CS0219: The variable
knownType’ is assigned but its value is never used
Actions/DefaultBinder.GetMember.cs(215,26): warning CS0219: The variable
x' is assigned but its value is never used Actions/DefaultBinder.Invoke.cs(261,24): warning CS0219: The variable
instance’ is assigned but its value is never used
Interpreter/LightCompiler.cs(915,21): warning CS0219: The variable
handlerContinuationDepth' is assigned but its value is never used Interpreter/LightCompiler.cs(895,17): warning CS0219: The variable
tryStackDepth’ is assigned but its value is never used
Generation/ILGen.cs(1188,18): warning CS0219: The variable
isFromFloatingPoint' is assigned but its value is never used Generation/Snippets.cs(115,30): warning CS0219: The variable
coreAssemblyLocations’ is assigned but its value is never used
Runtime/DelegateInfo.cs(102,26): warning CS0219: The variable
convertSiteType' is assigned but its value is never used Runtime/DelegateInfo.cs(100,26): warning CS0219: The variable
siteType’
is assigned but its value is never used
Unhandled Exception: System.ArgumentException: The field handle and the
type handle are incompatible.
at System.Reflection.FieldInfo.GetFieldFromHandle (RuntimeFieldHandle
handle, RuntimeTypeHandle declaringType) [0x00000] in :0
at Mono.CSharp.AnonymousMethodStorey.MutateField
(System.Reflection.FieldInfo field) [0x00000] in :0
at Mono.CSharp.FieldExpr.MutateHoistedGenericType
(Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in :0
at Mono.CSharp.TypeCast.MutateHoistedGenericType
(Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in :0
at Mono.CSharp.Binary.MutateHoistedGenericType
(Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in :0
at Mono.CSharp.If.MutateHoistedGenericType
(Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in :0
at Mono.CSharp.Block.MutateHoistedGenericType
(Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in :0
at Mono.CSharp.AnonymousExpression+AnonymousMethodMethod.Emit ()
[0x00000] in :0
at Mono.CSharp.TypeContainer.EmitType () [0x00000] in :0
at Mono.CSharp.AnonymousMethodStorey.EmitType () [0x00000] in
:0
at Mono.CSharp.TypeContainer.EmitType () [0x00000] in :0
at Mono.CSharp.RootContext.EmitCode () [0x00000] in :0
at Mono.CSharp.Driver.Compile () [0x00000] in :0
at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in
:0
rake aborted!
Command failed with status (1): [gmcs /noconfig
@/var/folders/v1/v1QIwFBJFh…]
(See full trace by running task with --trace)
Thanks,
– Zac