From: Aaron Patterson Date: 2010-03-26T12:22:04+09:00 Subject: [ruby-core:29021] Re: [Bug #3015] NetBSD vs test/dl --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 26, 2010 at 11:49:59AM +0900, Michael Graff wrote: > Bug #3015: NetBSD vs test/dl > http://redmine.ruby-lang.org/issues/show/3015 >=20 > Author: Michael Graff > Status: Open, Priority: Normal > ruby -v: ruby 1.9.2dev (2010-03-26 trunk 27055) [i386-netbsdelf5.0.] >=20 > There are probably related problems with the mentioned tests, or the code= they are testing, on NetBSD 5.0.2. >=20 > I have not yet investigated the cause of these. >=20 > 1) Error: > test_to_ptr_io(DL::TestCPtr): > RangeError: bignum too big to convert into `long' > /u1/home/explorer/proj/ruby/test/dl/test_cptr.rb:84:in `call' > /u1/home/explorer/proj/ruby/test/dl/test_cptr.rb:84:in `block in test= _to_ptr_io' > /u1/home/explorer/proj/ruby/test/dl/test_cptr.rb:81:in `open' > /u1/home/explorer/proj/ruby/test/dl/test_cptr.rb:81:in `test_to_ptr_i= o' >=20 > 2) Error: > test_callback(DL::TestDL): > RangeError: bignum too big to convert into `long' > /u1/home/explorer/proj/ruby/test/dl/test_dl2.rb:143:in `call' > /u1/home/explorer/proj/ruby/test/dl/test_dl2.rb:143:in `test_callback' >=20 > 3) Error: > test_strcpy(DL::TestDL): > RangeError: bignum too big to convert into `long' > /u1/home/explorer/proj/ruby/test/dl/test_dl2.rb:134:in `call' > /u1/home/explorer/proj/ruby/test/dl/test_dl2.rb:134:in `test_strcpy' >=20 > 4) Error: > test_static_sym(DL::TestHandle): > DL::DLError: unknown symbol "dlopen" > /u1/home/explorer/proj/ruby/test/dl/test_handle.rb:26:in `sym' > /u1/home/explorer/proj/ruby/test/dl/test_handle.rb:26:in `test_static= _sym' Most likely this will be fixed when I get the dl/ffi underpinnings merged to trunk. In the mean time, could you try against my ruby fork that has ffi integrated? https://github.com/tenderlove/ruby/tree/ffi --=20 Aaron Patterson http://tenderlovemaking.com/ --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) iQEcBAEBAgAGBQJLrChVAAoJEJUxcLy0/6/GKSQH/2o+kuRlNGJzURq2oopV15+I wE/GctYmiXiDLwsZfWFJGI/JkTxiI7awfSc2y9S1vsV4kCezg6z8HxBgFGBhuY3B i7vBMc5v4n2Pt5GREDzLtaY1jbIJgjw1e8w+4RVwfDs0WksYuKD3ScZ3rUqKBpbv Oz8IAHC04qlgCAakKeZ7OoL3n13TjNRo2wJkj9bfvI1gs+ae/Yy4u7hBc3yZiha/ 4QYjAQVxtTtCndesqchxoHX9NZR52WSWMCJNyAekZA9mqnaCXzjg73Tmek48NmPF uEKE5zfFFiUNVBdr0wHoyRQnKADbetAeOKEsMEa5uaR7huuOOD6Ase+mkxGD2aU= =zFiM -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--