From: Ryan Davis Date: 2009-11-29T07:14:51+09:00 Subject: Re: something broke ruby floats CC'ing ruby-core@ On Nov 28, 2009, at 09:38 , Joel VanderWerf wrote: > > Noticed this after rebuilding ruby (with configure args --disable-pthread --enable-shared): > > ~/src/ruby> RUBYOPT='' ./ruby -e 'x=0.123; puts x' > 123.0 > ~/src/ruby> ldd ./ruby > linux-gate.so.1 => (0x00b0e000) > libruby.so.1.8 => /usr/local/lib/libruby.so.1.8 (0x00236000) > libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00132000) > libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0x007b8000) > libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00d63000) > libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00394000) > /lib/ld-linux.so.2 (0x0067e000) > ~/src/ruby> ./ruby -v > ruby 1.8.6 (2008-08-11 patchlevel 287) [i686-linux] > > (same after make install) > > Any ideas what broke? I've never seen anything like this before, and I've been using p287 on several systems for months (at least). This is on ubuntu karmic. > > Further info: > > ~/src/ruby> make check > not ok float 1 -- ./sample/test.rb:1172 > not ok float 2 -- ./sample/test.rb:1173 > not ok float 3 -- ./sample/test.rb:1174 > not ok float 4 -- ./sample/test.rb:1175 > not ok float 5 -- ./sample/test.rb:1176 > not ok float 6 -- ./sample/test.rb:1177 > not ok float 7 -- ./sample/test.rb:1178 > not ok float 8 -- ./sample/test.rb:1179 > not ok float 9 -- ./sample/test.rb:1180 > test failed > make: *** [test] Error 1 > > -- > vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407 > >