Upon compiling ruby-1.9.1-p429, I got this: gcc -s -O4 -O4 -g -Wall -Wno-parentheses -I. -I.ext/include/i386-mingw32 -I./include -I. -DRUBY_EXPORT -o regexec.o -c regexec.c regexec.c: In function 'onig_search': regexec.c:3369:1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make: *** [regexec.o] Error 1
To the best of my knowledge, an internal error is always a bug, so I'll report it and the problematic source code: http://old.nabble.com/file/p29394423/regexec.i.c -- Summary: Internal error: Segmentation fault Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: leledumbo_cool at yahoo dot co dot id http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45247