Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ANeilan/846b52c46d9136e8a23b9e40d7bd32a8 to your computer and use it in GitHub Desktop.
Save ANeilan/846b52c46d9136e8a23b9e40d7bd32a8 to your computer and use it in GitHub Desktop.
+__rvm_make:0> make -j4
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -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 -Wdeprecated-declarations -Wno-packed-bitfield-compat -std=iso9899:1999 -fPIC
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I.
DLDFLAGS = -Wl,-soname,libruby.so.2.3 -fstack-protector
SOLIBS = -lpthread -ldl -lcrypt -lm
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 7.1.1 20170526 (Red Hat 7.1.1-2) (GCC)
compiling main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
compiling miniprelude.c
translating probes probes.d
compiling bignum.c
compiling class.c
compiling compar.c
In file included from bignum.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from class.c:26:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling complex.c
compiling dir.c
In file included from complex.c:14:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from dir.c:14:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling dln_find.c
compiling encoding.c
In file included from encoding.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
encoding.c: In function ‘rb_enc_get_index’:
encoding.c:793:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (NIL_P(obj)) break;
^
encoding.c:794:7: note: here
case T_DATA:
^~~~
encoding.c: In function ‘enc_capable’:
encoding.c:746:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (is_data_encoding(obj)) return TRUE;
^
encoding.c:747:7: note: here
default:
^~~~~~~
compiling enum.c
In file included from enum.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling enumerator.c
In file included from enumerator.c:15:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling error.c
In file included from error.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling eval.c
In file included from eval.c:14:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling load.c
compiling proc.c
In file included from load.c:5:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
load.c: In function ‘search_required’:
load.c:922:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (ft) {
^
load.c:927:7: note: here
case 1:
^~~~
In file included from method.h:14:0,
from vm_core.h:62,
from eval_intern.h:5,
from proc.c:12:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling file.c
In file included from file.c:26:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
file.c: In function ‘rb_stat_dev_major’:
file.c:496:13: warning: In the GNU C Library, "major" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "major", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including <sys/types.h>.
return INT2NUM(major(get_stat(self)->st_dev));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
file.c: In function ‘rb_stat_dev_minor’:
file.c:517:13: warning: In the GNU C Library, "minor" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "minor", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"minor", you should undefine it after including <sys/types.h>.
return INT2NUM(minor(get_stat(self)->st_dev));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
file.c: In function ‘rb_stat_rdev_major’:
file.c:660:13: warning: In the GNU C Library, "major" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "major", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including <sys/types.h>.
return DEVT2NUM(major(get_stat(self)->st_rdev));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
file.c: In function ‘rb_stat_rdev_minor’:
file.c:681:13: warning: In the GNU C Library, "minor" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "minor", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"minor", you should undefine it after including <sys/types.h>.
return DEVT2NUM(minor(get_stat(self)->st_rdev));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compiling gc.c
In file included from gc.c:17:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling hash.c
In file included from hash.c:14:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
hash.c: In function ‘rb_hash_s_create’:
hash.c:653:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
val = RARRAY_AREF(v, 1);
hash.c:654:5: note: here
case 1:
^~~~
compiling inits.c
In file included from inits.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling io.c
In file included from io.c:14:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
io.c: In function ‘rb_io_s_popen’:
io.c:6250:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
pmode = argv[1];
~~~~~~^~~~~~~~~
io.c:6251:7: note: here
case 1:
^~~~
compiling marshal.c
compiling math.c
In file included from marshal.c:16:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
marshal.c: In function ‘r_object0’:
marshal.c:1735:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (bs & 1) --dst;
^
marshal.c:1736:9: note: here
default: bs = 0; break;
^~~~~~~
marshal.c: In function ‘load_mantissa’:
marshal.c:351:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
default: m = *buf++ & 0xff;
~~^~~~~~~~~~~~~~~
marshal.c:353:8: note: here
case 3: m = (m << 8) | (*buf++ & 0xff);
^~~~
marshal.c:353:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 3: m = (m << 8) | (*buf++ & 0xff);
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
marshal.c:356:8: note: here
case 2: m = (m << 8) | (*buf++ & 0xff);
^~~~
marshal.c:356:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 2: m = (m << 8) | (*buf++ & 0xff);
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
marshal.c:359:8: note: here
case 1: m = (m << 8) | (*buf++ & 0xff);
^~~~
In file included from math.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling node.c
In file included from method.h:14:0,
from vm_core.h:62,
from node.c:13:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling numeric.c
In file included from numeric.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling object.c
In file included from object.c:14:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
object.c: In function ‘rb_f_integer’:
object.c:2740:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
base = NUM2INT(argv[1]);
object.c:2741:7: note: here
case 1:
^~~~
compiling pack.c
In file included from pack.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling parse.c
In file included from parse.y:27:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
parse.y: In function ‘ruby_yyparse’:
parse.y:3990:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
node = NEW_NODE(NODE_DSTR, STR_NEW0(), 1, NEW_LIST(node));
parse.y:3991:6: note: here
case NODE_DSTR:
^~~~
parse.y:338:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define yyerror(msg) parser_yyerror(parser, (msg))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parse.y:5011:5: note: in expansion of macro ‘yyerror’
yyerror("can't define singleton method for literals");
^~~~~~~
parse.y:5012:10: note: here
default:
^~~~~~~
parse.y: In function ‘parser_yylex’:
parse.y:8195:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (peek('.') == (c == '&')) {
^
parse.y:8201:8: note: here
default:
^~~~~~~
parse.y:8203:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
lex_nextline = lex_lastline;
parse.y:8204:8: note: here
case -1: /* EOF no decrement*/
^~~~
parse.y:8549:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
paren_nest--;
parse.y:8550:7: note: here
case '}':
^~~~
parse.y: In function ‘parser_here_document’:
parse.y:6871:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (--pend == p || pend[-1] != '\r') {
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
parse.y:6875:5: note: here
case '\r':
^~~~
parse.y: In function ‘parser_read_escape’:
parse.y:6035:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((c = nextc()) != '-') {
^
parse.y:6039:7: note: here
case 'c':
^~~~
parse.y: In function ‘parse_gvar’:
parse.y:7923:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!parser_is_identchar()) {
^
parse.y:7933:7: note: here
case '0':
^~~~
parse.y: In function ‘is_static_content’:
parse.y:9732:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!(node = node->nd_head)) break;
^
parse.y:9733:7: note: here
case NODE_ARRAY:
^~~~
compiling process.c
In file included from process.c:14:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling random.c
In file included from random.c:62:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from random.c:1448:0:
siphash.c: In function ‘ruby_sip_hash24’:
siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
siphash.c:444:6: note: in expansion of macro ‘OR_BYTE’
OR_BYTE(6);
^~~~~~~
siphash.c:445:2: note: here
case 6:
^~~~
siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
siphash.c:446:6: note: in expansion of macro ‘OR_BYTE’
OR_BYTE(5);
^~~~~~~
siphash.c:447:2: note: here
case 5:
^~~~
siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
siphash.c:448:6: note: in expansion of macro ‘OR_BYTE’
OR_BYTE(4);
^~~~~~~
siphash.c:449:2: note: here
case 4:
^~~~
siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
siphash.c:461:6: note: in expansion of macro ‘OR_BYTE’
OR_BYTE(2);
^~~~~~~
siphash.c:462:2: note: here
case 2:
^~~~
siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
siphash.c:463:6: note: in expansion of macro ‘OR_BYTE’
OR_BYTE(1);
^~~~~~~
siphash.c:464:2: note: here
case 1:
^~~~
random.c: In function ‘rand_range’:
random.c:1221:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
case T_FLOAT: {
^
random.c:1227:7: note: here
default:
^~~~~~~
random.c: In function ‘random_load’:
random.c:747:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
seed = ary[2];
~~~~~^~~~~~~~
random.c:748:7: note: here
case 2:
^~~~
random.c:749:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
left = ary[1];
~~~~~^~~~~~~~
random.c:750:7: note: here
case 1:
^~~~
compiling range.c
In file included from range.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling rational.c
In file included from rational.c:8:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling re.c
In file included from re.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
re.c: In function ‘unescape_nonascii’:
re.c:2308:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
{
^
re.c:2319:15: note: here
case '0': /* \0, \0O, \0OO */
^~~~
re.c: In function ‘read_escaped_byte’:
re.c:2081:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (p == end || *p++ != '-') {
~~~~~~~~~^~~~~~~~~~~~~~
re.c:2085:7: note: here
case 'c': /* \cX, \c\M-X */
^~~~
compiling regcomp.c
compiling regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.c
regparse.c: In function ‘parse_enclose’:
regparse.c:5183:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (IS_SYNTAX_OP2(env->syntax, ONIG_SYN_OP2_OPTION_PERL)) {
^
regparse.c:5211:5: note: here
case '-': case 'i': case 'm': case 's': case 'x':
^~~~
compiling regsyntax.c
compiling ruby.c
In file included from ruby.c:18:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
ruby.c: In function ‘proc_options’:
ruby.c:854:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
opt->do_print = TRUE;
ruby.c:856:4: note: here
case 'n':
^~~~
ruby.c:880:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
opt->verbose = 1;
~~~~~~~~~~~~~^~~
ruby.c:881:4: note: here
case 'w':
^~~~
ruby.c:1192:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!s[1])
^
ruby.c:1195:4: note: here
default:
^~~~~~~
compiling safe.c
In file included from method.h:14:0,
from vm_core.h:62,
from safe.c:20:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling signal.c
compiling sprintf.c
In file included from signal.c:14:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from sprintf.c:14:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
sprintf.c: In function ‘rb_str_format’:
sprintf.c:661:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
p--;
~^~
sprintf.c:662:4: note: here
case '%':
^~~~
In file included from sprintf.c:1272:0:
vsnprintf.c: In function ‘BSD_vfprintf’:
vsnprintf.c:886:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (prec != 0)
^
vsnprintf.c:888:3: note: here
case 'g':
^~~~
compiling st.c
In file included from st.c:9:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
st.c: In function ‘st_hash’:
st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
t |= data_at(n) << CHAR_BIT*(n)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
st.c:1463:25: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1560:27: note: here
# define UNALIGNED_ADD(n) case (n) + 1: \
^
st.c:1463:43: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
t |= data_at(n) << CHAR_BIT*(n)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
st.c:1463:43: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1560:27: note: here
# define UNALIGNED_ADD(n) case (n) + 1: \
^
st.c:1463:61: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
t |= data_at(n) << CHAR_BIT*(n)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
st.c:1463:61: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1560:27: note: here
# define UNALIGNED_ADD(n) case (n) + 1: \
^
st.c:1463:79: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
t |= data_at(n) << CHAR_BIT*(n)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
st.c:1463:79: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1560:27: note: here
# define UNALIGNED_ADD(n) case (n) + 1: \
^
st.c:1461:25: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
^~~~~~~~~~~~~
st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
t |= data_at(n) << CHAR_BIT*(n)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
st.c:1461:25: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
^~~~~~~~~~~~~
st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1560:27: note: here
# define UNALIGNED_ADD(n) case (n) + 1: \
^
st.c:1461:43: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
^~~~~~~~~~~~~
st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
t |= data_at(n) << CHAR_BIT*(n)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
st.c:1461:43: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
^~~~~~~~~~~~~
st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
st.c:1560:27: note: here
# define UNALIGNED_ADD(n) case (n) + 1: \
^
st.c:1461:61: note: in expansion of macro ‘UNALIGNED_ADD’
#define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
^~~~~~~~~~~~~
st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
#define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
^~~~~~~~~~~~~~~
st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
#define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
^~~~~~~~~~~~~~~
st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
UNALIGNED_ADD_ALL;
^~~~~~~~~~~~~~~~~
compiling strftime.c
strftime.c: In function ‘rb_strftime_with_timespec’:
strftime.c:780:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
padding = '0';
~~~~~~~~^~~~~
strftime.c:781:3: note: here
case '1': case '2': case '3': case '4':
^~~~
compiling string.c
compiling struct.c
In file included from string.c:14:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from struct.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling symbol.c
In file included from symbol.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling time.c
In file included from time.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
time.c: In function ‘utc_offset_arg’:
time.c:2092:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
n += (s[7] * 10 + s[8] - '0' * 11);
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
time.c:2093:4: note: here
case 6:
^~~~
compiling transcode.c
In file included from transcode.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling util.c
In file included from util.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
util.c: In function ‘ruby_strtod’:
util.c:2006:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
sign = 1;
~~~~~^~~
util.c:2008:11: note: here
case '+':
^~~~
util.c:2169:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
esign = 1;
~~~~~~^~~
util.c:2170:11: note: here
case '+':
^~~~
util.c: In function ‘ruby_dtoa’:
util.c:3344:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
leftright = 0;
~~~~~~~~~~^~~
util.c:3346:7: note: here
case 4:
^~~~
util.c:3352:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
leftright = 0;
~~~~~~~~~~^~~
util.c:3354:7: note: here
case 5:
^~~~
compiling variable.c
In file included from variable.c:14:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling version.c
compiling compile.c
compiling debug.c
In file included from compile.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from method.h:14:0,
from vm_core.h:62,
from eval_intern.h:5,
from debug.c:16:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling iseq.c
compile.c: In function ‘iseq_compile_each’:
compile.c:4489:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
boff = 1;
~~~~~^~~
compile.c:4490:4: note: here
default:
^~~~~~~
compile.c:4944:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
flag |= VM_CALL_VCALL;
compile.c:4946:4: note: here
case NODE_FCALL:
^~~~
compile.c:3949:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (node->nd_var) {
^
compile.c:3975:7: note: here
case NODE_ITER:{
^~~~
compile.c:4815:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (node->nd_mid == idAREF && !private_recv_p(node) && node->nd_args &&
^
compile.c:4831:7: note: here
case NODE_QCALL:
^~~~
compile.c: In function ‘defined_expr0’:
compile.c:3262:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
case NODE_ARRAY:{
^
compile.c:3274:7: note: here
case NODE_STR:
^~~~
compile.c: In function ‘iseq_peephole_optimize’:
compile.c:2221:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
piobj = iobj;
~~~~~~^~~~~~
compile.c:2222:5: note: here
default:
^~~~~~~
In file included from iseq.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
iseq.c: In function ‘rb_insn_operand_intern’:
iseq.c:1277:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
op = ID2SYM(op);
iseq.c:1279:7: note: here
case TS_VALUE: /* VALUE */
^~~~
compiling vm.c
In file included from vm.c:15:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling vm_dump.c
In file included from vm.c:201:0:
vm_insnhelper.c: In function ‘check_method_entry’:
vm_insnhelper.c:389:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (can_be_svar) {
^
vm_insnhelper.c:392:7: note: here
default:
^~~~~~~
In file included from vm_exec.c:120:0,
from vm.c:203:
insns.def: In function ‘vm_exec_core’:
insns.def:1263:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
case T_FLOAT: {
^
insns.def:1269:7: note: here
case T_TRUE:
^~~~
In file included from vm.c:201:0:
vm_insnhelper.c: In function ‘vm_defined’:
vm_insnhelper.c:2587:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!rb_obj_is_kind_of(GET_SELF(), rb_class_real(klass))) {
^
vm_insnhelper.c:2590:8: note: here
case METHOD_VISI_PUBLIC:
^~~~
In file included from vm.c:201:0:
vm_insnhelper.c: In function ‘check_cref’:
vm_insnhelper.c:440:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (can_be_svar) {
^
vm_insnhelper.c:443:7: note: here
default:
^~~~~~~
vm_insnhelper.c: In function ‘cref_replace_with_duplicated_cref_each_frame’:
vm_insnhelper.c:510:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (can_be_svar) {
^
vm_insnhelper.c:513:4: note: here
case imemo_ment:
^~~~
In file included from vm_dump.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling vm_backtrace.c
In file included from vm_backtrace.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling vm_trace.c
In file included from vm_trace.c:24:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling thread.c
compiling cont.c
In file included from cont.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from method.h:14:0,
from vm_core.h:62,
from eval_intern.h:5,
from thread.c:60:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
processing probes in object files
compiling ./missing/setproctitle.c
compiling ./missing/strlcat.c
compiling ./missing/strlcpy.c
compiling addr2line.c
addr2line.c: In function ‘kvprintf’:
addr2line.c:960:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!dot) {
^
addr2line.c:964:3: note: here
case '1': case '2': case '3': case '4':
^~~~
addr2line.c:1100:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
upper = 1;
~~~~~~^~~
addr2line.c:1101:3: note: here
case 'x':
^~~~
compiling dmyenc.c
compiling dln.c
In function ‘iseq_build_kw.isra.59’,
inlined from ‘rb_iseq_build_from_ary’ at compile.c:6619:30:
compile.c:6519:9: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
dvs = ALLOC_N(VALUE, default_len);
In file included from ./include/ruby/ruby.h:29:0,
from ./include/ruby.h:33,
from internal.h:15,
from compile.c:12:
compile.c: In function ‘rb_iseq_build_from_ary’:
./include/ruby/defines.h:109:18: note: in a call to allocation function ‘ruby_xmalloc2’ declared here
#define xmalloc2 ruby_xmalloc2
^
./include/ruby/defines.h:122:7: note: in expansion of macro ‘xmalloc2’
void *xmalloc2(size_t,size_t) RUBY_ATTR_ALLOC_SIZE((1,2));
^~~~~~~~
compiling localeinit.c
In file included from localeinit.c:12:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling prelude.c
In file included from prelude.c:7:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling array.c
compiling enc/ascii.c
compiling enc/us_ascii.c
In file included from array.c:14:0:
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
^
internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
compiling enc/unicode.c
array.c: In function ‘rb_ary_rindex’:
array.c:1532:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!rb_equal(e, val)) break;
^
array.c:1533:4: note: here
case Qtrue:
^~~~
array.c: In function ‘rb_ary_index’:
array.c:1469:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!rb_equal(e, val)) break;
^
array.c:1470:4: note: here
case Qtrue:
^~~~
compiling enc/utf_8.c
compiling enc/trans/newline.c
linking miniruby
generating encdb.h
rbconfig.rb updated
generating enc.mk
creating verconf.h
encdb.h updated
/home/aneilan/.rvm/src/ruby-2.3.0/lib/fileutils.rb:1747: [BUG] Segmentation fault at 0x00000000000000
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0011 p:---- s:0040 e:000039 CFUNC :module_eval
c:0010 p:0030 s:0034 e:000033 BLOCK /home/aneilan/.rvm/src/ruby-2.3.0/lib/fileutils.rb:1747 [FINISH]
c:0009 p:---- s:0031 e:000030 CFUNC :each
c:0008 p:0065 s:0028 e:000027 CLASS /home/aneilan/.rvm/src/ruby-2.3.0/lib/fileutils.rb:1746
c:0007 p:2099 s:0026 e:000025 CLASS /home/aneilan/.rvm/src/ruby-2.3.0/lib/fileutils.rb:1741
c:0006 p:0009 s:0024 e:000023 TOP /home/aneilan/.rvm/src/ruby-2.3.0/lib/fileutils.rb:88 [FINISH]
c:0005 p:---- s:0022 e:000021 CFUNC :require
c:0004 p:0017 s:0018 e:000017 TOP /home/aneilan/.rvm/src/ruby-2.3.0/lib/mkmf.rb:7 [FINISH]
c:0003 p:---- s:0016 e:000015 CFUNC :load
c:0002 p:0082 s:0012 E:0007e0 EVAL ./enc/make_encmake.rb:8 [FINISH]
c:0001 p:0000 s:0002 E:001fa0 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
./enc/make_encmake.rb:8:in `<main>'
./enc/make_encmake.rb:8:in `load'
/home/aneilan/.rvm/src/ruby-2.3.0/lib/mkmf.rb:7:in `<top (required)>'
/home/aneilan/.rvm/src/ruby-2.3.0/lib/mkmf.rb:7:in `require'
/home/aneilan/.rvm/src/ruby-2.3.0/lib/fileutils.rb:88:in `<top (required)>'
/home/aneilan/.rvm/src/ruby-2.3.0/lib/fileutils.rb:1741:in `<module:FileUtils>'
/home/aneilan/.rvm/src/ruby-2.3.0/lib/fileutils.rb:1746:in `<module:DryRun>'
/home/aneilan/.rvm/src/ruby-2.3.0/lib/fileutils.rb:1746:in `each'
/home/aneilan/.rvm/src/ruby-2.3.0/lib/fileutils.rb:1747:in `block in <module:DryRun>'
/home/aneilan/.rvm/src/ruby-2.3.0/lib/fileutils.rb:1747:in `module_eval'
-- Machine register context ------------------------------------------------
RIP: 0x00007fda99ca4dd1 RBP: 0x0000000001dc10f0 RSP: 0x00007fff6cf463a8
RAX: 0x0000000001dc10f8 RBX: 0x0000000000000031 RCX: 0x00000000000001a1
RDX: 0x0000000000000188 RDI: 0x0000000001dc10f8 RSI: 0x0000000000000000
R8: 0x0000000000000000 R9: 0x0000000001a50a00 R10: 0x0000000001d17e68
R11: 0x000000000000001b R12: 0x0000000000000031 R13: 0x0000000001dc5cc0
R14: 0x0000000000000000 R15: 0x0000000001dc5c20 EFL: 0x0000000000010202
-- C level backtrace information -------------------------------------------
verconf.h updated
compiling loadpath.c
make: *** [uncommon.mk:655: enc.mk] Segmentation fault (core dumped)
make: *** Waiting for unfinished jobs....
+__rvm_make:0> return 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment