Ruby almost builds on x32, with just the detection of the coroutine implementation using the incompatible x86 version instead of amd64 which does work with x32. This can easily be handled in the ebuild.
Created attachment 894558 [details] Use --with-coroutine to manually override auto detection
It would probably be good to send this upstream as well.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3368ec5d56875f6144742cf4a50a987cfac405a2 commit 3368ec5d56875f6144742cf4a50a987cfac405a2 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2024-07-28 07:24:58 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2024-07-28 07:26:01 +0000 dev-lang/ruby: fix co-routines on x32 Closes: https://bugs.gentoo.org/933070 Signed-off-by: Hans de Graaff <graaff@gentoo.org> dev-lang/ruby/ruby-3.3.4-r1.ebuild | 301 +++++++++++++++++++++++++++++++++++++ dev-lang/ruby/ruby-3.3.4.ebuild | 3 + 2 files changed, 304 insertions(+)