# Logfile created on 2025-11-07 07:57:09 +0000 by logger.rb/v1.5.3
#<BuildRuby:0x00007a8b57acfdc0 @REPOSITORY="https://github.com/ruby/ruby.git", @REPOSITORY_TYPE=:git, @git_branch=nil, @git_tag=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-gc-asserts", @TARGET_SRC_DIR="/tmp/ruby/src/trunk-gc-asserts", @TARGET_BUILD_DIR="/tmp/ruby/build/trunk-gc-asserts", @TARGET_INSTALL_DIR="/tmp/ruby/install/trunk-gc-asserts", @configure_opts=["--enable-shared"], @build_opts="DEFS=\"-DRGENGC_CHECK_MODE=2\"", @btest_opts="-j4", @test_opts="TESTS='-j4'", @spec_opts="-j", @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=316000, @no_timeout_error=nil, @logfile="/home/ko1/ruby/logs/brlog.trunk-gc-asserts.20251107-075708", @ruby_env=[["RUBY_DEBUG", "ci"], ["RUBY_TEST_TIMEOUT_SCALE", "100"]], @make="make", @logger=#<Logger:0x00007a8b5c0cc800 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x00007a8b5c0cc620 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x00007a8b57a09120 @shift_period_suffix="%Y%m%d", @shift_size=1048576, @shift_age=0, @filename="/home/ko1/ruby/logs/brlog.trunk-gc-asserts.20251107-075708", @dev=#<File:/home/ko1/ruby/logs/brlog.trunk-gc-asserts.20251107-075708>, @binmode=false, @mon_data=#<Monitor:0x00007a8b5c0cc2d8>, @mon_data_owner_object_id=900>>>
$$$[beg] make update-download DEFS="-DRGENGC_CHECK_MODE=2"
tool/config.guess already exists
tool/config.sub already exists
$$$[end] "make update-download DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0.
$$$[beg] make update-src DEFS="-DRGENGC_CHECK_MODE=2"
Already up to date.
Latest commit hash = 6d81969b47
$$$[end] "make update-src DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0.
$$$[beg] make after-update DEFS="-DRGENGC_CHECK_MODE=2"
/tmp/ruby/src/trunk-gc-asserts/revision.h updated
make[1]: Entering directory '/tmp/ruby/src/trunk-gc-asserts/ext/socket'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/tmp/ruby/src/trunk-gc-asserts/ext/socket'
generating x86_64-linux-fake.rb
x86_64-linux-fake.rb updated
generating enc.mk
making srcs under enc
make[1]: Entering directory '/tmp/ruby/build/trunk-gc-asserts'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/tmp/ruby/build/trunk-gc-asserts'
$$$[end] "make after-update DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0.
$$$[beg] make miniruby DEFS="-DRGENGC_CHECK_MODE=2"
BASERUBY = /usr/bin/ruby --disable=gems
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fPIC
XCFLAGS = -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/x86_64-linux -I.ext/include -I/tmp/ruby/src/trunk-gc-asserts/include -I/tmp/ruby/src/trunk-gc-asserts -I/tmp/ruby/src/trunk-gc-asserts/prism -I/tmp/ruby/src/trunk-gc-asserts/enc/unicode/16.0.0 -Dmodular_gc_dir=
CPPFLAGS = -DRGENGC_CHECK_MODE=2
DLDFLAGS = -Wl,--compress-debug-sections=zlib -Wl,-soname,libruby.so.4.0 -fstack-protector-strong
SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread
LANG = C.UTF-8
LC_ALL =
LC_CTYPE =
MFLAGS =
RUSTC = rustc
YJIT_RUSTC_ARGS = --crate-name=yjit --crate-type=staticlib --edition=2021 --cfg 'feature=stats_allocator' -g -C lto=thin -C opt-level=3 -C overflow-checks=on '--out-dir=/tmp/ruby/build/trunk-gc-asserts/target/release/' '/tmp/ruby/src/trunk-gc-asserts/yjit/src/lib.rs'
ZJIT_RUSTC_ARGS = --crate-name=zjit --crate-type=staticlib --edition=2024 --cfg 'feature=stats_allocator' -g -C lto=thin -C opt-level=3 -C overflow-checks=on '--out-dir=/tmp/ruby/build/trunk-gc-asserts/target/release/' '/tmp/ruby/src/trunk-gc-asserts/zjit/src/lib.rs'
gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Copyright (C) 2023 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.
compiling /tmp/ruby/src/trunk-gc-asserts/compile.c
In file included from /tmp/ruby/src/trunk-gc-asserts/compile.c:15011:
/tmp/ruby/src/trunk-gc-asserts/prism_compile.c: In function ‘pm_options_version_for_current_ruby_set’:
/tmp/ruby/src/trunk-gc-asserts/prism_compile.c:11562:51: error: ‘PM_OPTIONS_VERSION_CRUBY_4_0’ undeclared (first use in this function); did you mean ‘PM_OPTIONS_VERSION_CRUBY_3_5’?
11562 | #define PM_VERSION_FOR_RELEASE_IMPL(major, minor) PM_OPTIONS_VERSION_CRUBY_##major##_##minor
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/ruby/src/trunk-gc-asserts/prism_compile.c:11561:46: note: in expansion of macro ‘PM_VERSION_FOR_RELEASE_IMPL’
11561 | #define PM_VERSION_FOR_RELEASE(major, minor) PM_VERSION_FOR_RELEASE_IMPL(major, minor)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/ruby/src/trunk-gc-asserts/prism_compile.c:11565:24: note: in expansion of macro ‘PM_VERSION_FOR_RELEASE’
11565 | options->version = PM_VERSION_FOR_RELEASE(RUBY_API_VERSION_MAJOR, RUBY_API_VERSION_MINOR);
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/ruby/src/trunk-gc-asserts/prism_compile.c:11562:51: note: each undeclared identifier is reported only once for each function it appears in
11562 | #define PM_VERSION_FOR_RELEASE_IMPL(major, minor) PM_OPTIONS_VERSION_CRUBY_##major##_##minor
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/ruby/src/trunk-gc-asserts/prism_compile.c:11561:46: note: in expansion of macro ‘PM_VERSION_FOR_RELEASE_IMPL’
11561 | #define PM_VERSION_FOR_RELEASE(major, minor) PM_VERSION_FOR_RELEASE_IMPL(major, minor)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/ruby/src/trunk-gc-asserts/prism_compile.c:11565:24: note: in expansion of macro ‘PM_VERSION_FOR_RELEASE’
11565 | options->version = PM_VERSION_FOR_RELEASE(RUBY_API_VERSION_MAJOR, RUBY_API_VERSION_MINOR);
| ^~~~~~~~~~~~~~~~~~~~~~
At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
make: *** [Makefile:495: compile.o] Error 1
$$$[end] "make miniruby DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 512.