This happens when running ‘ruby setup.rb install’. I’m guessing it has something to do with ruby being compiled with gcc 3.2. I didn’t have any trouble installing Test::Unit on a gcc 2.95 machine.
If this email was supposed to go somewhere else… sorry =/
When i try to install Test::Unit 0.1.4 i get the following error:
..../../../lib/test/unit/assertions.rb:352: [BUG] Segmentation fault
ruby 1.6.7 (2002-03-01) [i686-linux-gnu]
This happens when running ‘ruby setup.rb install’. I’m
guessing it has something to do with ruby being compiled with
gcc 3.2. I didn’t have any trouble installing Test::Unit on a
gcc 2.95 machine.
It’s known that 1.6 and 1.7 before 2002-10-03 have the problem
with gcc 3.2.
When i try to install Test::Unit 0.1.4 i get the following error:
…/…/…/lib/test/unit/assertions.rb:352: [BUG] Segmentation fault
ruby 1.6.7 (2002-03-01) [i686-linux-gnu]
Have you compiled ruby, or used a package ? If not try to compile ruby with
gcc-3.2
I compiled ruby myself, using the following optimizations: ‘-O3
-fomit-frame-pointer -march=athlon’
-march=athlon is the culprit, iirc. GCC 3.2 is horribly broken when
it comes to CPU specific optimizations. There are some patches in the
FreeBSD source tree that solve this though I don’t think they’ve
trickled back to the GCC camp (they’re currently in a push to do a 3.2
final release and start working on 3.3). -sc