Question

Ruby Enterprise Edition fails to compile from sources with GCC 4.5, but sucessfully compiles with 4.3.3.
Actually, not sure if it's about GCC, but, in fact, i686 Arch linux system with laest updates won't compile RE.

Compilation fails with the message:

mkdir -p .ext/common
make PRELIBS='-Wl,-rpath,/opt/ruby-enterprise-1.8.7-2010.01/lib -L/opt/ruby-enterprise-1.8.7-2010.01/lib -ltcmalloc_minimal '
./lib/fileutils.rb:1215: [BUG] Segmentation fault
ruby 1.8.7 (2009-12-24 patchlevel 248) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2010.01

make: *** [.rbconfig.time] Aborted

Are there any solutions excepting GCC downgrade?

Was it helpful?

Solution

Hey, updating Archlinux to the latest version fixes the problem as of now. I'm not sure what it is they changed.

The error you see is not in GCC btw, the ruby installer script attempts a File#chmod and for some reason it encounters a SEGFAULT.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top