From: "NARUSE, Yui" Date: 2010-02-07T21:37:41+09:00 Subject: [ruby-dev:40345] Re: [ruby-cvs:33760] Ruby:r26545 (trunk): Wed Feb 3 10:12:09 2010 Aaron Patterson 成瀬です。 (2010/02/07 14:18), Tanaka Akira wrote: > まぁ、とりあえず現状でコミットされているので、 > いろいろな OS・プロセッサ・コンパイラを使える人は、 > 動くにせよ動かないにせよ、これを機会に試しておくといいんじゃないかと思います。 > 動くはず、といっても実際には動かないこともあるようですし。 > > BSD とか AIX とか、IA64 とか、どうですかね。 AIX は金本さんが調査中のようです。とりあえず XL C では、 libffi がコンパイル出来ないのが悩み所な模様。 http://d.hatena.ne.jp/kinpoco/20100203/1265216554 先に報告していた FreeBSD で 1 個失敗していた件は、 BSD の仕様のようだったのでテスト側を直しました。 NetBSD で試したところ、以下の通りでした。 1) Error: test_to_ptr_io(DL::TestCPtr): RangeError: bignum too big to convert into `long' /home/naruse/ruby_trunk/test/dl/test_cptr.rb:84:in `call' /home/naruse/ruby_trunk/test/dl/test_cptr.rb:84:in `block in test_to_ptr_io' /home/naruse/ruby_trunk/test/dl/test_cptr.rb:81:in `open' /home/naruse/ruby_trunk/test/dl/test_cptr.rb:81:in `test_to_ptr_io' 2) Error: test_callback_return_value(DL::TestCallback): RangeError: bignum too big to convert into `long' /home/naruse/ruby_trunk/.ext/common/dl/func.rb:38:in `native_call' /home/naruse/ruby_trunk/.ext/common/dl/func.rb:38:in `call' /home/naruse/ruby_trunk/test/dl/test_callback.rb:28:in `test_callback_return_value' 3) Error: test_callback_with_string(DL::TestCallback): RangeError: bignum too big to convert into `long' /home/naruse/ruby_trunk/test/dl/test_callback.rb:45:in `dlunwrap' /home/naruse/ruby_trunk/test/dl/test_callback.rb:45:in `block in test_callback_with_string' /home/naruse/ruby_trunk/.ext/common/dl/closure.rb:15:in `call' /home/naruse/ruby_trunk/.ext/common/dl/closure.rb:15:in `call' /home/naruse/ruby_trunk/.ext/common/dl/func.rb:38:in `native_call' /home/naruse/ruby_trunk/.ext/common/dl/func.rb:38:in `call' /home/naruse/ruby_trunk/test/dl/test_callback.rb:50:in `test_callback_with_string' 4) Error: test_static_sym(DL::TestHandle): DL::DLError: unknown symbol "dlopen" /home/naruse/ruby_trunk/test/dl/test_handle.rb:25:in `sym' /home/naruse/ruby_trunk/test/dl/test_handle.rb:25:in `test_static_sym' 5) Failure: test_unsigned_result(DL::TestImport) [/home/naruse/ruby_trunk/test/dl/test_import.rb:59]: <2147483649> expected but was <-2147483647>. 117 tests, 204 assertions, 1 failures, 4 errors, 0 skips *** Error code 1 -- NARUSE, Yui