Created attachment 898243 [details] build.log and emerge --info At first I thought these might be exposed by USE=debug, but toggling had no effect at all. Sample log is with it disabled. Does not reproduce on amd64. ruby -v: ruby 3.1.5p252 (2024-04-23 revision 1945f8dc0e) [i686-linux] exec ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" --excludes-dir=./test/excludes --name=!/memory_leak/ /var/tmp/portage/dev-lang/ruby-3.1.5/work/ruby-3.1.5/test/ruby/test_jit_debug.rb: cannot load such file -- /var/tmp/portage/dev-lang/ruby-3.1.5/work/ruby-3.1.5/test/ruby/test_jit Run options: --seed=45863 "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" --excludes-dir=./test/excludes --name=!/memory_leak/ # Running tests: 1) Failure: TestRubyOptions#test_segv_test [/var/tmp/portage/dev-lang/ruby-3.1.5/work/ruby-3.1.5/test/ruby/test_rubyoptions.rb:786]: pid 4516 killed by SIGSEGV (signal 11) (core dumped) | -e:1: [BUG] Segmentation fault at 0x000011a4 | ruby 3.1.5p252 (2024-04-23 revision 1945f8dc0e) [i686-linux] | | -- Control frame information ----------------------------------------------- | c:0003 p:---- s:0012 e:000011 CFUNC :kill | c:0002 p:0015 s:0006 e:000005 EVAL -e:1 [FINISH] | c:0001 p:0000 s:0003 E:0009e8 (none) [FINISH] | | -- Ruby level backtrace information ---------------------------------------- | -e:1:in `<main>' | -e:1:in `kill' | | -- Machine register context ------------------------------------------------ | GS: 0x00000063 FS: 0x00000000 ES: 0x0000002b DS: 0x0000002b EDI: 0xf3bb602c | ESI: 0x000011a4 EBP: 0x00000002 ESP: 0xff9d7cfc EBX: 0x000011a4 EDX: 0xf4430464 | ECX: 0x0000000b EAX: 0x00000000 TRA: 0x00000000 ERR: 0x00000000 EIP: 0xf4440579 | CS: 0x00000023 EFL: 0x00000202 UES: 0xff9d7cfc SS: 0x0000002b | | -- C level backtrace information ------------------------------------------- | /var/tmp/portage/dev-lang/ruby-3.1.5/work/ruby-3.1.5/libruby31.so.3.1.5(rb_vm_bugreport+0x731) [0xf431d7b1] | /var/tmp/portage/dev-lang/ruby-3.1.5/work/ruby-3.1.5/libruby31.so.3.1.5(0xa3e5b) [0xf416be5b] | /var/tmp/portage/dev-lang/ruby-3.1.5/work/ruby-3.1.5/libruby31.so.3.1.5(0x1b71c1) [0xf427f1c1] | linux-gate.so.1(__kernel_rt_sigreturn+0x0) [0xf44405a0] . 1. [2/2] Assertion for "stderr" | <""> expected but was | <"-- C level backtrace information -------------------------------------------\n" + | "/var/tmp/portage/dev-lang/ruby-3.1.5/work/ruby-3.1.5/libruby31.so.3.1.5(rb_vm_bugreport+0x731) [0xf431d7b1]\n" + | "/var/tmp/portage/dev-lang/ruby-3.1.5/work/ruby-3.1.5/libruby31.so.3.1.5(0xa3e5b) [0xf416be5b]\n" + | "/var/tmp/portage/dev-lang/ruby-3.1.5/work/ruby-3.1.5/libruby31.so.3.1.5(0x1b71c1) [0xf427f1c1]\n" + | "linux-gate.so.1(__kernel_rt_sigreturn+0x0) [0xf44405a0]\n">. 2) Failure: TestRubyOptions#test_segv_setproctitle [/var/tmp/portage/dev-lang/ruby-3.1.5/work/ruby-3.1.5/test/ruby/test_rubyoptions.rb:806]: pid 4676 killed by SIGSEGV (signal 11) (core dumped) | -e:1: [BUG] Segmentation fault at 0x00001244 | ruby 3.1.5p252 (2024-04-23 revision 1945f8dc0e) [i686-linux] | | -- Control frame information ----------------------------------------------- | c:0003 p:---- s:0012 e:000011 CFUNC :kill | c:0002 p:0029 s:0006 e:000005 EVAL -e:1 [FINISH] | c:0001 p:0000 s:0003 E:001c98 (none) [FINISH] | | -- Ruby level backtrace information ---------------------------------------- | -e:1:in `<main>' | -e:1:in `kill' | | -- Machine register context ------------------------------------------------ | GS: 0x00000063 FS: 0x00000000 ES: 0x0000002b DS: 0x0000002b EDI: 0xed81802c | ESI: 0x00001244 EBP: 0x00000002 ESP: 0xffcf543c EBX: 0x00001244 EDX: 0xee092464 | ECX: 0x0000000b EAX: 0x00000000 TRA: 0x00000000 ERR: 0x00000000 EIP: 0xee0a2579 | CS: 0x00000023 EFL: 0x00000202 UES: 0xffcf543c SS: 0x0000002b | | -- C level backtrace information ------------------------------------------- | @<BF>1\( . 1. [2/2] Assertion for "stderr" | <""> expected but was | <"-- C level backtrace information -------------------------------------------\n" + "@\xBF1\\(">. Finished tests in 431.402526s, 49.0030 tests/s, 6368.7967 assertions/s. 21140 tests, 2747515 assertions, 2 failures, 0 errors, 59 skips ruby -v: ruby 3.1.5p252 (2024-04-23 revision 1945f8dc0e) [i686-linux] make: *** [uncommon.mk:829: yes-test-all] Error 2