# Logfile created on 2023-03-07 08:16:43 +0000 by logger.rb/v1.4.3
#<BuildRuby:0x0000557274c396f0 @REPOSITORY="https://github.com/ruby/ruby.git", @REPOSITORY_TYPE=:git, @git_branch=nil, @git_worktree=nil, @svn_revision=nil, @SRC_DIR="/tmp/ruby/src", @BUILD_DIR="/tmp/ruby/build", @INSTALL_DIR="/tmp/ruby/install", @TARGET_NAME="trunk-asserts", @TARGET_SRC_DIR="/tmp/ruby/src/trunk-asserts", @TARGET_BUILD_DIR="/tmp/ruby/build/trunk-asserts", @TARGET_INSTALL_DIR="/tmp/ruby/install/trunk-asserts", @configure_opts=["--enable-shared"], @build_opts="DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"", @btest_opts="-j4", @test_opts="TESTS='-j4'", @incremental=true, @steps=["checkout", "autoconf", "configure", "build_up", "build_miniruby", "build_ruby", "build_all", "build_install", "test_btest", "test_basic", "test_all", "test_rubyspec"], @quiet=false, @gist=false, @timeout=21600, @logfile="/home/ko1/ruby/logs/brlog.trunk-asserts.20230307-081642", @ruby_env=[["RUBY_DEBUG", "ci"], ["RUBY_TEST_SUBPROCESS_TIMEOUT_SCALE", "50"]], @make="make", @logger=#<Logger:0x0000557274cce868 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x0000557274cce728 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x0000557274cce598 @shift_period_suffix="%Y%m%d", @shift_size=1048576, @shift_age=0, @filename="/home/ko1/ruby/logs/brlog.trunk-asserts.20230307-081642", @dev=#<File:/home/ko1/ruby/logs/brlog.trunk-asserts.20230307-081642>, @binmode=false, @mon_data=#<Monitor:0x0000557274cce4d0>, @mon_data_owner_object_id=860>>>
$$$[beg] make update-unicode  DEFS="-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline"
make: Nothing to be done for 'update-unicode'.
$$$[end] "make update-unicode  DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0.
$$$[beg] make update-download DEFS="-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline"
tool/config.guess already exists
tool/config.sub already exists
Update rbs to 7a5663f0f433ccd24db32e4dda9dc7754c269247
From https://github.com/ruby/rbs
 * branch              7a5663f0f433ccd24db32e4dda9dc7754c269247 -> FETCH_HEAD
HEAD is now at 7a5663f0 Skip RBS validation with `$SKIP_RBS_VALIDATION`
echo 7a5663f0f433ccd24db32e4dda9dc7754c269247 | /bin/sh /tmp/ruby/src/trunk-asserts/tool/ifchange /tmp/ruby/src/trunk-asserts/.bundle/.timestamp/rbs.revision -
/tmp/ruby/src/trunk-asserts/.bundle/.timestamp/rbs.revision unchanged
Update debug to 65197361213529fb5f0b5f6ec111b4d2688a3887
From https://github.com/ruby/debug
 * branch            65197361213529fb5f0b5f6ec111b4d2688a3887 -> FETCH_HEAD
HEAD is now at 6519736 Increase timeout in debug_code
echo 65197361213529fb5f0b5f6ec111b4d2688a3887 | /bin/sh /tmp/ruby/src/trunk-asserts/tool/ifchange /tmp/ruby/src/trunk-asserts/.bundle/.timestamp/debug.revision -
/tmp/ruby/src/trunk-asserts/.bundle/.timestamp/debug.revision unchanged
$$$[end] "make update-download DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0.
$$$[beg] make update-rubyspec DEFS="-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline"
make: Nothing to be done for 'update-rubyspec'.
$$$[end] "make update-rubyspec DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0.
$$$[beg] make update-src      DEFS="-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline"
From https://github.com/ruby/ruby
   c077df9..589c2b1  master     -> origin/master
