Issue #21965 has been updated by hsbt (Hiroshi SHIBATA). Status changed from Open to Closed https://github.com/ruby/ruby/pull/16456 fixed this and added my simple workflow for cross compile. ---------------------------------------- Bug #21965: cross compile with out-of-source build is broken https://bugs.ruby-lang.org/issues/21965#change-116878 * Author: hsbt (Hiroshi SHIBATA) * Status: Closed * Assignee: kddnewton (Kevin Newton) * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN ---------------------------------------- cross compile with out-of-source build is broken since 14th March. I created simple cross-compile workflow with out-of-source build at https://github.com/ruby/ruby/pull/16545 because our CI suite is not covered that case. `ruby_4_0` branch is working fine: https://github.com/ruby/ruby/actions/runs/23571659532/job/68635350261 `master` branch is broken: https://github.com/ruby/ruby/actions/runs/23574018376/job/68642526668 ``` ... making ../src/warning.rbinc making ../src/gc.rbinc ./dump_ast: 1: ELF�@[@��5@8: not found ./dump_ast: 1: %@@@��888,�: not found ./dump_ast: 2: ,�: not found ./dump_ast: 3: ��: not found ... ``` @nobu try to fix that at https://github.com/ruby/ruby/pull/16456 -- https://bugs.ruby-lang.org/