Forum: Ruby-core [ruby-trunk - Bug #9075][Open] ruby fails to compile enc/trans/big5.c

3f9ddc0a6faa0cad74ecfa66f321cf89?d=identicon&s=25 _rpq (r pq) (Guest)
on 2013-11-02 21:18
(Received via mailing list)
Issue #9075 has been reported by _rpq (r pq).

----------------------------------------
Bug #9075: ruby fails to compile enc/trans/big5.c
https://bugs.ruby-lang.org/issues/9075

Author: _rpq (r pq)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: 2.0
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


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
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2013-11-03 03:36
(Received via mailing list)
Issue #9075 has been updated by nobu (Nobuyoshi Nakada).

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.

----------------------------------------
Bug #9075: ruby fails to compile enc/trans/big5.c
https://bugs.ruby-lang.org/issues/9075#change-42732

Author: _rpq (r pq)
Status: Third Party's Issue
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: 2.0
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


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
This topic is locked and can not be replied to.