C.J. Adams-Collier
2010-Mar-20 18:08 UTC
[Ironruby-core] IR on Mono build notes - 3/20/2010
Hey all,
I''m getting a couple of errors while building IR on Mono.
I''ve poked at
it using the 2.4.2.3 and 2.4.4~svn151842-1 .deb packages as well as from
trunk.
With the .deb packages, the only problem with the xbuild system is that
yaml -> Yaml case sensitivity problem. After applying the patch
(attached), I get a compiler error:
Internal compiler error at Ast/GeneratorRewriter.cs(797,39): :
exception caught while emitting MethodBuilder
[GeneratorRewriter::VisitBinary]
I brought this up with Marek, and he told me to try using the compiler
from trunk, which makes sense.
It seems that building xbuild from trunk puts the *.targets under
$PREFIX/lib/mono/4.0 and not $PREFIX/lib/mono/2.0.
/usr/src/git/github/ironruby/Merlin/Main/Languages/Ruby/Ruby.sln: warning :
/usr/src/git/github/ironruby/Merlin/Main/Languages/Ruby/IronRuby.Tests/IronRuby.Tests.csproj:
Imported project: "/opt/mono/lib/mono/2.0/Microsoft.CSharp.targets"
does not exist.
Copying them from the 4.0 directory seems to fix the problem. At that
point, I get these warnings:
/usr/src/git/github/ironruby/Merlin/Main/Languages/Ruby/Ruby.sln: warning :
Don''t know how to handle GlobalSection TeamFoundationVersionControl,
Ignoring.
/usr/src/git/github/ironruby/Merlin/Main/Languages/Ruby/Ruby.sln (default
targets) ->
(ValidateSolutionConfiguration target) ->
: error : Error initializing task Message: Not registered task Message.
I''ve brought these issues up with Ankit, the maintainer of xbuild. I
figure we''ll do some investigation on Monday, since I''m
cleaning the
back yard today. ;)
Just thought you all might want to know how things are going.
Cheers,
C.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ir_sln_case_sensitivity_fix.diff
Type: text/x-patch
Size: 2523 bytes
Desc: not available
URL:
<http://rubyforge.org/pipermail/ironruby-core/attachments/20100320/56345d79/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL:
<http://rubyforge.org/pipermail/ironruby-core/attachments/20100320/56345d79/attachment-0001.bin>
C.J. Adams-Collier
2010-Mar-21 00:57 UTC
[Ironruby-core] IR on Mono build notes - 3/20/2010
Ankit helped me resolve the xbuild errors. Here''s the diff. I''ll bother marek about the compiler error next. cjac at dlrci:/usr/src/git/github/ironruby$ git status | cat # On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # renamed: Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/socket/BasicSocket.cs -> Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Socket/BasicSocket.cs # renamed: Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/socket/IPSocket.cs -> Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Socket/IPSocket.cs # renamed: Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/socket/Socket.cs -> Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Socket/Socket.cs # renamed: Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/socket/SocketError.cs -> Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Socket/SocketError.cs # renamed: Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/socket/SocketStream.cs -> Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Socket/SocketStream.cs # renamed: Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/socket/TCPServer.cs -> Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Socket/TCPServer.cs # renamed: Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/socket/TCPSocket.cs -> Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Socket/TCPSocket.cs # renamed: Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/socket/UDPSocket.cs -> Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Socket/UDPSocket.cs # modified: Merlin/Main/Languages/Ruby/Ruby.sln On Sat, 2010-03-20 at 11:08 -0700, C.J. Adams-Collier wrote:> Hey all, > > I''m getting a couple of errors while building IR on Mono. I''ve poked at > it using the 2.4.2.3 and 2.4.4~svn151842-1 .deb packages as well as from > trunk. > > With the .deb packages, the only problem with the xbuild system is that > yaml -> Yaml case sensitivity problem. After applying the patch > (attached), I get a compiler error: > > Internal compiler error at Ast/GeneratorRewriter.cs(797,39): : > exception caught while emitting MethodBuilder > [GeneratorRewriter::VisitBinary] > > I brought this up with Marek, and he told me to try using the compiler > from trunk, which makes sense. > > It seems that building xbuild from trunk puts the *.targets under > $PREFIX/lib/mono/4.0 and not $PREFIX/lib/mono/2.0. > > /usr/src/git/github/ironruby/Merlin/Main/Languages/Ruby/Ruby.sln: warning : > /usr/src/git/github/ironruby/Merlin/Main/Languages/Ruby/IronRuby.Tests/IronRuby.Tests.csproj: Imported project: "/opt/mono/lib/mono/2.0/Microsoft.CSharp.targets" > does not exist. > > Copying them from the 4.0 directory seems to fix the problem. At that > point, I get these warnings: > > /usr/src/git/github/ironruby/Merlin/Main/Languages/Ruby/Ruby.sln: warning : Don''t know how to handle GlobalSection TeamFoundationVersionControl, Ignoring. > /usr/src/git/github/ironruby/Merlin/Main/Languages/Ruby/Ruby.sln (default targets) -> > (ValidateSolutionConfiguration target) -> > : error : Error initializing task Message: Not registered task Message. > > I''ve brought these issues up with Ankit, the maintainer of xbuild. I > figure we''ll do some investigation on Monday, since I''m cleaning the > back yard today. ;) > > Just thought you all might want to know how things are going. > > Cheers, > > C.J. >-------------- next part -------------- A non-text attachment was scrubbed... Name: ir_xbuild_fix.diff Type: text/x-patch Size: 233355 bytes Desc: not available URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100320/03bbefe7/attachment-0002.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100320/03bbefe7/attachment-0003.bin>