[#42945] [Ruby 1.8-Bug#4231][Open] configure.bat --with-winsock2 が socket/extconf.rbに効いていない — Masahiro Kitajima <redmine@...>

Bug #4231: configure.bat --with-winsock2 が socket/extconf.rbに効いていない

8 messages 2011/01/05

[#43027] [Ruby 1.9-Feature#4280][Assigned] SJIS should be an alias of Windows-31J, not of Shift_JIS — Usaku NAKAMURA <redmine@...>

Feature #4280: SJIS should be an alias of Windows-31J, not of Shift_JIS

13 messages 2011/01/14
[#43030] [Ruby 1.9-Feature#4280] SJIS should be an alias of Windows-31J, not of Shift_JIS — Motohiro KOSAKI <redmine@...> 2011/01/14

チケット #4280 が更新されました。 (by Motohiro KOSAKI)

[#43031] Re: [Ruby 1.9-Feature#4280] SJIS should be an alias of Windows-31J, not of Shift_JIS — "U.Nakamura" <usa@...> 2011/01/14

こんにちは、なかむら(う)です。

[#43033] Re: [Ruby 1.9-Feature#4280] SJIS should be an alias of Windows-31J, not of Shift_JIS — KOSAKI Motohiro <kosaki.motohiro@...> 2011/01/14

2011年1月14日16:35 U.Nakamura <[email protected]>:

[#43039] ext/openssl development repository — Hiroshi Nakamura <nakahiro@...>

W3J1YnktY29yZTozNDQxNl3jga7ml6XmnKzlkJHjgZHniYjjgafjgZnjgIIKCuacgOi/kU1hcnRp

21 messages 2011/01/14
[#43040] Re: ext/openssl development repository — "U.Nakamura" <usa@...> 2011/01/14

こんにちは、なかむら(う)です。

[#43041] Re: ext/openssl development repository — Yusuke ENDOH <mame@...> 2011/01/14

遠藤です。

[#43053] Re: ext/openssl development repository — Hiroshi Nakamura <nakahiro@...> 2011/01/17

MjAxMS8xLzE0IFl1c3VrZSBFTkRPSCA8bWFtZUB0c2cubmUuanA+Ogo+Pj4gwqAgwqAgwqAgwqAg

[#43092] pthread_cond を用いたConditionVariable — keiju@... (Keiju ISHITSUKA)

けいじゅ@いしつかです.

15 messages 2011/01/24

[ruby-dev:43143] [Ruby 1.9-Bug#4341][Open] baserubyに1.8.xを指定すると make benchmark がエラー

From: Motohiro KOSAKI <redmine@...>
Date: 2011-01-29 11:35:48 UTC
List: ruby-dev #43143
Bug #4341: baserubyに1.8.xを指定すると make benchmark がエラー
http://redmine.ruby-lang.org/issues/show/4341

起票者: Motohiro KOSAKI
ステータス: Open, 優先度: Normal
Target version: 1.9.x
ruby -v: ruby 1.9.3dev (2011-01-28 trunk 30708) [x86_64-linux]

trunkをビルドするとき、baserubyを指定する必要があるのですが、多くの人はruby-1.8.xを
指定していると思います(それが推奨と以前聞きました)。

しかしながら、make benchmarkがbaseruby指定時にbaserubyとビルドしたrubyとの性能比較モードで
動作するため以下のエラーが出ます。

-----------------------------------------------------------
benchmark results:
name    ruby 1.8.6 (2010-02-05) [x86_64-linux]  ruby 1.9.3dev (2011-01-29 trunk 30718) [x86_64-linux]
app_answer      1.176   0.227
app_erb 1.881   0.972
./benchmark/driver.rb:208:in `measure': Benchmark process exited with abnormal status (256) (RuntimeError)
        from ./benchmark/driver.rb:192:in `measure_file'
        from ./benchmark/driver.rb:20:in `map'
        from ./benchmark/driver.rb:188:in `each'
        from ./benchmark/driver.rb:188:in `map'
        from ./benchmark/driver.rb:188:in `measure_file'
        from ./benchmark/driver.rb:187:in `map'
        from ./benchmark/driver.rb:187:in `measure_file'
        from ./benchmark/driver.rb:162:in `run'
        from ./benchmark/driver.rb:20:in `each_with_index'
        from ./benchmark/driver.rb:160:in `each'
        from ./benchmark/driver.rb:160:in `each_with_index'
        from ./benchmark/driver.rb:160:in `run'
        from ./benchmark/driver.rb:26:in `benchmark'
        from ./benchmark/driver.rb:249
make: *** [benchmark] Error 1
-----------------------------------------------------------


「Benchmark process exited」と言われてもまったく分からんのですが、
エスパー能力により以下のスクリプトが stack level too deep で異常終了
するのが原因と分かりました。

benchmark/bm_app_factorial.rb
-----------------------------------------------------------
def fact(n)
  if(n > 1)
    n * fact(n-1)
  else
    1
  end
end

8.times{
  fact(5000)
}
-----------------------------------------------------------

1) benchmarkディレクトリに1.8.xで動作するスクリプトしか置かない
2) make benchmark のデフォルト動作を変え、baserubyは無視する

の二案あるのですが (2) が現実的だと思います。


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next