Re: Bug#674541: ruby1.8: segfaults when compiled with gcc-4.7
On 27/05/12 20:19, Steven Chamberlain wrote:
> But it is also okay if built using gcc-4.7 with only the
> -fno-optimize-sibling-calls option added.
That only took care of the small threads testcase I gave (verified with
~2000 runs). But there seem to be other, separate issues.
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.
I've now tried gcc-4.7 4.7.0-9 from sid; I found that it fixes the
small threads testcase (no need for -fno-optimize-sibling-calls any
more); but the test_flush.rb testcase still always segfaults unless
-fno-tree-dce is used.
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Reply to: