Bug #9075

ruby fails to compile enc/trans/big5.c

Added by r pq 6 months ago. Updated 5 months ago.

[ruby-core:58140]
Status:Third Party's Issue
Priority:Normal
Assignee:-
Category:-
Target version:-
ruby -v:2.0 Backport:1.9.3: UNKNOWN, 2.0.0: UNKNOWN

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 -DFORTIFYSOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBYEXPORT -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

History

#1 Updated by Nobuyoshi Nakada 5 months ago

  • Status changed from Open to Third Party's Issue

_rpq (r pq) wrote:

gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See http://bugzilla.redhat.com/bugzilla for instructions.

Also available in: Atom PDF