[ruby-cvs:71931] k0kubun:r64839 (trunk): insns.def: drop bitblt insn

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Wed Sep 26 02:20:03 JST 2018


k0kubun	2018-09-26 02:20:02 +0900 (Wed, 26 Sep 2018)

  New Revision: 64839

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64839

  Log:
    insns.def: drop bitblt insn
    
    as a workaround to fix the build pipeline broken by r64824,
    because optimizing Ruby should be prioritized higher than supporting unused jokes.
    
    In the current build system, exceeding 200 insns somehow crashes C
    extension build on some of MinGW environments like "mingw32-make[1]:
    *** No rule to make target 'note'.  Stop."
    https://ci.appveyor.com/project/ruby/ruby/build/9725/job/co4nu9jugm8qwdrp
    and on some of Linux environments like "cannot load such file -- stringio (LoadError)"
    
    ```
    build_install        /home/ko1/ruby/src/trunk_gcc5/lib/rubygems/specification.rb:18:in `require': cannot load such file -- stringio (LoadError)
    from /home/ko1/ruby/src/trunk_gcc5/lib/rubygems/specification.rb:18:in `<top (required)>'
    from /home/ko1/ruby/src/trunk_gcc5/lib/rubygems.rb:1365:in `require'
    from /home/ko1/ruby/src/trunk_gcc5/lib/rubygems.rb:1365:in `<module:Gem>'
    from /home/ko1/ruby/src/trunk_gcc5/lib/rubygems.rb:116:in `<top (required)>'
    from /home/ko1/ruby/src/trunk_gcc5/tool/rbinstall.rb:24:in `require'
    from /home/ko1/ruby/src/trunk_gcc5/tool/rbinstall.rb:24:in `<main>'
    make: *** [do-install-nodoc] Error 1
    ```
    
    http://ci.rvm.jp/results/trunk_gcc5@silicon-docker/1353447
    
    This commit removes "bitblt" and "trace_bitblt" insns, which reduces the
    number of insns from 202 to 200 and fixes at least the latter build
    failure. I hope this fixes the MinGW build failure as well. Let me
    confirm the situation on AppVeyor CI.
    
    Note that this is hard to fix because some MinGW environments (MSP-Greg's
    MinGW CI on AppVeyor) don't reproduce this and some Linux environments
    (including my local machine) don't reproduce it either. Make sure you
    have the reproductive environment and confirm it's fixed when reverting
    this commit.

  Modified files:
    trunk/compile.c
    trunk/insns.def
    trunk/test/ruby/test_jit.rb


More information about the ruby-cvs mailing list