Skip to content

Instantly share code, notes, and snippets.

@shyouhei
Created May 9, 2017 01:57
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 shyouhei/7c01d3f8826ec5056e06dd27246cd185 to your computer and use it in GitHub Desktop.
Save shyouhei/7c01d3f8826ec5056e06dd27246cd185 to your computer and use it in GitHub Desktop.
% make miniruby
CC = gcc-7
LD = ld
LDSHARED = gcc-7 -dynamic -bundle
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Werror=implicit-int -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=deprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wno-expansion-to-defined -pipe
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE
CPPFLAGS = -I/usr/local/opt/libressl/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin15 -I/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/include -I/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/libressl/lib -fstack-protector -Wl,-u,_objc_msgSend -pie -framework CoreFoundation
SOLIBS =
Using built-in specs.
COLLECT_GCC=gcc-7
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/7.1.0/libexec/gcc/x86_64-apple-darwin15.6.0/7.1.0/lto-wrapper
Target: x86_64-apple-darwin15.6.0
Configured with: ../configure --build=x86_64-apple-darwin15.6.0 --prefix=/usr/local/Cellar/gcc/7.1.0 --libdir=/usr/local/Cellar/gcc/7.1.0/lib/gcc/7 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-7 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-system-zlib --enable-checking=release --with-pkgversion='Homebrew GCC 7.1.0' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --disable-nls
Thread model: posix
gcc version 7.1.0 (Homebrew GCC 7.1.0)
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/main.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/dmydln.c
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/dmydln.c: In function 'dln_load':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/dmydln.c:4:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn]
dln_load(const char *file)
^~~~~~~~
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/dmydln.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/miniinit.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/dmyext.c
generating miniprelude.c
miniprelude.c updated
compiling miniprelude.c
generating id.h
id.h updated
/Users/urabe.shyouhei/data/etc/rbenv/shims/ruby --disable=gems /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/tool/gen_dummy_probes.rb /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/probes.d > probes.dmyh
copying dummy probes.h
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/array.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/bignum.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/class.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/compar.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/complex.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/dir.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/dln_find.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/encoding.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/enum.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/enumerator.c
generating known_errors.inc
known_errors.inc updated
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/error.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/eval.c
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/eval.c: In function 'rb_raise_jump':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/eval.c:763:8: warning: unused variable 'mid' [-Wunused-variable]
ID mid = me->called_id;
^~~
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/eval.c: In function 'rb_interrupt':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/eval.c:625:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn]
rb_interrupt(void)
^~~~~~~~~~~~
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/eval.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/load.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/proc.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/file.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/gc.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/hash.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/inits.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/io.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/marshal.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/math.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/node.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/numeric.c
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/numeric.c: In function 'rb_out_of_short':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/numeric.c:2427:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn]
rb_out_of_short(SIGNED_VALUE num)
^~~~~~~~~~~~~~~
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/numeric.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/object.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/pack.c
generating parse.c
copying lex.c
compiling parse.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/process.c
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/process.c: In function 'rb_f_exec':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/process.c:2566:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn]
rb_f_exec(int argc, const VALUE *argv)
^~~~~~~~~
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/process.c: In function 'rb_f_exit':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/process.c:3845:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn]
rb_f_exit(int argc, const VALUE *argv)
^~~~~~~~~
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/process.c: In function 'rb_f_abort':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/process.c:3874:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn]
rb_f_abort(int argc, const VALUE *argv)
^~~~~~~~~~
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/process.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/random.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/range.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/rational.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/re.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/regcomp.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/regenc.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/regerror.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/regexec.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/regparse.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/regsyntax.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/ruby.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/safe.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/signal.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/sprintf.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/st.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/strftime.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/string.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/struct.c
generating id.c
id.c updated
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/symbol.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/time.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/transcode.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/util.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/variable.c
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/variable.c: In function 'rb_gvar_readonly_setter':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/variable.c:569:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn]
rb_gvar_readonly_setter(VALUE v, ID id, void *d, struct rb_global_variable *g)
^~~~~~~~~~~~~~~~~~~~~~~
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/variable.c: In function 'rb_mod_const_missing':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/variable.c:1825:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn]
rb_mod_const_missing(VALUE klass, VALUE name)
^~~~~~~~~~~~~~~~~~~~
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/variable.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/version.c
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/version.c: In function 'ruby_show_copyright':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/version.c:103:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn]
ruby_show_copyright(void)
^~~~~~~~~~~~~~~~~~~
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/version.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
generating opt_sc.inc
generating optunifs.inc
generating insns.inc
generating insns_info.inc
generating optinsn.inc
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/compile.c
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/compile.c: In function 'prepare_compile_error':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/compile.c:342:31: warning: return type might be a candidate for a format attribute [-Wsuggest-attribute=format]
if (compile_debug) return rb_compile_bug_str;
^~~~~~~~~~~~~~~~~~
In function 'iseq_build_kw.isra.59',
inlined from 'rb_iseq_build_from_ary' at /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/compile.c:6690:30:
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/compile.c:6590: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 /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/include/ruby/ruby.h:36:0,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/include/ruby.h:33,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/internal.h:15,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/compile.c:12:
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/compile.c: In function 'rb_iseq_build_from_ary':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/include/ruby/defines.h:109:18: note: in a call to allocation function 'ruby_xmalloc2' declared here
#define xmalloc2 ruby_xmalloc2
^
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/include/ruby/defines.h:122:7: note: in expansion of macro 'xmalloc2'
void *xmalloc2(size_t,size_t) RUBY_ATTR_ALLOC_SIZE((1,2));
^~~~~~~~
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/compile.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/debug.c
generating node_name.inc
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/iseq.c
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/iseq.c: In function 'rb_iseq_compile_with_option':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/iseq.c:607:22: warning: variable 'parent' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
const rb_iseq_t *parent = NULL;
^~~~~~
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/iseq.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
generating vm.inc
generating vm_call_iseq_optimized.inc
generating vmtc.inc
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/vm.c
In file included from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/vm.c:205:0:
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/vm.c: In function 'rb_f_notimplement':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/vm_method.c:124:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn]
rb_f_notimplement(int argc, const VALUE *argv, VALUE obj)
^~~~~~~~~~~~~~~~~
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/vm.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/vm_dump.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/vm_backtrace.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/vm_trace.c
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/vm_trace.c: In function 'rb_suppress_tracing':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/vm_trace.c:391:11: warning: variable 'result' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
VALUE result = Qnil;
^~~~~~
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/vm_trace.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/thread.c
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/thread.c: In function 'ruby_thread_stack_overflow':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/thread.c:2139:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn]
ruby_thread_stack_overflow(rb_thread_t *th)
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/include/ruby/ruby.h:36:0,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/eval_intern.h:4,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/thread.c:60:
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/thread.c: In function 'rb_thread_fd_select':
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/include/ruby/defines.h:113:15: warning: 'orig_except.fdset' may be used uninitialized in this function [-Wmaybe-uninitialized]
#define xfree ruby_xfree
^~~~~~~~~~
In file included from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/method.h:14:0,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/vm_core.h:62,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/eval_intern.h:5,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/thread.c:60:
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/thread.c:3568:34: note: 'orig_except.fdset' was declared here
rb_fdset_t UNINITIALIZED_VAR(orig_except);
^
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/internal.h:40:30: note: in definition of macro 'UNINITIALIZED_VAR'
#define UNINITIALIZED_VAR(x) x __attribute__((unused))
^
In file included from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/include/ruby/ruby.h:36:0,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/eval_intern.h:4,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/thread.c:60:
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/include/ruby/defines.h:113:15: warning: 'orig_write.fdset' may be used uninitialized in this function [-Wmaybe-uninitialized]
#define xfree ruby_xfree
^~~~~~~~~~
In file included from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/method.h:14:0,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/vm_core.h:62,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/eval_intern.h:5,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/thread.c:60:
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/thread.c:3567:34: note: 'orig_write.fdset' was declared here
rb_fdset_t UNINITIALIZED_VAR(orig_write);
^
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/internal.h:40:30: note: in definition of macro 'UNINITIALIZED_VAR'
#define UNINITIALIZED_VAR(x) x __attribute__((unused))
^
In file included from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/include/ruby/ruby.h:36:0,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/eval_intern.h:4,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/thread.c:60:
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/include/ruby/defines.h:113:15: warning: 'orig_read.fdset' may be used uninitialized in this function [-Wmaybe-uninitialized]
#define xfree ruby_xfree
^~~~~~~~~~
In file included from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/method.h:14:0,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/vm_core.h:62,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/eval_intern.h:5,
from /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/thread.c:60:
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/thread.c:3566:34: note: 'orig_read.fdset' was declared here
rb_fdset_t UNINITIALIZED_VAR(orig_read);
^
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/internal.h:40:30: note: in definition of macro 'UNINITIALIZED_VAR'
#define UNINITIALIZED_VAR(x) x __attribute__((unused))
^
/Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/thread.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/cont.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/enc/ascii.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/enc/us_ascii.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/enc/unicode.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/enc/utf_8.c
generating enc/trans/newline.c ...
converter for universal_newline
converter for crlf_newline
converter for cr_newline
done. (0.03user 0.01system 0.00elapsed)
compiling enc/trans/newline.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/missing/explicit_bzero.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/missing/setproctitle.c
compiling /Users/urabe.shyouhei/data/src/ci.ruby-lang.org/ruby/branches/ruby_2_3/dmyenc.c
linking miniruby
zsh %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment