문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top