Skip to content

Instantly share code, notes, and snippets.

@hvardhanx
Last active April 7, 2018 19:09
Show Gist options
  • Save hvardhanx/081419ba5a9850a29ab0c80b93a95f1f to your computer and use it in GitHub Desktop.
Save hvardhanx/081419ba5a9850a29ab0c80b93a95f1f 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 -lgmp -ldl -lcrypt -lm
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 7.1.1 20170630 (GCC)
copying dummy probes.h
compiling main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
compiling miniprelude.c
compiling array.c
compiling bignum.c
compiling class.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 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]
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 complex.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]
compiling dir.c
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
compiling enum.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:
^~~~~~~
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
compiling error.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 eval.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]
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
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:
^~~~
compiling proc.c
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
compiling gc.c
compiling hash.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)
^
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]
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));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
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);
^~~~
compiling math.c
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]
compiling process.c
compiling random.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]
parse.y: In function ‘ruby_yyparse’:
parse.y:3993:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
node = NEW_NODE(NODE_DSTR, STR_NEW0(), 1, NEW_LIST(node));
parse.y:3994:6: note: here
case NODE_DSTR:
^~~~
parse.y:340:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define yyerror(msg) parser_yyerror(parser, (msg))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parse.y:5014:5: note: in expansion of macro ‘yyerror’
yyerror("can't define singleton method for literals");
^~~~~~~
parse.y:5015:10: note: here
default:
^~~~~~~
parse.y: In function ‘parser_yylex’:
parse.y:8219:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (peek('.') == (c == '&')) {
^
parse.y:8225:8: note: here
default:
^~~~~~~
parse.y:8227:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
lex_nextline = lex_lastline;
parse.y:8228:8: note: here
case -1: /* EOF no decrement*/
^~~~
parse.y:8573:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
paren_nest--;
parse.y:8574:7: note: here
case '}':
^~~~
parse.y: In function ‘parser_here_document’:
parse.y:6883:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (--pend == p || pend[-1] != '\r') {
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
parse.y:6887:5: note: here
case '\r':
^~~~
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]
parse.y: In function ‘parser_read_escape’:
parse.y:6038:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((c = nextc()) != '-') {
^
parse.y:6042:7: note: here
case 'c':
^~~~
parse.y: In function ‘parse_gvar’:
parse.y:7941:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!parser_is_identchar()) {
^
parse.y:7951:7: note: here
case '0':
^~~~
parse.y: In function ‘is_static_content’:
parse.y:9756:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!(node = node->nd_head)) break;
^
parse.y:9757:7: note: here
case NODE_ARRAY:
^~~~
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:856:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
opt->do_print = TRUE;
ruby.c:858:4: note: here
case 'n':
^~~~
ruby.c:882:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
opt->verbose = 1;
~~~~~~~~~~~~~^~~
ruby.c:883:4: note: here
case 'w':
^~~~
ruby.c:1194:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!s[1])
^
ruby.c:1197: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
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]
compiling sprintf.c
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
compiling strftime.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;
^~~~~~~~~~~~~~~~~
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
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]
compiling struct.c
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
compiling transcode.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]
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]
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 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:4552:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
boff = 1;
~~~~~^~~
compile.c:4553:4: note: here
default:
^~~~~~~
compile.c:5007:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
flag |= VM_CALL_VCALL;
compile.c:5009:4: note: here
case NODE_FCALL:
^~~~
compile.c:4010:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (node->nd_var) {
^
compile.c:4036:7: note: here
case NODE_ITER:{
^~~~
compile.c:4878:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (node->nd_mid == idAREF && !private_recv_p(node) && node->nd_args &&
^
compile.c:4894:7: note: here
case NODE_QCALL:
^~~~
compile.c: In function ‘defined_expr0’:
compile.c:3321:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
case NODE_ARRAY:{
^
compile.c:3333:7: note: here
case NODE_STR:
^~~~
compile.c: In function ‘iseq_peephole_optimize’:
compile.c:2243:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
piobj = iobj;
~~~~~~^~~~~~
compile.c:2244: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:1278:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
op = ID2SYM(op);
iseq.c:1280: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]
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:
^~~~
compiling vm_dump.c
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 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]
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]
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
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 enc/ascii.c
compiling enc/us_ascii.c
compiling enc/unicode.c
compiling enc/utf_8.c
compiling enc/trans/newline.c
In function ‘iseq_build_kw.isra.59’,
inlined from ‘rb_iseq_build_from_ary’ at compile.c:6682:30:
compile.c:6582: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:36: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));
^~~~~~~~
linking miniruby
generating encdb.h
rbconfig.rb updated
generating enc.mk
creating verconf.h
verconf.h updated
compiling loadpath.c
encdb.h updated
making srcs under enc
make[1]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
generating transdb.h
linking static-library libruby-static.a
ar: `u' modifier ignored since `D' is the default (see `U')
transdb.h updated
verifying static-library libruby-static.a
linking shared-library libruby.so.2.3.0
generating makefile exts.mk
making enc
making trans
make[1]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[1]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
compiling ./enc/encdb.c
compiling ./enc/trans/transdb.c
compiling ./enc/big5.c
configuring -test-/array/resize
configuring -test-/bignum
configuring -test-/bug-3571
configuring -test-/bug-5832
configuring -test-/bug_reporter
configuring -test-/class
configuring -test-/debug
configuring -test-/dln/empty
configuring -test-/exception
configuring -test-/fatal
configuring -test-/file
In file included from ./enc/encdb.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 ./enc/trans/big5.c
compiling ./enc/cp949.c
compiling ./enc/emacs_mule.c
compiling ./enc/euc_jp.c
compiling ./enc/euc_kr.c
compiling ./enc/euc_tw.c
compiling ./enc/trans/chinese.c
compiling ./enc/gb2312.c
compiling ./enc/gb18030.c
configuring -test-/float
configuring -test-/funcall
configuring -test-/gvl/call_without_gvl
configuring -test-/hash
configuring -test-/iseq_load
configuring -test-/iter
configuring -test-/load/dot.dot
configuring -test-/marshal/compat
configuring -test-/marshal/internal_ivar
configuring -test-/marshal/usr
configuring -test-/method
configuring -test-/notimplement
configuring -test-/num2int
configuring -test-/path_to_class
configuring -test-/popen_deadlock
configuring -test-/postponed_job
configuring -test-/printf
configuring -test-/proc
configuring -test-/rational
configuring -test-/recursion
configuring -test-/st/foreach
configuring -test-/st/numhash
configuring -test-/st/update
configuring -test-/string
configuring -test-/struct
configuring -test-/symbol
compiling ./enc/gbk.c
compiling ./enc/iso_8859_1.c
configuring -test-/time
configuring -test-/tracepoint
configuring -test-/typeddata
configuring -test-/vm
configuring -test-/wait_for_single_fd
configuring bigdecimal
compiling ./enc/iso_8859_2.c
compiling ./enc/iso_8859_3.c
compiling ./enc/iso_8859_4.c
compiling ./enc/iso_8859_5.c
compiling ./enc/trans/ebcdic.c
compiling ./enc/iso_8859_6.c
compiling ./enc/trans/emoji.c
compiling ./enc/iso_8859_7.c
compiling ./enc/iso_8859_8.c
compiling ./enc/iso_8859_9.c
compiling ./enc/trans/emoji_iso2022_kddi.c
compiling ./enc/iso_8859_10.c
compiling ./enc/iso_8859_11.c
compiling ./enc/iso_8859_13.c
compiling ./enc/iso_8859_14.c
compiling ./enc/iso_8859_15.c
compiling ./enc/trans/emoji_sjis_docomo.c
compiling ./enc/iso_8859_16.c
compiling ./enc/koi8_r.c
compiling ./enc/koi8_u.c
compiling ./enc/shift_jis.c
compiling ./enc/utf_16be.c
compiling ./enc/utf_16le.c
compiling ./enc/utf_32be.c
compiling ./enc/utf_32le.c
compiling ./enc/windows_31j.c
compiling ./enc/trans/emoji_sjis_kddi.c
compiling ./enc/windows_1250.c
compiling ./enc/windows_1251.c
compiling ./enc/windows_1252.c
linking encoding encdb.so
linking encoding big5.so
configuring cgi/escape
configuring continuation
configuring coverage
linking encoding cp949.so
configuring date
configuring dbm
linking encoding emacs_mule.so
linking encoding euc_jp.so
linking encoding euc_kr.so
linking encoding euc_tw.so
linking encoding gb2312.so
linking encoding gb18030.so
linking encoding gbk.so
linking encoding iso_8859_1.so
linking encoding iso_8859_2.so
linking encoding iso_8859_3.so
linking encoding iso_8859_4.so
linking encoding iso_8859_5.so
linking encoding iso_8859_6.so
linking encoding iso_8859_7.so
compiling ./enc/trans/emoji_sjis_softbank.c
linking encoding iso_8859_8.so
linking encoding iso_8859_9.so
linking encoding iso_8859_10.so
linking encoding iso_8859_11.so
linking encoding iso_8859_13.so
linking encoding iso_8859_14.so
linking encoding iso_8859_15.so
linking encoding iso_8859_16.so
linking encoding koi8_r.so
linking encoding koi8_u.so
linking encoding shift_jis.so
linking encoding utf_16be.so
compiling ./enc/trans/escape.c
linking encoding utf_16le.so
linking encoding utf_32be.so
linking encoding utf_32le.so
compiling ./enc/trans/gb18030.c
linking encoding windows_31j.so
linking encoding windows_1250.so
linking encoding windows_1251.so
linking encoding windows_1252.so
compiling ./enc/trans/gbk.c
make[1]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
compiling ./enc/trans/iso2022.c
compiling ./enc/trans/japanese.c
compiling ./enc/trans/japanese_euc.c
compiling ./enc/trans/japanese_sjis.c
header: db.h
library: db
compiling ./enc/trans/korean.c
configuring digest
configuring digest/bubblebabble
configuring digest/md5
compiling ./enc/trans/single_byte.c
compiling ./enc/trans/utf8_mac.c
compiling ./enc/trans/utf_16_32.c
configuring digest/rmd160
linking transcoder transdb.so
linking transcoder big5.so
linking transcoder chinese.so
linking transcoder ebcdic.so
linking transcoder emoji.so
linking transcoder emoji_iso2022_kddi.so
linking transcoder emoji_sjis_docomo.so
linking transcoder emoji_sjis_kddi.so
linking transcoder emoji_sjis_softbank.so
linking transcoder escape.so
linking transcoder gb18030.so
linking transcoder gbk.so
linking transcoder iso2022.so
linking transcoder japanese.so
linking transcoder japanese_euc.so
linking transcoder japanese_sjis.so
linking transcoder korean.so
linking transcoder single_byte.so
linking transcoder utf_16_32.so
configuring digest/sha1
linking transcoder utf8_mac.so
make[1]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
making encs
make[1]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[1]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
configuring digest/sha2
configuring etc
configuring fcntl
configuring fiber
configuring fiddle
configuring gdbm
configuring io/console
configuring io/nonblock
configuring io/wait
configuring json
configuring json/generator
configuring json/parser
configuring mathn/complex
configuring mathn/rational
configuring nkf
configuring objspace
configuring openssl
configuring pathname
configuring psych
configuring pty
configuring racc/cparse
configuring rbconfig/sizeof
configuring readline
configuring ripper
configuring sdbm
configuring socket
configuring stringio
configuring strscan
configuring syslog
configuring thread
configuring tk
............
check struct members..
check libraries....
Use ActiveTcl libraries (if available).
Search tclConfig.sh and tkConfig.sh..............................
Fail to find [tclConfig.sh, tkConfig.sh]
Use X11 libraries (or use TK_XINCLUDES/TK_XLIBSW information on tkConfig.sh).
Search tcl.h.
Search tk.h..Search Tcl library..Search Tk library..........
Warning:: cannot find Tk library. tcltklib will not be compiled (tcltklib is disabled on your Ruby. That is, Ruby/Tk will not work). Please check configure options.
Can't find proper Tcl/Tk libraries. So, can't make tcltklib.so which is required by Ruby/Tk.
If you have Tcl/Tk libraries on your environment, you may be able to use them with configure options (see ext/tk/README.tcltklib).
At present, Tcl/Tk8.6 is not supported. Although you can try to use Tcl/Tk8.6 with configure options, it will not work correctly. I recommend you to use Tcl/Tk8.5 or 8.4.
Failed to configure tk. It will not be installed.
Failed to configure tk/tkutil. It will not be installed.
configuring zlib
make[1]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling resize.c
compiling bigzero.c
compiling bug.c
compiling div.c
compiling init.c
compiling bug.c
compiling str2big.c
In file included from div.c:1: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 str2big.c:1: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 bigzero.c:1: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 big2str.c
compiling intpack.c
compiling mul.c
linking shared-object -test-/array/resize.so
linking shared-object -test-/bug-3571/bug.so
linking shared-object -test-/bug-5832/bug.so
In file included from big2str.c:1: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]
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/array/resize'
In file included from intpack.c:1: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]
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling bug_reporter.c
In file included from mul.c:1: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]
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/bug-5832'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling init.c
compiling class2name.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/bug-3571'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling inspector.c
compiling init.c
compiling profile_frames.c
linking shared-object -test-/bug_reporter/bug_reporter.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/bug_reporter'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object -test-/bignum.so
compiling empty.c
linking shared-object -test-/class.so
linking shared-object -test-/dln/empty.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/class'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling enc_raise.c
compiling ensured.c
compiling init.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/dln/empty'
compiling dataerror.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/bignum'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling rb_fatal.c
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling stat.c
linking shared-object -test-/debug.so
compiling init.c
compiling fs.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/debug'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling init.c
compiling nextafter.c
linking shared-object -test-/fatal/rb_fatal.so
linking shared-object -test-/exception.so
linking shared-object -test-/file.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/fatal'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling passing_block.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/file'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling call_without_gvl.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/exception'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling init.c
compiling delete.c
linking shared-object -test-/float.so
linking shared-object -test-/gvl/call_without_gvl.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/float'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object -test-/funcall/funcall.so
compiling iseq_load.c
linking shared-object -test-/hash.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/gvl/call_without_gvl'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling yield.c
compiling init.c
compiling break.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/funcall'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/hash'
compiling dot.dot.c
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling usrcompat.c
linking shared-object -test-/load/dot.dot/dot.dot.so
linking shared-object -test-/iseq_load/iseq_load.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/load/dot.dot'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling internal_ivar.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/iseq_load'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling usrmarshal.c
linking shared-object -test-/iter.so
linking shared-object -test-/marshal/compat.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/iter'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling init.c
compiling arity.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/marshal/compat'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling bug.c
linking shared-object -test-/marshal/internal_ivar.so
linking shared-object -test-/marshal/usr.so
linking shared-object -test-/notimplement.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/marshal/internal_ivar'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object -test-/method.so
compiling num2int.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/marshal/usr'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling path_to_class.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/notimplement'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling infinite_loop_dlsym.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/method'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling postponed_job.c
linking shared-object -test-/path_to_class/path_to_class.so
linking shared-object -test-/popen_deadlock/infinite_loop_dlsym.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/path_to_class'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling printf.c
linking shared-object -test-/num2int/num2int.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/popen_deadlock'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object -test-/postponed_job.so
compiling receiver.c
compiling super.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/num2int'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling init.c
compiling rat.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/postponed_job'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling recursion.c
In file included from rat.c:1: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]
linking shared-object -test-/printf.so
linking shared-object -test-/proc.so
linking shared-object -test-/rational.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/proc'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/printf'
compiling foreach.c
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object -test-/recursion.so
compiling numhash.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/rational'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/recursion'
compiling update.c
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling cstr.c
compiling ellipsize.c
compiling enc_str_buf_cat.c
compiling nofree.c
In file included from cstr.c:1: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 fstring.c
linking shared-object -test-/st/numhash.so
linking shared-object -test-/st/update.so
compiling init.c
linking shared-object -test-/st/foreach.so
compiling enc_associate.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/st/numhash'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling duplicate.c
compiling init.c
compiling member.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/st/update'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling type.c
compiling init.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/st/foreach'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling normalize.c
compiling init.c
compiling new.c
compiling set_len.c
compiling qsort.c
In file included from normalize.c:1: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 modify.c
linking shared-object -test-/struct.so
linking shared-object -test-/time.so
compiling coderange.c
linking shared-object -test-/symbol.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/time'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling gc_hook.c
compiling tracepoint.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/struct'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling typeddata.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/symbol'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling at_exit.c
linking shared-object -test-/string.so
linking shared-object -test-/tracepoint.so
linking shared-object -test-/typeddata/typeddata.so
linking shared-object -test-/vm/at_exit.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/tracepoint'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling wait_for_single_fd.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/string'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling bigdecimal.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/typeddata'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/vm'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling escape.c
compiling continuation.c
installing default bigdecimal libraries
linking shared-object continuation.so
linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.so
linking shared-object cgi/escape.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/continuation'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/-test-/wait_for_single_fd'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling date_strptime.c
compiling date_strftime.c
compiling date_core.c
compiling date_parse.c
compiling coverage.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/cgi/escape'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling dbm.c
date_strftime.c: In function ‘date_strftime_with_tmx’:
date_strftime.c:573:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
padding = '0';
~~~~~~~~^~~~~
date_strftime.c:574:4: note: here
case '1': case '2': case '3': case '4':
^~~~
In file included from ../../method.h:14:0,
from ../../vm_core.h:62,
from coverage.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]
linking shared-object coverage.so
date_core.c: In function ‘datetime_s_jisx0301’:
date_core.c:8116:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("-4712-01-01T00:00:00+00:00");
date_core.c:8117:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_httpdate’:
date_core.c:8086:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("Mon, 01 Jan -4712 00:00:00 GMT");
date_core.c:8087:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_rfc2822’:
date_core.c:8056:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("Mon, 1 Jan -4712 00:00:00 +0000");
date_core.c:8057:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_xmlschema’:
date_core.c:8025:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("-4712-01-01T00:00:00+00:00");
date_core.c:8026:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_rfc3339’:
date_core.c:7995:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("-4712-01-01T00:00:00+00:00");
date_core.c:7996:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_iso8601’:
date_core.c:7965:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("-4712-01-01T00:00:00+00:00");
date_core.c:7966:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_parse’:
date_core.c:7925:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("-4712-01-01T00:00:00+00:00");
date_core.c:7926:7: note: here
case 1:
^~~~
date_core.c:7927:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
comp = Qtrue;
date_core.c:7928:7: note: here
case 2:
^~~~
date_core.c: In function ‘datetime_s_strptime’:
date_core.c:7882:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("-4712-01-01T00:00:00+00:00");
date_core.c:7883:7: note: here
case 1:
^~~~
date_core.c:7884:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
fmt = rb_str_new2("%FT%T%z");
date_core.c:7885:7: note: here
case 2:
^~~~
date_core.c: In function ‘datetime_s_commercial’:
date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:7445:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:7446:7: note: here
case 7:
^~~~
date_core.c:4696:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!offset_to_sec(vof, &iof)) {\
^
date_core.c:7447:2: note: in expansion of macro ‘val2off’
val2off(vof, rof);
^~~~~~~
date_core.c:7448:7: note: here
case 6:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:7449:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(s, positive_inf);
^~~~~~~~~~~~~~~~~
date_core.c:7450:7: note: here
case 5:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:7451:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(min, 5);
^~~~~~~~~~~~~~~~~
date_core.c:7452:7: note: here
case 4:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:7453:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(h, 4);
^~~~~~~~~~~~~~~~~
date_core.c:7454:7: note: here
case 3:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:7455:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(d, 3);
^~~~~~~~~~~~~~~~~
date_core.c:7456:7: note: here
case 2:
^~~~
date_core.c:7457:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
w = NUM2INT(vw);
date_core.c:7458:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_civil’:
date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:7348:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:7349:7: note: here
case 7:
^~~~
date_core.c:4696:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!offset_to_sec(vof, &iof)) {\
^
date_core.c:7350:2: note: in expansion of macro ‘val2off’
val2off(vof, rof);
^~~~~~~
date_core.c:7351:7: note: here
case 6:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:7352:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(s, positive_inf);
^~~~~~~~~~~~~~~~~
date_core.c:7353:7: note: here
case 5:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:7354:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(min, 5);
^~~~~~~~~~~~~~~~~
date_core.c:7355:7: note: here
case 4:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:7356:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(h, 4);
^~~~~~~~~~~~~~~~~
date_core.c:7357:7: note: here
case 3:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:7358:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(d, 3);
^~~~~~~~~~~~~~~~~
date_core.c:7359:7: note: here
case 2:
^~~~
date_core.c:7360:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
m = NUM2INT(vm);
date_core.c:7361:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_ordinal’:
date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:7271:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:7272:7: note: here
case 6:
^~~~
date_core.c:4696:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!offset_to_sec(vof, &iof)) {\
^
date_core.c:7273:2: note: in expansion of macro ‘val2off’
val2off(vof, rof);
^~~~~~~
date_core.c:7274:7: note: here
case 5:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:7275:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(s, positive_inf);
^~~~~~~~~~~~~~~~~
date_core.c:7276:7: note: here
case 4:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:7277:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(min, 4);
^~~~~~~~~~~~~~~~~
date_core.c:7278:7: note: here
case 3:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:7279:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(h, 3);
^~~~~~~~~~~~~~~~~
date_core.c:7280:7: note: here
case 2:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:7281:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(d, 2);
^~~~~~~~~~~~~~~~~
date_core.c:7282:7: note: here
case 1:
^~~~
date_core.c: In function ‘datetime_s_jd’:
date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:7202:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:7203:7: note: here
case 5:
^~~~
date_core.c:4696:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!offset_to_sec(vof, &iof)) {\
^
date_core.c:7204:2: note: in expansion of macro ‘val2off’
val2off(vof, rof);
^~~~~~~
date_core.c:7205:7: note: here
case 4:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:7206:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(s, positive_inf);
^~~~~~~~~~~~~~~~~
date_core.c:7207:7: note: here
case 3:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:7208:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(min, 3);
^~~~~~~~~~~~~~~~~
date_core.c:7209:7: note: here
case 2:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:7210:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(h, 2);
^~~~~~~~~~~~~~~~~
date_core.c:7211:7: note: here
case 1:
^~~~
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/coverage'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling digest.c
date_core.c: In function ‘date_s_jisx0301’:
date_core.c:4631:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("-4712-01-01");
date_core.c:4632:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_httpdate’:
date_core.c:4590:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("Mon, 01 Jan -4712 00:00:00 GMT");
date_core.c:4591:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_rfc2822’:
date_core.c:4548:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("Mon, 1 Jan -4712 00:00:00 +0000");
date_core.c:4549:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_xmlschema’:
date_core.c:4504:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("-4712-01-01");
date_core.c:4505:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_rfc3339’:
date_core.c:4463:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("-4712-01-01T00:00:00+00:00");
date_core.c:4464:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_iso8601’:
date_core.c:4422:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("-4712-01-01");
date_core.c:4423:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_parse’:
date_core.c:4366:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("-4712-01-01");
date_core.c:4367:7: note: here
case 1:
^~~~
date_core.c:4368:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
comp = Qtrue;
date_core.c:4369:7: note: here
case 2:
^~~~
date_core.c: In function ‘date_s_strptime’:
date_core.c:4275:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
str = rb_str_new2("-4712-01-01");
date_core.c:4276:7: note: here
case 1:
^~~~
date_core.c:4277:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
fmt = rb_str_new2("%F");
date_core.c:4278:7: note: here
case 2:
^~~~
date_core.c: In function ‘date_s_commercial’:
date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:3480:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:3481:7: note: here
case 3:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:3482:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(d, positive_inf);
^~~~~~~~~~~~~~~~~
date_core.c:3483:7: note: here
case 2:
^~~~
date_core.c:3484:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
w = NUM2INT(vw);
date_core.c:3485:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_civil’:
date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:3403:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:3404:7: note: here
case 3:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:3405:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(d, positive_inf);
^~~~~~~~~~~~~~~~~
date_core.c:3406:7: note: here
case 2:
^~~~
date_core.c:3407:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
m = NUM2INT(vm);
date_core.c:3408:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_ordinal’:
date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:3334:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:3335:7: note: here
case 2:
^~~~
date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (f_nonzero_p(fr)) {\
^
date_core.c:3336:2: note: in expansion of macro ‘num2int_with_frac’
num2int_with_frac(d, positive_inf);
^~~~~~~~~~~~~~~~~
date_core.c:3337:7: note: here
case 1:
^~~~
date_core.c: In function ‘date_s_jd’:
date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!c_valid_start_p(dsg)) {\
^
date_core.c:3282:2: note: in expansion of macro ‘val2sg’
val2sg(vsg, sg);
^~~~~~
date_core.c:3283:7: note: here
case 1:
^~~~
installing digest libraries
installing default digest libraries
linking shared-object dbm.so
linking shared-object digest.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/dbm'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling bubblebabble.c
installing default date_core libraries
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/digest'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling md5init.c
linking shared-object digest/bubblebabble.so
linking shared-object digest/md5.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/digest/bubblebabble'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling rmd160init.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/digest/md5'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling sha1init.c
linking shared-object digest/rmd160.so
linking shared-object digest/sha1.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/digest/rmd160'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling sha2init.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/digest/sha1'
installing default sha2 libraries
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
generating constant definitions
compiling etc.c
linking shared-object digest/sha2.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/digest/sha2'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling fcntl.c
linking shared-object fcntl.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/fcntl'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling fiber.c
linking shared-object fiber.so
linking shared-object etc.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/fiber'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling conversions.c
compiling function.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/etc'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling gdbm.c
compiling handle.c
compiling pointer.c
compiling fiddle.c
compiling closure.c
installing default fiddle libraries
In file included from closure.c:3: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]
linking shared-object fiddle.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/fiddle'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling console.c
installing default console libraries
linking shared-object gdbm.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/gdbm'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling nonblock.c
linking shared-object io/nonblock.so
linking shared-object bigdecimal.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/io/nonblock'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling wait.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/bigdecimal'
linking shared-object io/console.so
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
installing default libraries
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/json'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling generator.c
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/io/console'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling parser.c
linking shared-object io/wait.so
parser.c: In function ‘cParser_parse_quirks_mode’:
parser.c:1968:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1970:1: note: here
case 1:
^~~~
parser.rl:803:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
begin_value >parse_value
^
parser.rl:805:1: note: here
}%%
^~~
parser.c:2015:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2017:1: note: here
case 2:
^~~~
parser.c:2024:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2026:1: note: here
case 3:
^~~~
parser.c:2031:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2033:1: note: here
case 4:
^~~~
parser.c:2040:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2042:1: note: here
case 5:
^~~~
parser.c:2047:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2049:1: note: here
case 6:
^~~~
parser.c:2056:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2058:1: note: here
case 7:
^~~~
parser.c:2063:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2065:1: note: here
case 8:
^~~~
parser.c:2072:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:2074:1: note: here
case 9:
^~~~
generator.c: In function ‘convert_UTF8_to_JSON_ASCII’:
generator.c:148:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 5: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
~~~^~~~~
generator.c:149:13: note: here
case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
^~~~
generator.c:149:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
~~~^~~~~
generator.c:150:13: note: here
case 3: ch += *source++; ch <<= 6;
^~~~
generator.c:150:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 3: ch += *source++; ch <<= 6;
~~~^~~~~
generator.c:151:13: note: here
case 2: ch += *source++; ch <<= 6;
^~~~
generator.c:151:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 2: ch += *source++; ch <<= 6;
~~~^~~~~
generator.c:152:13: note: here
case 1: ch += *source++; ch <<= 6;
^~~~
generator.c:152:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 1: ch += *source++; ch <<= 6;
~~~^~~~~
generator.c:153:13: note: here
case 0: ch += *source++;
^~~~
parser.c: In function ‘JSON_parse_value’:
parser.rl:227:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
*result = CNaN;
^
parser.rl:229:1: note: here
rb_enc_raise(EXC_ENCODING eParserError, "%u: unexpected token at '%s'", __LINE__, p - 2);
^
parser.c:630:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:632:1: note: here
case 2:
^~~~
parser.c:637:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:639:1: note: here
case 3:
^~~~
parser.c:644:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:646:1: note: here
case 4:
^~~~
parser.c:651:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:653:1: note: here
case 5:
^~~~
parser.c:658:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:660:1: note: here
case 6:
^~~~
parser.c:665:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:667:1: note: here
case 7:
^~~~
parser.c:672:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:674:1: note: here
case 8:
^~~~
parser.c:679:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:681:1: note: here
case 9:
^~~~
parser.c:686:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:688:1: note: here
case 10:
^~~~
parser.c:693:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:695:1: note: here
case 11:
^~~~
parser.c:700:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:702:1: note: here
case 12:
^~~~
parser.c:707:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
generator.c: In function ‘isLegalUTF8’:
parser.c:709:1: note: here
case 13:
^~~~
parser.c:714:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
generator.c:86:46: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
parser.c:716:1: note: here
case 14:
^~~~
generator.c:87:9: note: here
case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
^~~~
parser.c:721:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:723:1: note: here
case 15:
^~~~
generator.c:87:46: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
parser.c:728:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
generator.c:88:9: note: here
case 2: if ((a = (*--srcptr)) > 0xBF) return 0;
^~~~
parser.c:730:1: note: here
case 16:
^~~~
generator.c:96:39: warning: this statement may fall through [-Wimplicit-fallthrough=]
default: if (a < 0x80) return 0;
^
parser.c:735:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
generator.c:99:9: note: here
case 1: if (*source >= 0x80 && *source < 0xC2) return 0;
^~~~
parser.c:737:1: note: here
case 17:
^~~~
parser.c:742:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:744:1: note: here
case 18:
^~~~
parser.c:749:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:751:1: note: here
case 19:
^~~~
parser.c:756:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:758:1: note: here
case 20:
^~~~
parser.c: In function ‘JSON_parse_string’:
parser.c:1447:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1449:1: note: here
case 2:
^~~~
parser.c:1479:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1481:1: note: here
case 3:
^~~~
parser.c:1488:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1490:1: note: here
case 4:
^~~~
parser.c:1501:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1503:1: note: here
case 5:
^~~~
parser.c:1514:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1516:1: note: here
case 6:
^~~~
parser.c:1527:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1529:1: note: here
case 7:
^~~~
parser.c: In function ‘JSON_parse_float’:
parser.c:939:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:941:1: note: here
case 2:
^~~~
parser.c:948:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:950:1: note: here
case 3:
^~~~
parser.c:958:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:960:1: note: here
case 4:
^~~~
parser.c:965:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:967:1: note: here
case 8:
^~~~
parser.c:989:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:991:1: note: here
case 5:
^~~~
parser.c:1000:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1002:1: note: here
case 6:
^~~~
parser.c:1007:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1009:1: note: here
case 10:
^~~~
parser.c:1021:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1023:1: note: here
case 7:
^~~~
parser.c: In function ‘JSON_parse_integer’:
parser.c:840:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:842:1: note: here
case 2:
^~~~
parser.c:849:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:851:1: note: here
case 3:
^~~~
parser.c:866:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:868:1: note: here
case 5:
^~~~
parser.c: In function ‘JSON_parse_array’:
parser.c:1106:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1108:1: note: here
case 2:
^~~~
parser.rl:394:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
^
parser.rl:396:1: note: here
^
parser.c:1163:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1165:1: note: here
case 4:
^~~~
parser.c:1187:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1189:1: note: here
case 5:
^~~~
parser.c:1196:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1198:1: note: here
case 6:
^~~~
parser.c:1203:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1205:1: note: here
case 7:
^~~~
parser.c:1212:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1214:1: note: here
case 8:
^~~~
parser.c:1219:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1221:1: note: here
case 9:
^~~~
parser.c:1228:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1230:1: note: here
case 10:
^~~~
parser.c:1235:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1237:1: note: here
case 11:
^~~~
parser.c:1244:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1246:1: note: here
case 12:
^~~~
parser.c:1261:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1263:1: note: here
case 13:
^~~~
parser.c:1270:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1272:1: note: here
case 14:
^~~~
parser.c:1277:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1279:1: note: here
case 15:
^~~~
parser.c:1286:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1288:1: note: here
case 16:
^~~~
parser.c: In function ‘JSON_parse_object’:
parser.c:156:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:158:1: note: here
case 2:
^~~~
parser.rl:162:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
^
parser.rl:164:1: note: here
next_pair = ignore* value_separator pair;
^
parser.c:194:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:196:1: note: here
case 4:
^~~~
parser.c:203:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:205:1: note: here
case 5:
^~~~
parser.c:210:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:212:1: note: here
case 6:
^~~~
parser.c:219:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:221:1: note: here
case 7:
^~~~
parser.c:226:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:228:1: note: here
case 8:
^~~~
parser.rl:154:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
char *np;
^
parser.rl:156:1: note: here
np = JSON_parse_string(json, fpc, pe, &last_name);
^
parser.c:282:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:284:1: note: here
case 10:
^~~~
parser.c:295:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:297:1: note: here
case 11:
^~~~
parser.c:304:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:306:1: note: here
case 12:
^~~~
parser.c:311:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:313:1: note: here
case 13:
^~~~
parser.c:320:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:322:1: note: here
case 14:
^~~~
parser.c:327:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:329:1: note: here
case 15:
^~~~
parser.c:336:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:338:1: note: here
case 16:
^~~~
parser.c:343:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:345:1: note: here
case 17:
^~~~
parser.c:352:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:354:1: note: here
case 18:
^~~~
parser.c:369:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:371:1: note: here
case 19:
^~~~
parser.c:378:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:380:1: note: here
case 20:
^~~~
parser.c:385:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:387:1: note: here
case 21:
^~~~
parser.c:394:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:396:1: note: here
case 22:
^~~~
parser.c:401:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:403:1: note: here
case 23:
^~~~
parser.c:410:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:412:1: note: here
case 24:
^~~~
parser.c:417:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:419:1: note: here
case 25:
^~~~
parser.c:426:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:428:1: note: here
case 26:
^~~~
parser.c: In function ‘cParser_parse_strict’:
parser.c:1794:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1796:1: note: here
case 1:
^~~~
parser.c:1811:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1813:1: note: here
case 2:
^~~~
parser.c:1820:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1822:1: note: here
case 3:
^~~~
parser.c:1827:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1829:1: note: here
case 4:
^~~~
parser.c:1836:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1838:1: note: here
case 5:
^~~~
parser.rl:757:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
char *np;
^
parser.rl:759:1: note: here
np = JSON_parse_array(json, fpc, pe, &result);
^
parser.c:1874:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1876:1: note: here
case 6:
^~~~
parser.c:1883:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1885:1: note: here
case 7:
^~~~
parser.c:1890:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1892:1: note: here
case 8:
^~~~
parser.c:1899:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ( ++p == pe )
^
parser.c:1901:1: note: here
case 9:
^~~~
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/io/wait'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling complex.c
linking shared-object mathn/complex.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/mathn/complex'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling rational.c
linking shared-object mathn/rational.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/mathn/rational'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling nkf.c
installing default nkf libraries
linking shared-object date_core.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/date'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling object_tracing.c
compiling objspace_dump.c
compiling objspace.c
In file included from object_tracing.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]
linking shared-object json/ext/parser.so
In file included from nkf.c:62:0:
nkf-utf8/nkf.c: In function ‘module_connection’:
nkf-utf8/nkf.c:5710:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (nkf_enc_unicode_p(output_encoding))
^~
nkf-utf8/nkf.c:5713:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (x0201_f == NKF_UNSPECIFIED) {
^~
In file included from objspace_dump.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]
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/json/parser'
make[2]: Entering directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling ossl_pkey.c
compiling ossl_x509ext.c
nkf-utf8/nkf.c: In function ‘options’:
nkf-utf8/nkf.c:6807:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
fold_preserve_f = TRUE;
nkf-utf8/nkf.c:6808:2: note: here
case 'f': /* folding -f60 or -f */
^~~~
compiling ossl_ssl_session.c
In file included from objspace.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 ossl_bio.c
In file included from nkf.c:62:0:
nkf-utf8/nkf.c: In function ‘set_input_encoding’:
nkf-utf8/nkf.c:1238:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (x0201_f == NKF_UNSPECIFIED) x0201_f = FALSE; /* -x specified implicitly */
^
nkf-utf8/nkf.c:1239:5: note: here
case CP50220:
^~~~
In file included from ossl.h:57:0,
from ossl_pkey.c:10:
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software."
#error "This file is obsolete; please update your software."
^~~~~
In file included from ossl.h:57:0,
from ossl_x509ext.c:10:
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software."
#error "This file is obsolete; please update your software."
^~~~~
In file included from ossl.h:57:0,
from ossl_bio.c:10:
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software."
#error "This file is obsolete; please update your software."
^~~~~
In file included from ossl.h:57:0,
from ossl_ssl_session.c:5:
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software."
#error "This file is obsolete; please update your software."
^~~~~
In file included from ossl.h:221:0,
from ossl_pkey.c:10:
openssl_missing.h:78:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
EVP_MD_CTX *EVP_MD_CTX_create(void);
^
In file included from /usr/include/openssl/x509.h:23:0,
from /usr/include/openssl/x509v3.h:14,
from ossl.h:58,
from ossl_pkey.c:10:
openssl_missing.h:82:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
^
openssl_missing.h:90:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
^
In file included from ossl.h:235:0,
from ossl_pkey.c:10:
ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if HAVE_BN_GENCB
^~~~~~~~~~~~~
ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
ossl_pkey.c:35:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if HAVE_BN_GENCB
^~~~~~~~~~~~~
ossl_pkey.c:35:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
ossl_pkey.c:35:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
ossl_pkey.c: In function ‘ossl_generate_cb_2’:
ossl_pkey.c:44:44: error: dereferencing pointer to incomplete type ‘BN_GENCB {aka struct bn_gencb_st}’
arg = (struct ossl_generate_cb_arg *)cb->arg;
^~
ossl_pkey.c: In function ‘ossl_pkey_new’:
ossl_pkey.c:94:31: error: dereferencing pointer to incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’
switch (EVP_PKEY_type(pkey->type)) {
^~
In file included from ossl.h:221:0,
from ossl_bio.c:10:
openssl_missing.h:78:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
EVP_MD_CTX *EVP_MD_CTX_create(void);
^
In file included from /usr/include/openssl/x509.h:23:0,
from /usr/include/openssl/x509v3.h:14,
from ossl.h:58,
from ossl_bio.c:10:
openssl_missing.h:82:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
^
openssl_missing.h:90:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
^
In file included from ossl.h:235:0,
from ossl_bio.c:10:
ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if HAVE_BN_GENCB
^~~~~~~~~~~~~
ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
ossl_pkey.c: In function ‘DupPKeyPtr’:
ossl_pkey.c:215:5: warning: implicit declaration of function ‘CRYPTO_add’; did you mean ‘CRYPTO_free’? [-Wimplicit-function-declaration]
CRYPTO_add(&pkey->references, 1, CRYPTO_LOCK_EVP_PKEY);
^~~~~~~~~~
CRYPTO_free
make[2]: *** [Makefile:301: ossl_bio.o] Error 1
make[2]: *** Waiting for unfinished jobs....
ossl_pkey.c:215:38: error: ‘CRYPTO_LOCK_EVP_PKEY’ undeclared (first use in this function); did you mean ‘CRYPTO_LOCK’?
CRYPTO_add(&pkey->references, 1, CRYPTO_LOCK_EVP_PKEY);
^~~~~~~~~~~~~~~~~~~~
CRYPTO_LOCK
ossl_pkey.c:215:38: note: each undeclared identifier is reported only once for each function it appears in
In file included from ossl.h:221:0,
from ossl_x509ext.c:10:
openssl_missing.h:78:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
EVP_MD_CTX *EVP_MD_CTX_create(void);
^
In file included from /usr/include/openssl/x509.h:23:0,
from /usr/include/openssl/x509v3.h:14,
from ossl.h:58,
from ossl_x509ext.c:10:
openssl_missing.h:82:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
^
openssl_missing.h:90:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
^
In file included from ossl.h:235:0,
from ossl_x509ext.c:10:
ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if HAVE_BN_GENCB
^~~~~~~~~~~~~
ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ossl.h:221:0,
from ossl_ssl_session.c:5:
openssl_missing.h:78:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
EVP_MD_CTX *EVP_MD_CTX_create(void);
^
In file included from /usr/include/openssl/x509.h:23:0,
from /usr/include/openssl/x509v3.h:14,
from ossl.h:58,
from ossl_ssl_session.c:5:
openssl_missing.h:82:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
^
openssl_missing.h:90:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
^
In file included from ossl.h:235:0,
from ossl_ssl_session.c:5:
ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if HAVE_BN_GENCB
^~~~~~~~~~~~~
ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
ossl_ssl_session.c: In function ‘SSL_SESSION_cmp’:
ossl_ssl_session.c:79:10: error: dereferencing pointer to incomplete type ‘SSL_SESSION {aka const struct ssl_session_st}’
if (a->ssl_version != b->ssl_version ||
^~
ossl_pkey.c: In function ‘DupPrivPKeyPtr’:
ossl_pkey.c:229:38: error: ‘CRYPTO_LOCK_EVP_PKEY’ undeclared (first use in this function); did you mean ‘CRYPTO_LOCK’?
CRYPTO_add(&pkey->references, 1, CRYPTO_LOCK_EVP_PKEY);
^~~~~~~~~~~~~~~~~~~~
CRYPTO_LOCK
ossl_pkey.c: In function ‘ossl_pkey_sign’:
ossl_pkey.c:289:16: error: storage size of ‘ctx’ isn’t known
EVP_MD_CTX ctx;
^~~
ossl_pkey.c:289:16: warning: unused variable ‘ctx’ [-Wunused-variable]
ossl_pkey.c: In function ‘ossl_pkey_verify’:
ossl_pkey.c:337:16: error: storage size of ‘ctx’ isn’t known
EVP_MD_CTX ctx;
^~~
ossl_pkey.c:337:16: warning: unused variable ‘ctx’ [-Wunused-variable]
ossl_ssl_session.c:87:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[2]: *** [Makefile:301: ossl_ssl_session.o] Error 1
make[2]: *** [Makefile:301: ossl_pkey.o] Error 1
ossl_x509ext.c: In function ‘ossl_x509ext_set_value’:
ossl_x509ext.c:370:9: warning: implicit declaration of function ‘M_ASN1_OCTET_STRING_set’; did you mean ‘ASN1_OCTET_STRING_set’? [-Wimplicit-function-declaration]
if(!M_ASN1_OCTET_STRING_set(asn1s, s, RSTRING_LENINT(data))){
^~~~~~~~~~~~~~~~~~~~~~~
ASN1_OCTET_STRING_set
ossl_x509ext.c: In function ‘ossl_x509ext_get_value’:
ossl_x509ext.c:427:2: warning: implicit declaration of function ‘M_ASN1_OCTET_STRING_print’; did you mean ‘ASN1_OCTET_STRING_set’? [-Wimplicit-function-declaration]
M_ASN1_OCTET_STRING_print(out, ext->value);
^~~~~~~~~~~~~~~~~~~~~~~~~
ASN1_OCTET_STRING_set
ossl_x509ext.c:427:36: error: dereferencing pointer to incomplete type ‘X509_EXTENSION {aka struct X509_extension_st}’
M_ASN1_OCTET_STRING_print(out, ext->value);
^~
make[2]: *** [Makefile:301: ossl_x509ext.o] Error 1
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/openssl'
make[1]: *** [exts.mk:209: ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
linking shared-object json/ext/generator.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/json/generator'
linking shared-object objspace.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/objspace'
linking shared-object nkf.so
make[2]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1/ext/nkf'
make[1]: Leaving directory '/home/hvardhan/.rvm/src/ruby-2.3.1'
make: *** [uncommon.mk:203: build-ext] Error 2
+__rvm_make:0> return 2
@sclark
Copy link

sclark commented Apr 7, 2018

I am having the same build error. Do you know how this was resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment