[Ironruby-core] IronRuby + Mono 2.6.3

Ivan Porto Carrero ivan at cloudslide.net
Fri Apr 16 06:09:16 EDT 2010


I'm not sure which bug it is but there is a difference between using
ironruby and building ironruby on mono.
You should be able to use the ms.net binaries with mono  2.6.3

It's a compiler bug that had been closed once but regressed.
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
Microsoft IronRuby/C# MVP


On Thu, Apr 15, 2010 at 5:36 PM, Rodrigo Kumpera <kumpera at gmail.com> wrote:

> I rather have IronRuby working out of the 2.6 tree since there are going to
> be a few more 2.6 bugfix releases
> before 2.8 is out. Do you know what bugs from trunk needs to be backported?
>
>
> On Thu, Apr 8, 2010 at 2:22 AM, Ivan Porto Carrero <ivan at cloudslide.net>wrote:
>
>> you can't. you need mono trunk
>> ---
>> Met vriendelijke groeten - Best regards - Salutations
>> Ivan Porto Carrero
>> Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
>> Twitter: http://twitter.com/casualjim
>> Author of IronRuby in Action (http://manning.com/carrero)
>> Microsoft IronRuby/C# MVP
>>
>>
>>
>> On Thu, Apr 8, 2010 at 7:09 AM, Zachary Brown <zac at zacbrown.org> wrote:
>>
>>> 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 at 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 <filename unknown>:0
>>>  at Mono.CSharp.AnonymousMethodStorey.MutateField
>>> (System.Reflection.FieldInfo field) [0x00000] in <filename unknown>:0
>>>  at Mono.CSharp.FieldExpr.MutateHoistedGenericType
>>> (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0
>>>  at Mono.CSharp.TypeCast.MutateHoistedGenericType
>>> (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0
>>>  at Mono.CSharp.Binary.MutateHoistedGenericType
>>> (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0
>>>  at Mono.CSharp.If.MutateHoistedGenericType
>>> (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0
>>>  at Mono.CSharp.Block.MutateHoistedGenericType
>>> (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0
>>>  at Mono.CSharp.AnonymousExpression+AnonymousMethodMethod.Emit ()
>>> [0x00000] in <filename unknown>:0
>>>  at Mono.CSharp.TypeContainer.EmitType () [0x00000] in <filename
>>> unknown>:0
>>>  at Mono.CSharp.AnonymousMethodStorey.EmitType () [0x00000] in <filename
>>> unknown>:0
>>>  at Mono.CSharp.TypeContainer.EmitType () [0x00000] in <filename
>>> unknown>:0
>>>  at Mono.CSharp.RootContext.EmitCode () [0x00000] in <filename unknown>:0
>>>  at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0
>>>  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename
>>> unknown>:0
>>> rake aborted!
>>> Command failed with status (1): [gmcs /noconfig
>>> @/var/folders/v1/v1QIwFBJFh...]
>>>
>>> (See full trace by running task with --trace)
>>>
>>> Thanks,
>>>
>>> -- Zac
>>> _______________________________________________
>>> Ironruby-core mailing list
>>> Ironruby-core at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/ironruby-core
>>>
>>
>>
>> _______________________________________________
>> Ironruby-core mailing list
>> Ironruby-core at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/ironruby-core
>>
>>
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100416/5f3fdd0a/attachment.html>


More information about the Ironruby-core mailing list