Re: Bug#674541: ruby1.8: segfaults when compiled with gcc-4.7
On Sun, May 27, 2012 at 11:11:10PM +0100, Steven Chamberlain wrote:
> I discovered other segfaults during 'test all'. An small, easily
> reproducible testcase is test/io/nonblock/test_flush.rb, which is fixed
> by compiling with the -fno-tree-dce compiler option.
ruby-ffi's spec/ffi/function_spec.rb test also fails every time when
ruby1.8 was built using gcc-4.7 without -fno-tree-dce, but is fixed by
adding -fno-tree-dce when building ruby1.8. Just in case that helps
anyone ...
--
Colin Watson [cjwatson@ubuntu.com]
Reply to: