e$B@1$H?=$7$^$9!#e(B
e$B%j%S%8%g%se(B 20240 e$B$Ne(B trunk e$B$,%S%k%I$G$-$^$;$s$G$7$?!#e(B
x86_64 e$BHGe(B Ubuntu Linux e$B$G$9!#e(B
hajime@hajime-desktop:~/ruby$ autoconf
hajime@hajime-desktop:~/ruby$ ./configure --program-suffix=-trunk
…
hajime@hajime-desktop:~/ruby$ make
sed ‘s/{$([^(){}])[^{}]}//g’ common.mk > uncommon.mk
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o main.o -c main.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o dln.o -c dln.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o dmyencoding.o -c dmyencoding.c
ruby -I. ./tool/compile_prelude.rb ./prelude.rb miniprelude.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o miniprelude.o -c miniprelude.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o array.o -c array.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o bignum.o -c bignum.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o class.o -c class.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o compar.o -c compar.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o complex.o -c complex.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o dir.o -c dir.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o enum.o -c enum.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o enumerator.o -c enumerator.c
ruby ./tool/generic_erb.rb -c -o known_errors.inc
./template/known_errors.inc.tmpl ./defs/known_errors.def
known_errors.inc updated
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o error.o -c error.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o eval.o -c eval.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o load.o -c load.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o proc.o -c proc.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o file.o -c file.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o gc.o -c gc.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o hash.o -c hash.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o inits.o -c inits.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o io.o -c io.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o marshal.o -c marshal.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o math.o -c math.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o numeric.o -c numeric.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o object.o -c object.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o pack.o -c pack.c
bison -d -o y.tab.c parse.y
sed -f ./tool/ytab.sed -e “/^#/s!y.tab.c!parse.c!” y.tab.c >
parse.c.new
sed -e “/^#line.*y.tab.h/d;/^#line.*parse.y/d” y.tab.h > parse.h.new
parse.h updated
- cp ./lex.c.blt lex.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o parse.o -c parse.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o process.o -c process.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o random.o -c random.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o range.o -c range.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o rational.o -c rational.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o re.o -c re.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o regcomp.o -c regcomp.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o regenc.o -c regenc.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o regerror.o -c regerror.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o regexec.o -c regexec.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o regparse.o -c regparse.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o regsyntax.o -c regsyntax.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o ruby.o -c ruby.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o safe.o -c safe.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o signal.o -c signal.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o sprintf.o -c sprintf.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o st.o -c st.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o strftime.o -c strftime.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o string.o -c string.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o struct.o -c struct.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o time.o -c time.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o transcode.o -c transcode.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o util.o -c util.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o variable.o -c variable.c
revision.h updated
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o version.o -c version.c
ruby -Ks ./tool/insns2vm.rb --srcdir="." insns.inc
ruby -Ks ./tool/insns2vm.rb --srcdir="." insns_info.inc
ruby -Ks ./tool/insns2vm.rb --srcdir="." optinsn.inc
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o compile.o -c compile.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o debug.o -c debug.c
ruby -n ./tool/node_name.rb node.h > node_name.inc
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o iseq.o -c iseq.c
ruby -Ks ./tool/insns2vm.rb --srcdir="." vmtc.inc
ruby -Ks ./tool/insns2vm.rb --srcdir="." vm.inc
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o vm.o -c vm.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o vm_dump.o -c vm_dump.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o thread.o -c thread.c
thread.c: In function ‘do_select’:
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[15u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[14u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[13u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[12u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[11u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[10u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[9u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[8u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[7u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[6u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[5u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[4u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[3u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[2u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[1u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_read.fds_bits[0u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[15u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[14u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[13u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[12u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[11u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[10u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[9u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[8u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[7u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[6u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[5u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[4u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[3u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[2u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[1u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_write.fds_bits[0u]’ may be used
uninitialized
in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[15u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[14u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[13u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[12u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[11u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[10u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[9u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[8u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[7u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[6u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[5u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[4u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[3u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[2u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[1u]’ may be used
uninitialized in this function
thread.c:2131: e$B7Y9pe(B: ‘orig_except.fds_bits[0u]’ may be used
uninitialized in this function
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o cont.o -c cont.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o ascii.o -c ./enc/ascii.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o us_ascii.o -c ./enc/us_ascii.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o unicode.o -c ./enc/unicode.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o utf_8.o -c ./enc/utf_8.c
ruby “./tool/transcode-tblgen.rb” -vo newline.c
./enc/trans/newline.trans
generating newline.c …
converter for universal_newline
converter for crlf_newline
converter for cr_newline
done.
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o newline.o -c newline.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o strlcpy.o -c ./missing/strlcpy.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o strlcat.o -c ./missing/strlcat.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o dmyext.o -c dmyext.c
gcc -O2 -g -Wall -Wno-parentheses -L. -rdynamic -Wl,-export-dynamic
main.o dln.o dmyencoding.o miniprelude.o array.o bignum.o class.o
compar.o complex.o dir.o enum.o enumerator.o error.o eval.o load.o
proc.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o
object.o pack.o parse.o process.o random.o range.o rational.o re.o
regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o
safe.o signal.o sprintf.o st.o strftime.o string.o struct.o time.o
transcode.o util.o variable.o version.o compile.o debug.o iseq.o vm.o
vm_dump.o thread.o cont.o ascii.o us_ascii.o unicode.o utf_8.o
newline.o strlcpy.o strlcat.o dmyext.o -lpthread -lrt -ldl -lcrypt
-lm -o miniruby
rbconfig.rb updated
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb
./enc/make_encmake.rb --builtin-encs=“ascii.o us_ascii.o unicode.o
utf_8.o” --builtin-transes=“newline.o” enc.mk
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o encoding.o -c encoding.c
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb -I.
-rrbconfig ./tool/compile_prelude.rb ./prelude.rb ./enc/prelude.rb
./gem_prelude.rb prelude.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux
-I./include -I. -DRUBY_EXPORT -o prelude.o -c prelude.c
ar rcu libruby-trunk-static.a dln.o encoding.o prelude.o array.o
bignum.o class.o compar.o complex.o dir.o enum.o enumerator.o error.o
eval.o load.o proc.o file.o gc.o hash.o inits.o io.o marshal.o math.o
numeric.o object.o pack.o parse.o process.o random.o range.o
rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o
regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o
struct.o time.o transcode.o util.o variable.o version.o compile.o
debug.o iseq.o vm.o vm_dump.o thread.o cont.o ascii.o us_ascii.o
unicode.o utf_8.o newline.o strlcpy.o strlcat.o dmyext.o
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb
./enc/make_encdb.rb encdb.h.new ./enc enc
./tool/ifchange “encdb.h” “encdb.h.new”
encdb.h updated
make -f enc.mk RUBY="./miniruby -I./lib -I.ext/common -I./-
-r./ext/purelib.rb " MINIRUBY="./miniruby -I./lib -I.ext/common -I./-
-r./ext/purelib.rb " enc
make[1]: e$B%G%#%l%/%H%je(B/home/hajime/ruby' e$B$KF~$j$^$9e(B gcc -I. -I.ext/include/x86_64-linux -I./include -I. -DONIG_ENC_REGISTER=rb_enc_register -fPIC -O2 -g -Wall -Wno-parentheses -o enc/encdb.o -c enc/encdb.c gcc -shared -o .ext/x86_64-linux/enc/encdb.so enc/encdb.o -L. -L. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-trunk -lpthread -lrt -ldl -lcrypt -lm /usr/bin/ld: cannot find -lruby-trunk collect2: ld e$B$O%9%F!<%?%9e(B 1 e$B$G=*N;$7$^$7$?e(B make[1]: *** [.ext/x86_64-linux/enc/encdb.so] e$B%(%i!<e(B 1 make[1]: e$B%G%#%l%/%H%je(B
/home/hajime/ruby’ e$B$+$i=P$^$9e(B
make: *** [enc] e$B%(%i!<e(B 2