From: "alanwu (Alan Wu) via ruby-core" Date: 2026-10-26T18:11:34+00:00 Subject: [ruby-core:127241] [Ruby Bug#22472] Both yjit & zjit break ruby 4.0.9 build on x86_64 Issue #22472 has been updated by alanwu (Alan Wu). Status changed from Open to Third Party's Issue This is not an issue with ruby but with the tool chain you're using to build ruby. > collect2: fatal error: ld terminated with signal 6 [Aborted], core dumped The linker you're using is crashing, and it's not clear which linker you're using. In any case, you should report this to the tool chain maintainers. ---------------------------------------- Bug #22472: Both yjit & zjit break ruby 4.0.9 build on x86_64 https://bugs.ruby-lang.org/issues/22472#change-119657 * Author: satadru (Satadru Pramanik) * Status: Third Party's Issue * ruby -v: ruby 4.0.7 (2026-09-15 revision 229531a6cf) +PRISM [x86_64-linux] * Backport: 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN ---------------------------------------- I see this error building ruby 4.0.9 with --enable-yjit on x86_64 with our Chromebrew builds. Here is the error with RUST_BACKTRACE=full: transdb.h updated linking miniruby thread '' (41405) panicked at src/input_files.rs:1954:35: called `Option::unwrap()` on a `None` value stack backtrace: 0: 0x5fb9dbc3e571 - 1: 0x5fb9dbc53a3a - 2: 0x5fb9dbc43ddc - 3: 0x5fb9dbc1c246 - 4: 0x5fb9dbc368e1 - 5: 0x5fb9dbc36c42 - 6: 0x5fb9dbc1c324 - 7: 0x5fb9dbc15099 - 8: 0x5fb9dbc1ce6d - 9: 0x5fb9dbc5416c - 10: 0x5fb9dbc54132 - 11: 0x5fb9dbc53ee9 - 12: 0x5fb9db8ba26f - 13: 0x5fb9db8b6ab7 - 14: 0x5fb9db9047ff - 15: 0x5fb9db92840c - 16: 0x5fb9db9fe566 - 17: 0x5fb9db928633 - 18: 0x5fb9db9fe566 - 19: 0x5fb9db928633 - 20: 0x5fb9db9284d4 - 21: 0x5fb9db9284d4 - 22: 0x5fb9db9fe566 - 23: 0x5fb9db9a5ace - 24: 0x5fb9dbbea37f - 25: 0x5fb9dbbe99ed - 26: 0x5fb9dbbeb44a - 27: 0x5fb9dbbe6fed - 28: 0x5fb9dbc3dcd9 - 29: 0x7aa62c1e6f84 - 30: 0x7aa62c123b3f - __clone 31: 0x0 - collect2: fatal error: ld terminated with signal 6 [Aborted], core dumped -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/