upgrading the system with emerge -u world gives the following message: x86_64-pc-linux-gnu-gcc -O3 -funroll-all-loops -ftree-vectorize -pipe -march=k8 -fP IC -DRUBY_EXPORT -I. -I. -c time.c regex.c: In function 'ruby_re_compile_fastmap': regex.c:2775: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. x86_64-pc-linux-gnu-gcc -O3 -funroll-all-loops -ftree-vectorize -pipe -march=k8 -fP IC -DRUBY_EXPORT -I. -I. -c util.c x86_64-pc-linux-gnu-gcc -O3 -funroll-all-loops -ftree-vectorize -pipe -march=k8 -fP IC -DRUBY_EXPORT -I. -I. -c variable.c x86_64-pc-linux-gnu-gcc -O3 -funroll-all-loops -ftree-vectorize -pipe -march=k8 -fP IC -DRUBY_EXPORT -I. -I. -c version.c x86_64-pc-linux-gnu-gcc -O3 -funroll-all-loops -ftree-vectorize -pipe -march=k8 -fP IC -DRUBY_EXPORT -I. -I. -c dmyext.c x86_64-pc-linux-gnu-gcc -O3 -funroll-all-loops -ftree-vectorize -pipe -march=k8 -fP IC -DRUBY_EXPORT -I. -I. -c main.c Preprocessed source stored into /var/tmp/portage/ruby-1.8.5_p2/temp/ccSMIyJM.out fil e, please attach this to your bugreport. make: *** [regex.o] Error 1 !!! ERROR: dev-lang/ruby-1.8.5_p2 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ruby-1.8.5_p2.ebuild, line 87: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevan t. If you find it useful I can send the file ccSMIyJM.out in a mail Reproducible: Always
Err, no mail please. Attach it here and post emerge --info if you can reproduce this without -ftree-vectorize
You were right. The problem was asking the compiler "tree-vectorize". Removing it the package compiles cleanly. Thanks.