Updating c077df9..589c2b1
Fast-forward
 .document                                          |   2 +-
 .github/workflows/compilers.yml                    |   2 +-
 .../{mjit-bindgen.yml => rjit-bindgen.yml}         |   4 +-
 .github/workflows/{mjit.yml => rjit.yml}           |  17 +-
 .gitignore                                         |  11 +-
 NEWS.md                                            |   2 +-
 README.ja.md                                       |   2 +-
 README.md                                          |   2 +-
 array.c                                            |   8 +-
 benchmark/lib/benchmark_driver/runner/mjit.rb      |  34 -
 benchmark/mjit_exivar.yml                          |  18 -
 benchmark/mjit_integer.yml                         |  32 -
 benchmark/mjit_kernel.yml                          |  20 -
 benchmark/mjit_leave.yml                           |   8 -
 benchmark/mjit_opt_cc_insns.yml                    |  27 -
 benchmark/mjit_struct_aref.yml                     |  10 -
 bignum.c                                           |   2 +-
 bootstraptest/runner.rb                            |   2 +-
 bootstraptest/test_gc.rb                           |   2 +-
 bootstraptest/test_ractor.rb                       |   4 +-
 bootstraptest/{test_mjit.rb => test_rjit.rb}       |   0
 bootstraptest/test_yjit.rb                         |   6 +-
 class.c                                            |   4 +-
 common.mk                                          | 981 ++++++++++-----------
 compile.c                                          |   2 +-
 configure.ac                                       |  62 +-
 constant.h                                         |   2 -
 cont.c                                             |   6 +-
 debug_counter.c                                    |   2 -
 defs/gmake.mk                                      |  30 +-
 defs/universal.mk                                  |   5 -
 doc/{mjit/mjit.md => rjit/rjit.md}                 |  24 +-
 doc/yjit/yjit.md                                   |   4 +-
 error.c                                            |   6 +-
 eval.c                                             |   4 +-
 gc.c                                               |  12 +-
 gems/bundled_gems                                  |   2 +-
 hash.c                                             |  16 +-
 id_table.c                                         |   6 +-
 include/ruby/backward/2/attributes.h               |   6 +-
 include/ruby/internal/dllexport.h                  |  34 +-
 include/ruby/internal/intern/error.h               |   2 +-
 inits.c                                            |   6 +-
 insns.def                                          |   4 -
 internal/array.h                                   |   2 -
 internal/basic_operators.h                         |   2 -
 internal/bignum.h                                  |   2 -
 internal/bits.h                                    |  11 +-
 internal/class.h                                   |   2 -
 internal/cmdlineopt.h                              |   6 +-
 internal/compile.h                                 |   2 -
 internal/gc.h                                      |   2 -
 internal/hash.h                                    |   2 -
 internal/numeric.h                                 |   2 -
 internal/object.h                                  |   2 -
 internal/proc.h                                    |   2 -
 internal/re.h                                      |   2 -
 internal/sanitizers.h                              |   4 -
 internal/string.h                                  |   2 -
 internal/thread.h                                  |   2 -
 internal/variable.h                                |   2 -
 internal/vm.h                                      |  12 +-
 iseq.c                                             |  14 +-
 lib/bundler/vendor/fileutils/lib/fileutils.rb      |   2 +-
 lib/fileutils.rb                                   |   2 +-
 lib/ruby_vm/{mjit => rjit}/assembler.rb            |   8 +-
 lib/ruby_vm/{mjit => rjit}/block.rb                |   6 +-
 lib/ruby_vm/{mjit => rjit}/branch_stub.rb          |   8 +-
 lib/ruby_vm/{mjit => rjit}/c_pointer.rb            |  16 +-
 lib/ruby_vm/{mjit => rjit}/c_type.rb               |   6 +-
 lib/ruby_vm/{mjit => rjit}/code_block.rb           |  12 +-
 lib/ruby_vm/{mjit => rjit}/compiler.rb             |  74 +-
 lib/ruby_vm/{mjit => rjit}/context.rb              |   2 +-
 lib/ruby_vm/{mjit => rjit}/exit_compiler.rb        |  40 +-
 lib/ruby_vm/{mjit => rjit}/hooks.rb                |   6 +-
 lib/ruby_vm/{mjit => rjit}/insn_compiler.rb        | 744 ++++++++--------
 lib/ruby_vm/{mjit => rjit}/invariants.rb           |  22 +-
 lib/ruby_vm/{mjit => rjit}/jit_state.rb            |  10 +-
 lib/ruby_vm/{mjit => rjit}/stats.rb                |  20 +-
 mjit.c                                             | 569 ------------
 mjit.h                                             | 158 ----
 mjit.rb                                            |  37 -
 numeric.c                                          |  22 +-
 object.c                                           |  20 +-
 probes_helper.h                                    |   2 -
 proc.c                                             |   8 +-
 process.c                                          |  54 +-
 ractor.c                                           |  16 +-
 re.c                                               |   2 +-
 rjit.c                                             | 566 ++++++++++++
 rjit.h                                             | 157 ++++
 rjit.rb                                            |  37 +
 mjit_c.c => rjit_c.c                               |  34 +-
 mjit_c.h => rjit_c.h                               |  62 +-
 mjit_c.rb => rjit_c.rb                             | 343 ++++---
 ruby-runner.c                                      |  16 -
 ruby.c                                             |  82 +-
 shape.c                                            |  10 +-
 shape.h                                            |   4 -
 spec/ruby/command_line/dash_v_spec.rb              |   2 +-
 spec/ruby/core/io/flush_spec.rb                    |  10 +-
 spec/ruby/core/io/shared/write.rb                  |  10 +-
 spec/ruby/core/process/status/wait_spec.rb         |   2 +-
 spec/ruby/core/process/wait2_spec.rb               |   4 +-
 spec/ruby/core/process/wait_spec.rb                |   2 +-
 string.c                                           |  14 +-
 template/Doxyfile.tmpl                             |  10 +-
 template/GNUmakefile.in                            |   1 -
 template/Makefile.in                               |  77 +-
 template/fake.rb.in                                |   6 +-
 test/-ext-/bug_reporter/test_bug_reporter.rb       |   2 +-
 test/csv/parse/test_general.rb                     |   2 +-
 test/drb/drbtest.rb                                |   2 +-
 test/fiber/scheduler.rb                            |  72 +-
 test/lib/jit_support.rb                            |  33 +-
 test/net/http/test_httpresponse.rb                 |   4 +-
 test/reline/test_within_pipe.rb                    |   2 +-
 test/rinda/test_rinda.rb                           |   4 +-
 test/ruby/test_fiber.rb                            |   2 +-
 test/ruby/test_io.rb                               |  10 +-
 test/ruby/test_module.rb                           |   2 +-
 test/ruby/test_optimization.rb                     |   2 +-
 test/ruby/test_process.rb                          |   4 +-
 test/ruby/test_rubyoptions.rb                      |  34 +-
 test/ruby/test_settracefunc.rb                     |   4 +-
 test/ruby/test_shapes.rb                           |   2 +-
 test/ruby/test_thread.rb                           |   6 +-
 test/ruby/test_yjit.rb                             |   2 +-
 test/ruby/test_yjit_exit_locations.rb              |   2 +-
 test/rubygems/test_gem_stream_ui.rb                |   6 +-
 test/socket/test_socket.rb                         |   2 +-
 test/test_open3.rb                                 |   2 +-
 thread.c                                           |  30 +-
 thread_pthread.c                                   |   4 +-
 thread_sync.c                                      |  57 +-
 tool/leaked-globals                                |   2 +-
 tool/lib/core_assertions.rb                        |   4 +-
 tool/lib/test/unit.rb                              |  14 +-
 tool/mjit_archflag.sh                              |  40 -
 tool/mjit_tabs.rb                                  |  67 --
 tool/mk_builtin_loader.rb                          |   4 +-
 tool/mkconfig.rb                                   |   4 +-
 tool/rbinstall.rb                                  |   4 +-
 tool/{mjit => rjit}/bindgen.rb                     |  22 +-
 tool/ruby_vm/views/_leaf_helpers.erb               |   2 +-
 .../lib/ruby_vm/{mjit => rjit}/instruction.rb.erb  |   2 +-
 tool/ruby_vm/views/mjit_sp_inc.inc.erb             |  17 -
 tool/test/testunit/test_hideskip.rb                |   2 +-
 tool/test/testunit/test_parallel.rb                |   2 +-
 tool/test/webrick/test_httpserver.rb               |   2 +-
 tool/test/webrick/test_server.rb                   |   2 +-
 tool/transform_mjit_header.rb                      | 319 -------
 tool/update-deps                                   |   1 -
 variable.c                                         |  22 +-
 version.c                                          |  16 +-
 vm.c                                               |  61 +-
 vm_args.c                                          |   3 -
 vm_backtrace.c                                     |   4 +-
 vm_callinfo.h                                      |   2 +-
 vm_core.h                                          |  19 +-
 vm_eval.c                                          |  20 +-
 vm_exec.h                                          |   7 -
 vm_insnhelper.c                                    | 128 +--
 vm_insnhelper.h                                    |  20 +-
 vm_method.c                                        |  35 +-
 vm_sync.c                                          |   8 +-
 vm_trace.c                                         |   8 +-
 win32/Makefile.sub                                 |  10 +-
 win32/setup.mak                                    |   4 +-
 win32/win32.c                                      |   6 +-
 yjit.h                                             |   2 +-
 171 files changed, 2528 insertions(+), 3474 deletions(-)
 rename .github/workflows/{mjit-bindgen.yml => rjit-bindgen.yml} (98%)
 rename .github/workflows/{mjit.yml => rjit.yml} (83%)
 delete mode 100644 benchmark/lib/benchmark_driver/runner/mjit.rb
 delete mode 100644 benchmark/mjit_exivar.yml
 delete mode 100644 benchmark/mjit_integer.yml
 delete mode 100644 benchmark/mjit_kernel.yml
 delete mode 100644 benchmark/mjit_leave.yml
 delete mode 100644 benchmark/mjit_opt_cc_insns.yml
 delete mode 100644 benchmark/mjit_struct_aref.yml
 rename bootstraptest/{test_mjit.rb => test_rjit.rb} (100%)
 delete mode 100644 defs/universal.mk
 rename doc/{mjit/mjit.md => rjit/rjit.md} (51%)
 rename lib/ruby_vm/{mjit => rjit}/assembler.rb (99%)
 rename lib/ruby_vm/{mjit => rjit}/block.rb (70%)
 rename lib/ruby_vm/{mjit => rjit}/branch_stub.rb (75%)
 rename lib/ruby_vm/{mjit => rjit}/c_pointer.rb (95%)
 rename lib/ruby_vm/{mjit => rjit}/c_type.rb (94%)
 rename lib/ruby_vm/{mjit => rjit}/code_block.rb (89%)
 rename lib/ruby_vm/{mjit => rjit}/compiler.rb (84%)
 rename lib/ruby_vm/{mjit => rjit}/context.rb (97%)
 rename lib/ruby_vm/{mjit => rjit}/exit_compiler.rb (80%)
 rename lib/ruby_vm/{mjit => rjit}/hooks.rb (88%)
 rename lib/ruby_vm/{mjit => rjit}/insn_compiler.rb (88%)
 rename lib/ruby_vm/{mjit => rjit}/invariants.rb (88%)
 rename lib/ruby_vm/{mjit => rjit}/jit_state.rb (80%)
 rename lib/ruby_vm/{mjit => rjit}/stats.rb (85%)
 delete mode 100644 mjit.c
 delete mode 100644 mjit.h
 delete mode 100644 mjit.rb
 create mode 100644 rjit.c
 create mode 100644 rjit.h
 create mode 100644 rjit.rb
 rename mjit_c.c => rjit_c.c (82%)
 rename mjit_c.h => rjit_c.h (81%)
 rename mjit_c.rb => rjit_c.rb (89%)
 delete mode 100644 tool/mjit_archflag.sh
 delete mode 100644 tool/mjit_tabs.rb
 rename tool/{mjit => rjit}/bindgen.rb (97%)
 rename tool/ruby_vm/views/lib/ruby_vm/{mjit => rjit}/instruction.rb.erb (96%)
 delete mode 100644 tool/ruby_vm/views/mjit_sp_inc.inc.erb
 delete mode 100644 tool/transform_mjit_header.rb
