Bug #9075
closedruby fails to compile enc/trans/big5.c
Description
Ruby fails to compile on CentOS release 6.4 (Final): Linux 2.6.32-358.6.2.el6.x86_64
with ruby 2.0.0-p247 stable:
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O1 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -ansi -std=iso9899:199409
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I.
DLDFLAGS = -fstack-protector -pie
SOLIBS =
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory /home/rpq/.local/src/ruby-2.0.0-p247' make[1]: Nothing to be done for
enc'.
make[1]: Leaving directory /home/rpq/.local/src/ruby-2.0.0-p247' making srcs under enc make[1]: Entering directory
/home/rpq/.local/src/ruby-2.0.0-p247'
make[1]: Nothing to be done for srcs'. make[1]: Leaving directory
/home/rpq/.local/src/ruby-2.0.0-p247'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory /home/rpq/.local/src/ruby-2.0.0-p247' compiling ./enc/trans/big5.c gcc: Internal error: Killed (program cc1) Please submit a full bug report. See <http://bugzilla.redhat.com/bugzilla> for instructions. make[1]: *** [enc/trans/big5.o] Error 1 make[1]: Leaving directory
/home/rpq/.local/src/ruby-2.0.0-p247'
make: *** [trans] Error 2
with ruby trunk:
converter from UTF-8 to Big5-UAO
make[1]: *** [enc/trans/big5.c] Killed
make[1]: Leaving directory `/home/rpq/.local/src/ruby'
make: *** [srcs-enc] Error 2