Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933070 - dev-lang/ruby: uses the wrong coroutine implementation on x32
Summary: dev-lang/ruby: uses the wrong coroutine implementation on x32
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: x32
  Show dependency tree
 
Reported: 2024-05-28 13:03 UTC by Steven Newbury
Modified: 2024-07-28 07:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Use --with-coroutine to manually override auto detection (file_933070.txt,504 bytes, text/plain)
2024-05-28 13:04 UTC, Steven Newbury
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Newbury 2024-05-28 13:03:41 UTC
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.
Comment 1 Steven Newbury 2024-05-28 13:04:52 UTC
Created attachment 894558 [details]
Use --with-coroutine to manually override auto detection
Comment 2 Hans de Graaff gentoo-dev Security 2024-07-28 07:25:57 UTC
It would probably be good to send this upstream as well.
Comment 3 Larry the Git Cow gentoo-dev 2024-07-28 07:26:13 UTC
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(+)