All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 1/3] ruby: Use arm32 for coroutines on 32bit-arm
@ 2020-03-10  1:15 Khem Raj
  2020-03-10  1:15 ` [PATCH V2 2/3] valgrind: Fix timerfd syscall test to be 64bit time_t safe Khem Raj
  2020-03-10  1:15 ` [PATCH V2 3/3] dbus-test: Replace cp -a/-r with portable options Khem Raj
  0 siblings, 2 replies; 4+ messages in thread
From: Khem Raj @ 2020-03-10  1:15 UTC (permalink / raw)
  To: openembedded-core

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>
---
v2: No change

 meta/recipes-devtools/ruby/ruby_2.7.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/ruby/ruby_2.7.0.bb b/meta/recipes-devtools/ruby/ruby_2.7.0.bb
index 268b4bebd9..884bb0ef44 100644
--- a/meta/recipes-devtools/ruby/ruby_2.7.0.bb
+++ b/meta/recipes-devtools/ruby/ruby_2.7.0.bb
@@ -25,6 +25,8 @@ EXTRA_OECONF = "\
     --with-pkg-config=pkg-config \
 "
 
+EXTRA_OECONF_append_arm_libc-musl = " --with-coroutine=arm32"
+
 do_install() {
     oe_runmake 'DESTDIR=${D}' install
 }
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-10  8:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10  1:15 [PATCH V2 1/3] ruby: Use arm32 for coroutines on 32bit-arm Khem Raj
2020-03-10  1:15 ` [PATCH V2 2/3] valgrind: Fix timerfd syscall test to be 64bit time_t safe Khem Raj
2020-03-10  1:15 ` [PATCH V2 3/3] dbus-test: Replace cp -a/-r with portable options Khem Raj
2020-03-10  8:32   ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.