Skip to content

Instantly share code, notes, and snippets.

@ramonsnir
Created December 7, 2016 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramonsnir/6b5487b7529ca343ea355f07bb4917b8 to your computer and use it in GitHub Desktop.
Save ramonsnir/6b5487b7529ca343ea355f07bb4917b8 to your computer and use it in GitHub Desktop.
rvm/issues/3831
[2016-12-07 12:39:49] __rvm_make
__rvm_make ()
{
\make "$@" || return $?
}
current path: /home/ramon/.rvm/src/ruby-1.9.3-p551
GEM_HOME=/home/ramon/.rvm/gems/ruby-1.9.3-p551
PATH=/home/ramon/.rvm/gems/ruby-1.9.3-p551/bin:/home/ramon/.rvm/gems/ruby-1.9.3-p551@global/bin:/home/ramon/.rvm/rubies/ruby-1.9.3-p551/bin:/home/ramon/.rvm/bin:/home/ramon/.nvm/versions/node/v6.9.1/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/bin:/home/ramon/.cabal/bin:/bin:/home/ramon/npm/bin:/home/ramon/.opam/system/bin:/usr/local/bin:/home/ramon/.cabal/bin:/bin:/home/ramon/npm/bin:/home/ramon/.opam/system/bin
GEM_PATH=/home/ramon/.rvm/gems/ruby-1.9.3-p551:/home/ramon/.rvm/gems/ruby-1.9.3-p551@global
command(2): __rvm_make -j8
++ make -j8
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I.
DLDFLAGS = -Wl,-soname,libruby.so.1.9
SOLIBS = -lpthread -lrt -ldl -lcrypt -lm
compiling main.c
compiling dmydln.c
compiling dmyencoding.c
compiling version.c
compiling miniprelude.c
compiling array.c
compiling bignum.c
compiling class.c
compiling compar.c
compiling complex.c
compiling dir.c
In file included from bignum.c:12:0:
bignum.c: In function ‘rb_big_cmp’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1449:23: note: in expansion of macro ‘INT2FIX’
if (a > 0.0) return INT2FIX(-1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1460:51: note: in expansion of macro ‘INT2FIX’
if (RBIGNUM_SIGN(x) < RBIGNUM_SIGN(y)) return INT2FIX(-1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1462:29: note: in expansion of macro ‘INT2FIX’
return (RBIGNUM_SIGN(x)) ? INT2FIX(-1) : INT2FIX(1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1464:42: note: in expansion of macro ‘INT2FIX’
return (RBIGNUM_SIGN(x)) ? INT2FIX(1) : INT2FIX(-1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1472:34: note: in expansion of macro ‘INT2FIX’
(RBIGNUM_SIGN(x) ? INT2FIX(1) : INT2FIX(-1)) :
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1473:25: note: in expansion of macro ‘INT2FIX’
(RBIGNUM_SIGN(x) ? INT2FIX(-1) : INT2FIX(1));
^~~~~~~
bignum.c: In function ‘big_op’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1493:22: note: in expansion of macro ‘INT2FIX’
if (a > 0.0) rel = INT2FIX(-1);
^~~~~~~
bignum.c: In function ‘rb_big_neg’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:1680:20: note: in expansion of macro ‘INT2FIX’
if (!i) return INT2FIX(~(SIGNED_VALUE)0);
^~~~~~~
class.c: In function ‘rb_obj_methods’:
class.c:1020:8: warning: variable ‘args’ set but not used [-Wunused-but-set-variable]
VALUE args[1];
^~~~
In file included from array.c:14:0:
array.c: In function ‘rb_ary_cmp’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
array.c:3341:12: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
bignum.c: In function ‘bdigbitsize’:
bignum.c:2918:23: warning: left shift of negative value [-Wshift-negative-value]
BDIGIT bits = (~0 << nb);
^~
In file included from bignum.c:12:0:
bignum.c: In function ‘check_shiftdown’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:3414:40: note: in expansion of macro ‘INT2FIX’
return RBIGNUM_SIGN(x) ? INT2FIX(0) : INT2FIX(-1);
^~~~~~~
bignum.c: In function ‘big_rshift’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:3538:13: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bignum.c:3548:14: note: in expansion of macro ‘INT2FIX’
else return INT2FIX(-1);
^~~~~~~
bignum.c:3532:20: warning: variable ‘save_x’ set but not used [-Wunused-but-set-variable]
volatile VALUE save_x;
^~~~~~
dir.c: In function ‘dir_read’:
dir.c:589:5: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations]
if (READDIR(dirp->dir, dirp->enc, &STRUCT_DIRENT(entry), dp)) {
^~
In file included from dir.c:26:0:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR *__restrict __dirp,
^~~~~~~~~
dir.c: In function ‘dir_each’:
dir.c:631:5: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations]
while (READDIR(dirp->dir, dirp->enc, &STRUCT_DIRENT(entry), dp)) {
^~~~~
In file included from dir.c:26:0:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR *__restrict __dirp,
^~~~~~~~~
compiling dln_find.c
dir.c: In function ‘glob_helper’:
dir.c:1387:2: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations]
while (READDIR(dirp, enc, &STRUCT_DIRENT(entry), dp)) {
^~~~~
In file included from dir.c:26:0:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR *__restrict __dirp,
^~~~~~~~~
dir.c: In function ‘dir_open_dir’:
dir.c:1852:22: warning: variable ‘dirp’ set but not used [-Wunused-but-set-variable]
struct dir_data *dirp;
^~~~
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling load.c
compiling proc.c
proc.c: In function ‘binding_free’:
proc.c:241:19: warning: variable ‘bind’ set but not used [-Wunused-but-set-variable]
rb_binding_t *bind;
^~~~
In file included from eval.c:14:0:
eval.c: In function ‘rb_rescue2’:
eval_intern.h:112:23: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rb_thread_t * const _th = (th); \
^~~
eval_intern.h:112:23: note: ‘_th’ was declared here
rb_thread_t * const _th = (th); \
^
eval_intern.h:125:20: note: in expansion of macro ‘TH_PUSH_TAG’
#define PUSH_TAG() TH_PUSH_TAG(GET_THREAD())
^~~~~~~~~~~
eval.c:667:7: note: in expansion of macro ‘PUSH_TAG’
PUSH_TAG();
^~~~~~~~
compiling file.c
compiling gc.c
In file included from file.c:23:0:
file.c: In function ‘rb_stat_cmp’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
file.c:323:51: note: in expansion of macro ‘INT2FIX’
if (ts1.tv_nsec < ts2.tv_nsec) return INT2FIX(-1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
file.c:326:45: note: in expansion of macro ‘INT2FIX’
if (ts1.tv_sec < ts2.tv_sec) return INT2FIX(-1);
^~~~~~~
gc.c: In function ‘objspace_each_objects’:
gc.c:2721:20: warning: variable ‘v’ set but not used [-Wunused-but-set-variable]
volatile VALUE v;
^
compiling hash.c
compiling inits.c
compiling io.c
io.c: In function ‘rb_io_each_byte’:
io.c:3118:15: warning: variable ‘e’ set but not used [-Wunused-but-set-variable]
char *p, *e;
^
compiling marshal.c
io.c: In function ‘pipe_open’:
io.c:5357:12: warning: variable ‘argv’ set but not used [-Wunused-but-set-variable]
VALUE *argv;
^~~~
io.c:5356:9: warning: variable ‘argc’ set but not used [-Wunused-but-set-variable]
int argc;
^~~~
compiling math.c
compiling node.c
compiling numeric.c
In file included from numeric.c:12:0:
numeric.c: In function ‘rb_dbl_cmp’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:1066:23: note: in expansion of macro ‘INT2FIX’
if (a < b) return INT2FIX(-1);
^~~~~~~
numeric.c: In function ‘flo_cmp’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:1095:18: note: in expansion of macro ‘INT2FIX’
else return INT2FIX(-1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:1112:13: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
numeric.c: In function ‘fix_pow’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:2778:10: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:2792:18: note: in expansion of macro ‘INT2FIX’
else return INT2FIX(-1);
^~~~~~~
numeric.c: In function ‘fix_cmp’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:2855:9: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
numeric.c: In function ‘fix_rshift’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:3110:22: note: in expansion of macro ‘INT2FIX’
if (val < 0) return INT2FIX(-1);
^~~~~~~
numeric.c: In function ‘Init_Numeric’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:3590:43: note: in expansion of macro ‘INT2FIX’
rb_define_const(rb_cFloat, "MIN_EXP", INT2FIX(DBL_MIN_EXP));
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
numeric.c:3592:46: note: in expansion of macro ‘INT2FIX’
rb_define_const(rb_cFloat, "MIN_10_EXP", INT2FIX(DBL_MIN_10_EXP));
^~~~~~~
compiling object.c
In file included from object.c:14:0:
object.c: In function ‘rb_mod_cmp’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
object.c:1470:9: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
compiling pack.c
pack.c: In function ‘pack_pack’:
pack.c:381:9: warning: variable ‘signed_p’ set but not used [-Wunused-but-set-variable]
int signed_p, integer_size, bigendian_p;
^~~~~~~~
compiling parse.c
In file included from parse.y:22:0:
parse.y: In function ‘ruby_yyparse’:
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:1340:4: note: in expansion of macro ‘nd_set_line’
nd_set_line($$, $<num>2);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:2653:5: note: in expansion of macro ‘nd_set_line’
nd_set_line($3, $<num>2);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:2656:4: note: in expansion of macro ‘nd_set_line’
nd_set_line($$, $<num>2);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:2946:4: note: in expansion of macro ‘nd_set_line’
nd_set_line($$, $<num>4);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:2991:4: note: in expansion of macro ‘nd_set_line’
nd_set_line($$, $<num>3);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:3012:4: note: in expansion of macro ‘nd_set_line’
nd_set_line($$, $<num>1);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:3034:4: note: in expansion of macro ‘nd_set_line’
nd_set_line($$, $<num>1);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:3586:4: note: in expansion of macro ‘nd_set_line’
nd_set_line($$, $<num>2);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:3732:4: note: in expansion of macro ‘nd_set_line’
nd_set_line($$, $<num>2);
^~~~~~~~~~~
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:3751:4: note: in expansion of macro ‘nd_set_line’
nd_set_line($$, $<num>2);
^~~~~~~~~~~
parse.y: In function ‘parser_compile_string’:
parse.y:5309:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
volatile VALUE tmp;
^~~
parse.y: In function ‘rb_parser_compile_file’:
parse.y:5370:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
volatile VALUE tmp;
^~~
In file included from parse.y:22:0:
parse.y: In function ‘parser_heredoc_identifier’:
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:6191:5: note: in expansion of macro ‘nd_set_line’
nd_set_line(lex_strterm, ruby_sourceline);
^~~~~~~~~~~
compiling process.c
parse.y: In function ‘node_newnode’:
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:8024:5: note: in expansion of macro ‘nd_set_line’
nd_set_line(n, ruby_sourceline);
^~~~~~~~~~~
parse.y: In function ‘fixpos’:
node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
parse.y:8056:5: note: in expansion of macro ‘nd_set_line’
nd_set_line(node, nd_line(orig));
^~~~~~~~~~~
compiling random.c
process.c: In function ‘rb_proc_exec_n’:
process.c:1134:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
int ret = -1;
^~~
In file included from process.c:14:0:
process.c: In function ‘check_exec_fds’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
process.c:1664:46: note: in expansion of macro ‘INT2FIX’
rb_hash_aset(h, INT2FIX(fd), INT2FIX(-1));
^~~~~~~
compiling range.c
compiling rational.c
compiling re.c
compiling regcomp.c
compiling regenc.c
regcomp.c: In function ‘is_not_included’:
regcomp.c:2436:13: warning: variable ‘c’ set but not used [-Wunused-but-set-variable]
UChar *p, c;
^
regcomp.c: In function ‘update_string_node_case_fold’:
regcomp.c:3226:14: warning: variable ‘q’ set but not used [-Wunused-but-set-variable]
UChar *p, *q, *end, buf[ONIGENC_MBC_CASE_FOLD_MAXLEN];
^
compiling regerror.c
compiling regexec.c
compiling regparse.c
compiling regsyntax.c
regparse.c: In function ‘fetch_escaped_value’:
regparse.c:261:30: warning: variable ‘pfetch_prev’ set but not used [-Wunused-but-set-variable]
#define PFETCH_READY UChar* pfetch_prev
^
regparse.c:2452:3: note: in expansion of macro ‘PFETCH_READY’
PFETCH_READY;
^~~~~~~~~~~~
regparse.c: In function ‘fetch_name’:
regparse.c:261:30: warning: variable ‘pfetch_prev’ set but not used [-Wunused-but-set-variable]
#define PFETCH_READY UChar* pfetch_prev
^
regparse.c:2665:3: note: in expansion of macro ‘PFETCH_READY’
PFETCH_READY;
^~~~~~~~~~~~
regparse.c: In function ‘parse_posix_bracket’:
regparse.c:261:30: warning: variable ‘pfetch_prev’ set but not used [-Wunused-but-set-variable]
#define PFETCH_READY UChar* pfetch_prev
^
regparse.c:4044:3: note: in expansion of macro ‘PFETCH_READY’
PFETCH_READY;
^~~~~~~~~~~~
regparse.c: In function ‘fetch_char_property_to_ctype’:
regparse.c:261:30: warning: variable ‘pfetch_prev’ set but not used [-Wunused-but-set-variable]
#define PFETCH_READY UChar* pfetch_prev
^
regparse.c:4097:3: note: in expansion of macro ‘PFETCH_READY’
PFETCH_READY;
^~~~~~~~~~~~
regparse.c: In function ‘code_exist_check’:
regparse.c:261:30: warning: variable ‘pfetch_prev’ set but not used [-Wunused-but-set-variable]
#define PFETCH_READY UChar* pfetch_prev
^
regparse.c:4262:3: note: in expansion of macro ‘PFETCH_READY’
PFETCH_READY;
^~~~~~~~~~~~
compiling ruby.c
compiling safe.c
compiling signal.c
signal.c: In function ‘trap_handler’:
signal.c:826:17: warning: variable ‘proc’ set but not used [-Wunused-but-set-variable]
rb_proc_t *proc;
^~~~
compiling sprintf.c
compiling st.c
sprintf.c: In function ‘remove_sign_bits’:
sprintf.c:26:32: warning: left shift of negative value [-Wshift-negative-value]
#define EXTENDSIGN(n, l) (((~0 << (n)) >> (((n)*(l)) % BITSPERDIG)) & ~(~0 << (n)))
^
sprintf.c:41:8: note: in expansion of macro ‘EXTENDSIGN’
*t |= EXTENDSIGN(3, strlen(t));
^~~~~~~~~~
sprintf.c:26:76: warning: left shift of negative value [-Wshift-negative-value]
#define EXTENDSIGN(n, l) (((~0 << (n)) >> (((n)*(l)) % BITSPERDIG)) & ~(~0 << (n)))
^
sprintf.c:41:8: note: in expansion of macro ‘EXTENDSIGN’
*t |= EXTENDSIGN(3, strlen(t));
^~~~~~~~~~
sprintf.c: In function ‘rb_str_format’:
sprintf.c:902:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (s[0] != 'f') *--s = 'f'; break;
^~
sprintf.c:902:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if (s[0] != 'f') *--s = 'f'; break;
^~~~~
sprintf.c:904:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (s[0] != '7') *--s = '7'; break;
^~
sprintf.c:904:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if (s[0] != '7') *--s = '7'; break;
^~~~~
sprintf.c:906:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (s[0] != '1') *--s = '1'; break;
^~
sprintf.c:906:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if (s[0] != '1') *--s = '1'; break;
^~~~~
compiling strftime.c
compiling string.c
In file included from string.c:14:0:
string.c: In function ‘rb_str_casecmp’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
string.c:2429:12: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
compiling struct.c
compiling time.c
compiling transcode.c
time.c: In function ‘timelocalw’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
time.c:67:27: note: in definition of macro ‘lt’
#define lt(x,y) (cmp((x),(y)) < 0)
^
./include/ruby/ruby.h:973:21: note: in expansion of macro ‘INT2FIX’
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
time.c:1621:19: note: in expansion of macro ‘INT2NUM’
if (lt(v, INT2NUM(INT_MIN)) || lt(INT2NUM(INT_MAX), v))
^~~~~~~
transcode.c: In function ‘rb_econv_open0’:
transcode.c:985:25: warning: variable ‘denc’ set but not used [-Wunused-but-set-variable]
rb_encoding *senc, *denc;
^~~~
transcode.c:985:18: warning: variable ‘senc’ set but not used [-Wunused-but-set-variable]
rb_encoding *senc, *denc;
^~~~
time.c: In function ‘validate_utc_offset’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
time.c:69:27: note: in definition of macro ‘le’
#define le(x,y) (cmp((x),(y)) <= 0)
^
time.c:2654:24: note: in expansion of macro ‘INT2FIX’
if (le(utc_offset, INT2FIX(-86400)) || ge(utc_offset, INT2FIX(86400)))
^~~~~~~
transcode.c: In function ‘make_replacement’:
transcode.c:2177:18: warning: variable ‘enc’ set but not used [-Wunused-but-set-variable]
rb_encoding *enc;
^~~
In file included from time.c:12:0:
time.c: In function ‘time_cmp’:
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
time.c:3381:12: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
compiling util.c
compiling variable.c
compiling compile.c
compile.c: In function ‘validate_label’:
compile.c:444:10: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
int ret;
^~~
compile.c: In function ‘iseq_compile_each’:
compile.c:3320:5: warning: variable ‘mid’ set but not used [-Wunused-but-set-variable]
ID mid = 0;
^~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
compile.c:196:62: note: in definition of macro ‘ADD_INSN1’
new_insn_body(iseq, (line), BIN(insn), 1, (VALUE)(op1)))
^~~
compile.c:5007:48: note: in expansion of macro ‘INT2FIX’
ADD_INSN1(ret, nd_line(node), putobject, INT2FIX(-1));
^~~~~~~
./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
compile.c:196:62: note: in definition of macro ‘ADD_INSN1’
new_insn_body(iseq, (line), BIN(insn), 1, (VALUE)(op1)))
^~~
compile.c:5015:44: note: in expansion of macro ‘INT2FIX’
ADD_INSN1(ret, nd_line(node), putobject, INT2FIX(-1));
^~~~~~~
compile.c: In function ‘iseq_build_from_ary_exception’:
compile.c:5273:6: warning: variable ‘sp’ set but not used [-Wunused-but-set-variable]
int sp;
^~
compiling debug.c
compiling iseq.c
In file included from vm_core.h:25:0,
from iseq.c:17:
iseq.c: In function ‘iseq_load’:
iseq.c:505:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
cached_map = ATOMIC_PTR_CAS(type_map_cache, (struct st_table *)0, type_map);
^
ruby_atomic.h:23:24: note: in definition of macro ‘ATOMIC_SIZE_CAS’
({ size_t oldvaldup = (oldval); \
^~~~~~
iseq.c:505:15: note: in expansion of macro ‘ATOMIC_PTR_CAS’
cached_map = ATOMIC_PTR_CAS(type_map_cache, (struct st_table *)0, type_map);
^~~~~~~~~~~~~~
iseq.c:448:51: warning: variable ‘misc’ set but not used [-Wunused-but-set-variable]
VALUE magic, version1, version2, format_type, misc;
^~~~
iseq.c:448:38: warning: variable ‘format_type’ set but not used [-Wunused-but-set-variable]
VALUE magic, version1, version2, format_type, misc;
^~~~~~~~~~~
iseq.c:448:28: warning: variable ‘version2’ set but not used [-Wunused-but-set-variable]
VALUE magic, version1, version2, format_type, misc;
^~~~~~~~
iseq.c:448:18: warning: variable ‘version1’ set but not used [-Wunused-but-set-variable]
VALUE magic, version1, version2, format_type, misc;
^~~~~~~~
iseq.c:448:11: warning: variable ‘magic’ set but not used [-Wunused-but-set-variable]
VALUE magic, version1, version2, format_type, misc;
^~~~~
iseq.c: In function ‘rb_iseq_parameters’:
iseq.c:1390:15: warning: variable ‘s’ set but not used [-Wunused-but-set-variable]
int i, r, s;
^
time.c: In function ‘localtimew’:
time.c:1799:19: warning: ‘tm.tm_isdst’ may be used uninitialized in this function [-Wmaybe-uninitialized]
result->isdst = isdst;
~~~~~~~~~~~~~~^~~~~~~
compiling vm.c
compiling vm_dump.c
In file included from vm.c:18:0:
vm_insnhelper.c: In function ‘vm_throw’:
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm_insnhelper.c:1500:7: note: in expansion of macro ‘VM_FRAME_TYPE’
if (VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_LAMBDA) {
^~~~~~~~~~~~~
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm_insnhelper.c:1567:8: note: in expansion of macro ‘VM_FRAME_TYPE’
if (VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_LAMBDA) {
^~~~~~~~~~~~~
In file included from vm.c:23:0:
vm_insnhelper.c: In function ‘vm_expandarray’:
vm_insnhelper.c:1634:20: warning: variable ‘tmp_ary’ set but not used [-Wunused-but-set-variable]
volatile VALUE tmp_ary;
^~~~~~~
In file included from vm.c:28:0:
vm_eval.c: In function ‘raise_method_missing’:
vm_eval.c:509:8: warning: variable ‘id’ set but not used [-Wunused-but-set-variable]
ID id;
^~
In file included from vm.c:18:0:
vm_eval.c: In function ‘rb_iterate’:
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:108:40: note: in definition of macro ‘UNLIKELY’
#define UNLIKELY(x) (__builtin_expect((x), 0))
^
vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm_eval.c:917:20: note: in expansion of macro ‘VM_FRAME_TYPE’
if (UNLIKELY(VM_FRAME_TYPE(th->cfp) == VM_FRAME_MAGIC_CFUNC)) {
^~~~~~~~~~~~~
In file included from vm_dump.c:14:0:
vm_dump.c: In function ‘control_frame_dump’:
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm_dump.c:51:13: note: in expansion of macro ‘VM_FRAME_TYPE’
switch (VM_FRAME_TYPE(cfp)) {
^~~~~~~~~~~~~
vm_dump.c: In function ‘rb_vmdebug_debug_print_pre’:
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm_dump.c:365:22: note: in expansion of macro ‘VM_FRAME_TYPE’
if (iseq != 0 && VM_FRAME_TYPE(cfp) != VM_FRAME_MAGIC_FINISH) {
^~~~~~~~~~~~~
vm.c: In function ‘vm_make_env_object’:
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm.c:487:9: note: in expansion of macro ‘VM_FRAME_TYPE’
if (VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_FINISH) {
^~~~~~~~~~~~~
vm.c: In function ‘vm_backtrace_each’:
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm_core.h:591:4: note: in expansion of macro ‘VM_FRAME_TYPE’
(VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_CFUNC)
^~~~~~~~~~~~~
vm.c:818:11: note: in expansion of macro ‘RUBYVM_CFUNC_FRAME_P’
else if (RUBYVM_CFUNC_FRAME_P(cfp)) {
^~~~~~~~~~~~~~~~~~~~
vm.c: In function ‘vm_exec’:
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:108:40: note: in definition of macro ‘UNLIKELY’
#define UNLIKELY(x) (__builtin_expect((x), 0))
^
vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm.c:1257:19: note: in expansion of macro ‘VM_FRAME_TYPE’
if (UNLIKELY(VM_FRAME_TYPE(th->cfp) == VM_FRAME_MAGIC_CFUNC)) {
^~~~~~~~~~~~~
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm.c:1426:14: note: in expansion of macro ‘VM_FRAME_TYPE’
switch (VM_FRAME_TYPE(th->cfp)) {
^~~~~~~~~~~~~
vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
#define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
^
vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
#define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
^~~~~~~~~~~~~~~~~~~
vm.c:1437:10: note: in expansion of macro ‘VM_FRAME_TYPE’
if (VM_FRAME_TYPE(th->cfp) != VM_FRAME_MAGIC_FINISH) {
^~~~~~~~~~~~~
vm.c: In function ‘rb_iseq_eval’:
vm.c:1460:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
volatile VALUE tmp;
^~~
vm.c: In function ‘rb_iseq_eval_main’:
vm.c:1474:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
volatile VALUE tmp;
^~~
compiling thread.c
compiling cont.c
cont.c: In function ‘cont_capture’:
cont.c:429:20: warning: variable ‘contval’ set but not used [-Wunused-but-set-variable]
volatile VALUE contval;
^~~~~~~
compiling ./enc/ascii.c
compiling ./enc/us_ascii.c
thread.c: In function ‘thread_suppress_tracing’:
thread.c:4615:11: warning: variable ‘result’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
VALUE result = Qnil;
^~~~~~
compiling ./enc/unicode.c
compiling ./enc/utf_8.c
compiling newline.c
compiling ./missing/strlcpy.c
compiling ./missing/strlcat.c
compiling ./missing/setproctitle.c
compiling addr2line.c
compiling dmyext.c
thread.c: In function ‘exec_recursive_i’:
thread.c:3987:11: warning: variable ‘result’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
VALUE result = Qundef;
^~~~~~
compiling dln.c
addr2line.c: In function ‘parse_debug_line_cu’:
addr2line.c:230:18: warning: variable ‘isa’ set but not used [-Wunused-but-set-variable]
unsigned int isa = 0;
^~~
addr2line.c:227:9: warning: variable ‘end_sequence’ set but not used [-Wunused-but-set-variable]
int end_sequence = 0;
^~~~~~~~~~~~
addr2line.c:226:9: warning: variable ‘basic_block’ set but not used [-Wunused-but-set-variable]
int basic_block = 0;
^~~~~~~~~~~
addr2line.c:224:18: warning: variable ‘column’ set but not used [-Wunused-but-set-variable]
unsigned int column = 0;
^~~~~~
addr2line.c:218:20: warning: variable ‘standard_opcode_lengths’ set but not used [-Wunused-but-set-variable]
unsigned char *standard_opcode_lengths;
^~~~~~~~~~~~~~~~~~~~~~~
compiling encoding.c
compiling dmyversion.c
In file included from thread.c:217:0:
thread.c: In function ‘rb_mutex_lock’:
thread_pthread.c:388:8: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow]
if (timeout.tv_sec < now.tv_sec)
^
vm.c: In function ‘vm_exec’:
vm.c:1230:12: warning: variable ‘escape_dfp’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
VALUE *escape_dfp = NULL;
^~~~~~~~~~
In file included from vm.c:28:0:
vm_eval.c: In function ‘eval_string_with_cref’:
vm_eval.c:994:19: warning: variable ‘bind’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
rb_binding_t *bind = 0;
^~~~
vm_eval.c: In function ‘rb_eval_cmd’:
vm_eval.c:1202:11: warning: variable ‘val’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
VALUE val = Qnil; /* OK */
^~~
linking miniruby
generating encdb.h
rbconfig.rb updated
generating enc.mk
generating prelude.c
compiling prelude.c
encdb.h unchanged
making srcs under enc
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
generating transdb.h
linking static-library libruby-static.a
ar: `u' modifier ignored since `D' is the default (see `U')
transdb.h unchanged
linking shared-library libruby.so.1.9.1
making enc
making trans
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
make[1]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
compiling ./enc/encdb.c
compiling ./enc/big5.c
compiling ./enc/cp949.c
compiling ./enc/trans/transdb.c
compiling ./enc/emacs_mule.c
compiling ./enc/trans/big5.c
compiling ./enc/euc_jp.c
compiling ./enc/euc_kr.c
configuring -test-/array/resize
compiling ./enc/trans/chinese.c
configuring -test-/bug-3571
configuring -test-/bug-3662
compiling ./enc/trans/emoji.c
configuring -test-/funcall
configuring -test-/load/dot.dot
configuring -test-/old_thread_select
configuring -test-/st/numhash
compiling ./enc/trans/emoji_iso2022_kddi.c
configuring -test-/string
configuring -test-/wait_for_single_fd
configuring -test-/win32/dln
Failed to configure -test-/win32/dln. It will not be installed.
compiling ./enc/euc_tw.c
configuring -test-/win32/fd_setsize
Failed to configure -test-/win32/fd_setsize. It will not be installed.
configuring bigdecimal
compiling ./enc/gb2312.c
compiling ./enc/gb18030.c
compiling ./enc/trans/emoji_sjis_kddi.c
compiling ./enc/trans/emoji_sjis_docomo.c
compiling ./enc/trans/emoji_sjis_softbank.c
compiling ./enc/trans/escape.c
compiling ./enc/gbk.c
compiling ./enc/iso_8859_1.c
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/gb18030.c
compiling ./enc/iso_8859_6.c
compiling ./enc/iso_8859_7.c
configuring continuation
configuring coverage
configuring curses
compiling ./enc/iso_8859_8.c
compiling ./enc/iso_8859_9.c
compiling ./enc/trans/gbk.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/iso_8859_16.c
compiling ./enc/koi8_r.c
compiling ./enc/koi8_u.c
compiling ./enc/shift_jis.c
compiling ./enc/trans/iso2022.c
compiling ./enc/utf_16be.c
compiling ./enc/trans/japanese.c
./enc/utf_16be.c:36:18: warning: ‘EncLen_UTF16’ defined but not used [-Wunused-const-variable=]
static const int EncLen_UTF16[] = {
^~~~~~~~~~~~
compiling ./enc/utf_16le.c
compiling ./enc/utf_32be.c
./enc/utf_16le.c:36:18: warning: ‘EncLen_UTF16’ defined but not used [-Wunused-const-variable=]
static const int EncLen_UTF16[] = {
^~~~~~~~~~~~
compiling ./enc/trans/japanese_euc.c
compiling ./enc/utf_32le.c
compiling ./enc/windows_1251.c
linking encoding encdb.so
linking encoding big5.so
linking encoding cp949.so
linking encoding emacs_mule.so
compiling ./enc/trans/japanese_sjis.c
compiling ./enc/trans/korean.c
linking encoding euc_jp.so
linking encoding euc_kr.so
compiling ./enc/trans/single_byte.c
linking encoding euc_tw.so
compiling ./enc/trans/utf8_mac.c
linking encoding gb2312.so
compiling ./enc/trans/utf_16_32.c
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 transcoder transdb.so
linking encoding iso_8859_4.so
linking transcoder chinese.so
linking transcoder emoji.so
linking encoding iso_8859_5.so
linking encoding iso_8859_6.so
linking encoding iso_8859_7.so
linking transcoder emoji_iso2022_kddi.so
linking encoding iso_8859_8.so
linking transcoder emoji_sjis_docomo.so
linking encoding iso_8859_9.so
linking transcoder emoji_sjis_kddi.so
linking transcoder emoji_sjis_softbank.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 transcoder escape.so
linking encoding iso_8859_15.so
linking encoding iso_8859_16.so
linking transcoder gb18030.so
linking transcoder iso2022.so
linking encoding koi8_r.so
linking encoding koi8_u.so
linking transcoder japanese.so
linking transcoder single_byte.so
linking transcoder utf8_mac.so
linking transcoder utf_16_32.so
linking encoding shift_jis.so
linking encoding utf_16be.so
linking transcoder gbk.so
linking encoding utf_16le.so
linking encoding utf_32be.so
linking encoding utf_32le.so
linking encoding windows_1251.so
linking transcoder japanese_sjis.so
make[1]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
linking transcoder japanese_euc.so
linking transcoder korean.so
linking transcoder big5.so
make[1]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
making encs
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
make[1]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
configuring date
configuring dbm
configuring digest
configuring digest/bubblebabble
configuring digest/md5
configuring digest/rmd160
configuring digest/sha1
configuring digest/sha2
configuring dl
configuring dl/callback
configuring dl/win32
Failed to configure dl/win32. It will not be installed.
configuring etc
configuring fcntl
configuring fiber
configuring fiddle
configuring gdbm
configuring iconv
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 readline
configuring ripper
configuring sdbm
configuring socket
configuring stringio
configuring strscan
configuring syck
configuring syslog
configuring tk
check functions.........
check struct members..
check libraries....
Use ActiveTcl libraries (if available).
Search tclConfig.sh and tkConfig.sh............
Ignore "/usr/lib64/tclConfig.sh" (unsupported version of Tcl/Tk).
.........
Ignore "/usr/lib/tclConfig.sh" (unsupported version of Tcl/Tk).
.
Ignore "/lib/tclConfig.sh" (unsupported version of Tcl/Tk).
.........
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..........
Warning:: cannot find Tcl 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.
configuring tk/tkutil
Failed to configure tk/tkutil. It will not be installed.
configuring win32ole
Failed to configure win32ole. It will not be installed.
configuring zlib
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/funcall'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/bug-3571'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/array/resize'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/load/dot.dot'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/bug-3662'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/old_thread_select'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling passing_block.c
compiling bug.c
compiling bug.c
compiling resize.c
installing default funcall libraries
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/st/numhash'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
installing default bug libraries
installing default bug libraries
compiling numhash.c
compiling dot.dot.c
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/string'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
installing default numhash libraries
compiling old_thread_select.c
installing default resize libraries
compiling cstr.c
compiling init.c
compiling modify.c
compiling set_len.c
installing default old_thread_select libraries
installing default dot.dot libraries
compiling ellipsize.c
linking shared-object -test-/bug-3571/bug.so
linking shared-object -test-/array/resize.so
linking shared-object -test-/load/dot.dot/dot.dot.so
linking shared-object -test-/bug-3662/bug.so
old_thread_select.c: In function ‘old_thread_select’:
old_thread_select.c:57:5: warning: ‘rb_thread_select’ is deprecated [-Wdeprecated-declarations]
rc = rb_thread_select(max, rp, wp, ep, tvp);
^~
In file included from ../../.././include/ruby/ruby.h:24:0,
from old_thread_select.c:2:
../../.././include/ruby/intern.h:390:16: note: declared here
DEPRECATED(int rb_thread_select(int, fd_set *, fd_set *, fd_set *, struct timeval *));
^
../../../.ext/include/x86_64-linux/ruby/config.h:67:52: note: in definition of macro ‘DEPRECATED’
#define DEPRECATED(x) __attribute__ ((deprecated)) x
^
compiling enc_associate.c
linking shared-object -test-/funcall/funcall.so
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/array/resize'
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/wait_for_single_fd'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling wait_for_single_fd.c
installing default string libraries
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/funcall'
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/win32/dln'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/win32/dln'
linking shared-object -test-/st/numhash.so
installing default wait_for_single_fd libraries
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/load/dot.dot'
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/bug-3662'
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/bigdecimal'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling bigdecimal.c
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/win32/fd_setsize'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/continuation'
make[2]: Nothing to be done for 'all'.
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/win32/fd_setsize'
compiling continuation.c
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/bug-3571'
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/curses'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/coverage'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object -test-/string/string.so
compiling coverage.c
compiling curses.c
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/st/numhash'
installing default bigdecimal libraries
linking shared-object -test-/old_thread_select/old_thread_select.so
installing default coverage libraries
installing default continuation libraries
linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.so
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/date'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling date_strptime.c
compiling date_parse.c
installing default curses libraries
compiling date_strftime.c
linking shared-object continuation.so
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/string'
bigdecimal.c: In function ‘BigDecimal_prec’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:315:5: note: in expansion of macro ‘ENTER’
ENTER(1);
^~~~~
bigdecimal.c: In function ‘BigDecimal_hash’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:328:5: note: in expansion of macro ‘ENTER’
ENTER(1);
^~~~~
bigdecimal.c: In function ‘BigDecimal_dump’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:345:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_load’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:367:5: note: in expansion of macro ‘ENTER’
ENTER(2);
^~~~~
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/dbm'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
In file included from bigdecimal.h:19:0,
from bigdecimal.c:20:
bigdecimal.c: In function ‘BigDecimal_IsInfinite’:
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:605:30: note: in expansion of macro ‘INT2FIX’
if(VpIsNegInf(p)) return INT2FIX(-1);
^~~~~~~
bigdecimal.c: In function ‘BigDecimal_to_i’:
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:661:48: note: in expansion of macro ‘INT2FIX’
numerator = rb_funcall(numerator, '*', 1, INT2FIX(-1));
^~~~~~~
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:640:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_to_f’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:685:5: note: in expansion of macro ‘ENTER’
ENTER(1);
^~~~~
In file included from bigdecimal.h:19:0,
from bigdecimal.c:20:
bigdecimal.c: In function ‘BigDecimal_to_r’:
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:745:44: note: in expansion of macro ‘INT2FIX’
numerator = rb_funcall(numerator, '*', 1, INT2FIX(-1));
^~~~~~~
bigdecimal.c: In function ‘BigDecimal_coerce’:
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/old_thread_select'
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:776:5: note: in expansion of macro ‘ENTER’
ENTER(2);
^~~~~
bigdecimal.c: In function ‘BigDecimal_add’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:817:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_sub’:
compiling date_core.c
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:869:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimalCmp’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:908:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_neg’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1089:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_mult’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1111:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_divide’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1139:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_div’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1188:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
bigdecimal.c: In function ‘BigDecimal_DoDivmod’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1211:5: note: in expansion of macro ‘ENTER’
ENTER(8);
^~~~~
bigdecimal.c: In function ‘BigDecimal_mod’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1297:5: note: in expansion of macro ‘ENTER’
ENTER(3);
^~~~~
bigdecimal.c: In function ‘BigDecimal_divremain’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1310:5: note: in expansion of macro ‘ENTER’
ENTER(10);
^~~~~
bigdecimal.c: In function ‘BigDecimal_divmod’:
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/continuation'
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1389:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
compiling dbm.c
bigdecimal.c: In function ‘BigDecimal_div2’:
compiling digest.c
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1402:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_add2’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1438:5: note: in expansion of macro ‘ENTER’
ENTER(2);
^~~~~
bigdecimal.c: In function ‘BigDecimal_sub2’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1455:5: note: in expansion of macro ‘ENTER’
ENTER(2);
^~~~~
bigdecimal.c: In function ‘BigDecimal_mult2’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1472:5: note: in expansion of macro ‘ENTER’
ENTER(2);
^~~~~
bigdecimal.c: In function ‘BigDecimal_abs’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1495:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_sqrt’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1517:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_fix’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1536:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_round’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1572:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_truncate’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1630:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_frac’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1659:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_floor’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1692:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_ceil’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1741:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_to_s’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1798:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/bubblebabble'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
bigdecimal.c: In function ‘BigDecimal_split’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1889:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_inspect’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:1943:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
installing default date_core libraries
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/wait_for_single_fd'
compiling bubblebabble.c
bigdecimal.c: In function ‘BigDecimal_power’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:2085:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
bigdecimal.c: In function ‘BigDecimal_new’:
bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
#define ENTER(n) volatile VALUE vStack[n];int iStack=0
^
bigdecimal.c:2334:5: note: in expansion of macro ‘ENTER’
ENTER(5);
^~~~~
In file included from bigdecimal.c:20:0:
bigdecimal.c: In function ‘BigMath_s_exp’:
bigdecimal.h:264:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosInf(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_INFINITE)
^
bigdecimal.h:266:35: note: in expansion of macro ‘VpSetPosInf’
#define VpSetInf(a,s) ( ((s)>0)?VpSetPosInf(a):VpSetNegInf(a) )
^~~~~~~~~~~
bigdecimal.c:2554:6: note: in expansion of macro ‘VpSetInf’
VpSetInf(vy, VP_SIGN_POSITIVE_INFINITE);
^~~~~~~~
curses.c: In function ‘window_cury’:
curses.c:1632:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int x, y;
^
curses.c: In function ‘window_curx’:
curses.c:1648:12: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
int x, y;
^
curses.c: In function ‘window_begy’:
curses.c:1712:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int x, y;
^
curses.c: In function ‘window_begx’:
curses.c:1732:12: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
int x, y;
^
installing default bubblebabble libraries
bigdecimal.c: In function ‘BigMath_s_log’:
bigdecimal.h:264:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosInf(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_INFINITE)
^
bigdecimal.h:266:35: note: in expansion of macro ‘VpSetPosInf’
#define VpSetInf(a,s) ( ((s)>0)?VpSetPosInf(a):VpSetNegInf(a) )
^~~~~~~~~~~
bigdecimal.c:2706:2: note: in expansion of macro ‘VpSetInf’
VpSetInf(vy, VP_SIGN_POSITIVE_INFINITE);
^~~~~~~~
In file included from bigdecimal.h:19:0,
from bigdecimal.c:20:
bigdecimal.c: In function ‘Init_bigdecimal’:
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:3002:58: note: in expansion of macro ‘INT2FIX’
rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_ZERO",INT2FIX(VP_SIGN_NEGATIVE_ZERO));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:3008:60: note: in expansion of macro ‘INT2FIX’
rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_FINITE",INT2FIX(VP_SIGN_NEGATIVE_FINITE));
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:3014:62: note: in expansion of macro ‘INT2FIX’
rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_INFINITE",INT2FIX(VP_SIGN_NEGATIVE_INFINITE));
^~~~~~~
installing default dbm libraries
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/md5'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
In file included from bigdecimal.c:20:0:
bigdecimal.c: In function ‘VpAlloc’:
bigdecimal.h:251:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
^
bigdecimal.h:253:35: note: in expansion of macro ‘VpSetPosZero’
#define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
^~~~~~~~~~~~
bigdecimal.c:3665:8: note: in expansion of macro ‘VpSetZero’
VpSetZero(vp,1); /* initialize vp to zero. */
^~~~~~~~~
linking shared-object coverage.so
bigdecimal.c: In function ‘VpAddSub’:
bigdecimal.h:252:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetNegZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_NEGATIVE_ZERO)
^
bigdecimal.h:253:51: note: in expansion of macro ‘VpSetNegZero’
#define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
^~~~~~~~~~~~
bigdecimal.c:3855:17: note: in expansion of macro ‘VpSetZero’
VpSetZero(c,-1);
^~~~~~~~~
compiling md5init.c
bigdecimal.h:251:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
^
bigdecimal.h:253:35: note: in expansion of macro ‘VpSetPosZero’
#define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
^~~~~~~~~~~~
bigdecimal.c:3857:17: note: in expansion of macro ‘VpSetZero’
VpSetZero(c,1);
^~~~~~~~~
bigdecimal.h:251:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
^
bigdecimal.h:253:35: note: in expansion of macro ‘VpSetPosZero’
#define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
^~~~~~~~~~~~
bigdecimal.c:3909:13: note: in expansion of macro ‘VpSetZero’
VpSetZero(c,1); /* abs(a)=abs(b) and operation = '-' */
^~~~~~~~~
compiling md5ossl.c
bigdecimal.c: In function ‘VpMult’:
bigdecimal.c:4259:36: warning: variable ‘ind_be’ set but not used [-Wunused-but-set-variable]
size_t ind_as, ind_ae, ind_bs, ind_be;
^~~~~~
bigdecimal.c: In function ‘VpCtoV’:
bigdecimal.c:5056:12: warning: variable ‘loc’ set but not used [-Wunused-but-set-variable]
size_t loc;
^~~
In file included from bigdecimal.c:20:0:
bigdecimal.c: In function ‘VpDtoV’:
In file included from ../.././include/ruby.h:32:0,
from date_core.c:5:
date_core.c: In function ‘date_s_ordinal’:
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:3350:9: note: in expansion of macro ‘INT2FIX’
y = INT2FIX(-4712);
^~~~~~~
date_core.c: In function ‘date_s_civil’:
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:3420:9: note: in expansion of macro ‘INT2FIX’
y = INT2FIX(-4712);
^~~~~~~
date_core.c: In function ‘date_s_commercial’:
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:3499:9: note: in expansion of macro ‘INT2FIX’
y = INT2FIX(-4712);
^~~~~~~
bigdecimal.h:251:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
^
bigdecimal.h:253:35: note: in expansion of macro ‘VpSetPosZero’
#define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
^~~~~~~~~~~~
bigdecimal.c:5286:9: note: in expansion of macro ‘VpSetZero’
VpSetZero(m,1);
^~~~~~~~~
bigdecimal.c: In function ‘VpSqrt’:
bigdecimal.c:5402:20: warning: variable ‘f_prec’ set but not used [-Wunused-but-set-variable]
size_t y_prec, f_prec;
^~~~~~
installing default md5 libraries
cp: cannot create regular file '../../.ext/common/digest': File exists
make[2]: *** [Makefile:178: ../../.ext/common/digest/hmac.rb] Error 1
make[2]: *** Waiting for unfinished jobs....
linking shared-object digest/bubblebabble.so
linking shared-object digest/md5.so
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/coverage'
date_core.c: In function ‘d_lite_downto’:
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6288:27: note: in expansion of macro ‘INT2FIX’
date = d_lite_plus(date, INT2FIX(-1));
^~~~~~~
date_core.c: In function ‘cmp_dd’:
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6333:11: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6340:14: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6347:10: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6354:13: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
date_core.c: In function ‘d_lite_cmp’:
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6409:14: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6416:10: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6471:11: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6479:14: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6486:10: note: in expansion of macro ‘INT2FIX’
return INT2FIX(-1);
^~~~~~~
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/rmd160'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
date_core.c: In function ‘datetime_s_ordinal’:
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:7460:9: note: in expansion of macro ‘INT2FIX’
y = INT2FIX(-4712);
^~~~~~~
date_core.c: In function ‘datetime_s_civil’:
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:7538:9: note: in expansion of macro ‘INT2FIX’
y = INT2FIX(-4712);
^~~~~~~
compiling rmd160init.c
date_core.c: In function ‘datetime_s_commercial’:
../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:7637:9: note: in expansion of macro ‘INT2FIX’
y = INT2FIX(-4712);
^~~~~~~
compiling rmd160ossl.c
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/md5'
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/sha1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/bubblebabble'
compiling sha1init.c
compiling sha1ossl.c
make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/sha2'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling sha2init.c
installing default rmd160 libraries
compiling sha2ossl.c
installing default sha1 libraries
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest'
make[1]: *** [exts.mk:76: ext/digest/all] Error 2
make[1]: *** Waiting for unfinished jobs....
installing default sha2 libraries
linking shared-object digest/rmd160.so
linking shared-object digest/sha1.so
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/rmd160'
linking shared-object digest/sha2.so
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/sha1'
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/sha2'
linking shared-object dbm.so
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/dbm'
linking shared-object curses.so
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/curses'
linking shared-object bigdecimal.so
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/bigdecimal'
linking shared-object date_core.so
make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/date'
make[1]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
make: *** [uncommon.mk:178: build-ext] Error 2
++ return 2
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb
index 8c04cb5..132d803 100644
--- a/ext/openssl/extconf.rb
+++ b/ext/openssl/extconf.rb
@@ -104,6 +104,9 @@
have_func("SSLv2_method")
have_func("SSLv2_server_method")
have_func("SSLv2_client_method")
+have_func("SSLv3_method")
+have_func("SSLv3_server_method")
+have_func("SSLv3_client_method")
have_func("TLSv1_1_method")
have_func("TLSv1_1_server_method")
have_func("TLSv1_1_client_method")
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c
index f7cb7f0..47111f6 100644
--- a/ext/openssl/ossl_ssl.c
+++ b/ext/openssl/ossl_ssl.c
@@ -109,9 +109,12 @@ static const struct {
OSSL_SSL_METHOD_ENTRY(SSLv2_server),
OSSL_SSL_METHOD_ENTRY(SSLv2_client),
#endif
+#if defined(HAVE_SSLV3_METHOD) && defined(HAVE_SSLV3_SERVER_METHOD) && \
+ defined(HAVE_SSLV3_CLIENT_METHOD)
OSSL_SSL_METHOD_ENTRY(SSLv3),
OSSL_SSL_METHOD_ENTRY(SSLv3_server),
OSSL_SSL_METHOD_ENTRY(SSLv3_client),
+#endif
OSSL_SSL_METHOD_ENTRY(SSLv23),
OSSL_SSL_METHOD_ENTRY(SSLv23_server),
OSSL_SSL_METHOD_ENTRY(SSLv23_client),
diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb
index 07e081b..0cbfcba 100644
--- a/test/openssl/test_ssl.rb
+++ b/test/openssl/test_ssl.rb
@@ -912,7 +912,7 @@ def test_unset_OP_ALL
# that has been marked as forbidden, therefore either of these may be raised
HANDSHAKE_ERRORS = [OpenSSL::SSL::SSLError, Errno::ECONNRESET]
-if OpenSSL::SSL::SSLContext::METHODS.include? :TLSv1
+if OpenSSL::SSL::SSLContext::METHODS.include?(:TLSv1) && OpenSSL::SSL::SSLContext::METHODS.include?(:SSLv3)
def test_forbid_ssl_v3_for_client
ctx_proc = Proc.new { |ctx| ctx.options = OpenSSL::SSL::OP_ALL | OpenSSL::SSL::OP_NO_SSLv3 }
--- test/openssl/test_ssl.rb
+++ test/openssl/test_ssl.rb
@@ -912,7 +912,7 @@ def test_unset_OP_ALL
# that has been marked as forbidden, therefore either of these may be raised
HANDSHAKE_ERRORS = [OpenSSL::SSL::SSLError, Errno::ECONNRESET]
-if OpenSSL::SSL::SSLContext::METHODS.include? :TLSv1
+if OpenSSL::SSL::SSLContext::METHODS.include?(:TLSv1) && OpenSSL::SSL::SSLContext::METHODS.include?(:SSLv3)
def test_forbid_ssl_v3_for_client
ctx_proc = Proc.new { |ctx| ctx.options = OpenSSL::SSL::OP_ALL | OpenSSL::SSL::OP_NO_SSLv3 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment