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 ex开发者_运维问答cepting GCC downgrade?
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.
精彩评论