]> code.ossystems Code Review - openembedded-core.git/commit
ruby: Use arm32 for coroutines on 32bit-arm
authorKhem Raj <raj.khem@gmail.com>
Tue, 10 Mar 2020 01:19:38 +0000 (18:19 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Mar 2020 11:44:12 +0000 (11:44 +0000)
commitea93afa4c1c40d74faf321baa78a29d0ad7d3223
treea08cdbfa53527ee0451f847528c35185387d8823
parent7d35e4bc6ff94a2d03c48827d7d60a6855c9029d
ruby: Use arm32 for coroutines on 32bit-arm

in 2.7 [2] ruby enabled ucontext for coroutines on arm32 but it does not
work for musl since it uses glibc specific functions e.g.
getcontext/swapcontext/swapcontext also see [1]

This patch reverts back to using arm32 implementation for coroutines on
arm

[1] https://bugs.ruby-lang.org/issues/16455#change-83442
[2] https://github.com/ruby/ruby/commit/6c6bf9ffcbfeb8be9d9c342e7604b74ec819e88a#diff-7fccec8474e2184cd2518046bf39d54cL10

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/ruby/ruby_2.7.0.bb