Latest commit hash = 589c2b1fb2
$$$[end] "make update-src      DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0.
$$$[beg] make after-update    DEFS="-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline"
sed 's/{\$([^(){}]*)[^{}]*}//g' /tmp/ruby/src/trunk-asserts/common.mk > uncommon.mk
GNUmakefile:30: /tmp/ruby/src/trunk-asserts/defs/universal.mk: No such file or directory
make: *** No rule to make target '/tmp/ruby/src/trunk-asserts/defs/universal.mk'.  Stop.
$$$[end] "make after-update    DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 512.
$$$[beg] make miniruby DEFS="-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline"
	BASERUBY = /usr/bin/ruby --disable=gems
	CC = gcc
	LD = ld
	LDSHARED = gcc -shared
	CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef   -fPIC 
	XCFLAGS = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/x86_64-linux -I/tmp/ruby/src/trunk-asserts/include -I/tmp/ruby/src/trunk-asserts -I/tmp/ruby/src/trunk-asserts/enc/unicode/15.0.0 
	CPPFLAGS = -DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline  
	DLDFLAGS = -Wl,--compress-debug-sections=zlib -Wl,-soname,libruby.so.3.3  -fstack-protector-strong  
	SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread 
	LANG = 
	LC_ALL = 
	LC_CTYPE = 
	MFLAGS = 
	RUSTC = rustc
	YJIT_RUSTC_ARGS = --crate-name=yjit --crate-type=staticlib --edition=2021 -g -C lto=thin -C opt-level=3 -C overflow-checks=on '--out-dir=/tmp/ruby/build/trunk-asserts/yjit/target/release/' /tmp/ruby/src/trunk-asserts/yjit/src/lib.rs
gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

GNUmakefile:30: /tmp/ruby/src/trunk-asserts/defs/universal.mk: No such file or directory
make: *** No rule to make target '/tmp/ruby/src/trunk-asserts/defs/universal.mk'.  Stop.
$$$[end] "make miniruby DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 512.
raw logfile