Skip to content

Instantly share code, notes, and snippets.

@eirvandelden
Created November 28, 2017 15:59
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 eirvandelden/9a2fa1f1bbdd8a7ac45438b6c0dd65a9 to your computer and use it in GitHub Desktop.
Save eirvandelden/9a2fa1f1bbdd8a7ac45438b6c0dd65a9 to your computer and use it in GitHub Desktop.
rvm reinstall ruby-1.9.3-p551
+__rvm_make:0> make -j 1
+make:20> make -j 1
+make:1> zstyle -t :prezto:module:utility:make color
+make:2> (( 0 ))
+make:5> make -j 1
CC = gcc-4.9
LD = ld
LDSHARED = gcc-4.9 -dynamiclib
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 -fno-common -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -I. -I.ext/include/x86_64-darwin17.2.0 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -install_name /Users/eirvandelden/.rvm/rubies/ruby-1.9.3-p551/lib/libruby.1.9.1.dylib -current_version 1.9.1 -compatibility_version 1.9.1 -Wl,-u,_objc_msgSend
SOLIBS =
compiling main.c
compiling dmydln.c
compiling dmyencoding.c
compiling version.c
compiling dmyversion.c
compiling miniprelude.c
compiling array.c
compiling bignum.c
bignum.c: In function 'big_rshift':
bignum.c:3532:20: warning: variable 'save_x' set but not used [-Wunused-but-set-variable]
volatile VALUE save_x;
^
compiling class.c
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];
^
compiling compar.c
compiling complex.c
compiling dir.c
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 dln_find.c
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
In file included from eval.c:32:0:
eval_jump.c: In function 'rb_exec_end_proc':
eval_jump.c:104:11: warning: variable 'errinfo' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
VALUE errinfo = th->errinfo;
^
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 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;
^
compiling file.c
compiling gc.c
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;
^
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;
^
io.c: In function 'rb_io_advise':
io.c:7943:16: warning: variable 'l' set but not used [-Wunused-but-set-variable]
off_t off, l;
^
io.c:7943:11: warning: variable 'off' set but not used [-Wunused-but-set-variable]
off_t off, l;
^
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
numeric.c: In function 'flo_is_finite_p':
numeric.c:1409:5: warning: 'finite' is deprecated (declared at /usr/local/Cellar/gcc@4.9/4.9.4/lib/gcc/4.9/gcc/x86_64-apple-darwin16.4.0/4.9.4/include-fixed/math.h:772) [-Wdeprecated-declarations]
if (!finite(value))
^
compiling object.c
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
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;
^
compiling process.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;
^
process.c: In function 'rb_seteuid_core':
process.c:5200:14: warning: variable 'uid' set but not used [-Wunused-but-set-variable]
rb_uid_t uid;
^
process.c: In function 'rb_setegid_core':
process.c:5320:14: warning: variable 'gid' set but not used [-Wunused-but-set-variable]
rb_gid_t gid;
^
process.c: In function 'p_uid_exchange':
process.c:5411:19: warning: variable 'euid' set but not used [-Wunused-but-set-variable]
rb_uid_t uid, euid;
^
process.c: In function 'p_gid_exchange':
process.c:5468:19: warning: variable 'egid' set but not used [-Wunused-but-set-variable]
rb_gid_t gid, egid;
^
compiling random.c
compiling range.c
compiling rational.c
compiling re.c
compiling regcomp.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 regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.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 regsyntax.c
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
compiling strftime.c
compiling string.c
compiling struct.c
compiling time.c
compiling transcode.c
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;
^
transcode.c: In function 'make_replacement':
transcode.c:2177:18: warning: variable 'enc' set but not used [-Wunused-but-set-variable]
rb_encoding *enc;
^
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;
^
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;
^
compiling vm.c
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;
^
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;
^
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 */
^
compiling vm_dump.c
compiling thread.c
In file included from thread.c:217:0:
thread.c: In function 'rb_mutex_lock.part.34':
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)
^
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
compiling ./enc/unicode.c
compiling ./enc/utf_8.c
compiling newline.c
compiling ./missing/setproctitle.c
compiling dmyext.c
linking miniruby
rbconfig.rb updated
generating enc.mk
compiling dln.c
compiling encoding.c
generating prelude.c
compiling prelude.c
linking static-library libruby.1.9.1-static.a
linking shared-library libruby.1.9.1.dylib
generating encdb.h
encdb.h unchanged
making enc
compiling ./enc/encdb.c
linking encoding encdb.bundle
compiling ./enc/big5.c
In file included from /usr/include/Availability.h:198:0,
from /usr/include/stdlib.h:61,
from ./include/ruby/defines.h:29,
from ./regenc.h:34,
from ./enc/big5.c:30:
/usr/include/AvailabilityInternal.h:27982:74: error: missing binary operator before token "("
#if defined(__has_feature) && defined(__has_attribute) && __has_attribute(availability)
^
In file included from /usr/include/stdlib.h:61:0,
from ./include/ruby/defines.h:29,
from ./regenc.h:34,
from ./enc/big5.c:30:
/usr/include/Availability.h:391:74: error: missing binary operator before token "("
#if defined(__has_feature) && defined(__has_attribute) && __has_attribute(availability)
^
make[1]: *** [enc/big5.o] Error 1
make: *** [enc] Error 2
+__rvm_make:0> return 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment