From: Aaron Patterson Date: 2012-06-21T01:42:16+09:00 Subject: [ruby-core:45729] Re: [ruby-trunk - Bug #6592] test_call_double(DL::TestDL) fails on ARM HardFP --kXdP64Ggrk/fb43R Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 14, 2012 at 09:54:41PM +0900, vo.x (Vit Ondruch) wrote: >=20 > Issue #6592 has been updated by vo.x (Vit Ondruch). >=20 >=20 > No I am not using Fiddle. >=20 > Better to say, it is not up to me what I use. The test is written in such= way that it is using DL no matter if libffi is present and if Fiddle might= be used. I think we need to delete the CFunc code. The problem with that class is we cannot tell the return type, so it's impossible to set up a fiddle wrapper without using DL::CFunc in conjunction with DL::Function. I'll port these tests to Fiddle in preparation for rm'ing the dl implementation. > This is the callstack using GitHub ;) >=20 > https://github.com/ruby/ruby/blob/trunk/ext/dl/cfunc.c#L340 > https://github.com/ruby/ruby/blob/trunk/ext/dl/lib/dl/func.rb#L55 > https://github.com/ruby/ruby/blob/trunk/test/dl/test_dl2.rb#L89 Thank you! :-) --=20 Aaron Patterson http://tenderlovemaking.com/ --kXdP64Ggrk/fb43R Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Darwin) iQEcBAEBAgAGBQJP4f1lAAoJEJUxcLy0/6/GKgMIAKI+fKURI7OY01IW9ICH/Szj oaj0qffAS6dGnODxYPS/n8oxJF5ymB8WkjhqXfgqDjtBVjLddF4Z48WSOjz2Q4Tr ertOxg9mkMR6yrK4QCs8gJUCcBoyuDWZNysUZ9DgYM/D/AJKurpfEKPfGzrR4UuW cLFpsgqU1sYS52Ki9fo/Jc7+QiZ10d3W/pPnnp5uI/69Ks3X9pxbSiOghtycIe7U +lGBBxp6O3m5CjVHrvlKHDTkCWAdhxe13c/aHI0VElAxfm/v/JgbEsqvOS5eDDSR FojDEQgKDgB2yMYC3GrSutzXxGLuJ6+QXXGhFg7BlH60I7Xzq2Hsv54aKeHScY8= =t6Sm -----END PGP SIGNATURE----- --kXdP64Ggrk/fb43R--