[#98645] [Ruby master Misc#16933] DevelopersMeeting20200618Japan — mame@...

Issue #16933 has been reported by mame (Yusuke Endoh).

14 messages 2020/06/04

[#98663] [Ruby master Bug#16936] `make check TESTS="-n !/Foo#method/"` not skipping the test case — jaruga@...

Issue #16936 has been reported by jaruga (Jun Aruga).

13 messages 2020/06/05

[#98772] [Ruby master Bug#16959] Weakmap has specs and third-party usage despite being a private API — headius@...

Issue #16959 has been reported by headius (Charles Nutter).

13 messages 2020/06/12

[#98826] [Ruby master Feature#16963] Remove English.rb from Ruby 2.8/3.0 — hsbt@...

Issue #16963 has been reported by hsbt (Hiroshi SHIBATA).

9 messages 2020/06/16

[#98920] [Ruby master Bug#16978] Ruby should not use realpath for __FILE__ — v.ondruch@...

Issue #16978 has been reported by vo.x (Vit Ondruch).

24 messages 2020/06/23

[#98947] [Ruby master Feature#16986] Anonymous Struct literal — ko1@...

Issue #16986 has been reported by ko1 (Koichi Sasada).

66 messages 2020/06/26

[#98964] [Ruby master Feature#16989] Sets: need ♥️ — marcandre-ruby-core@...

Issue #16989 has been reported by marcandre (Marc-Andre Lafortune).

33 messages 2020/06/26

[#98965] [Ruby master Feature#16990] Sets: operators compatibility with Array — marcandre-ruby-core@...

Issue #16990 has been reported by marcandre (Marc-Andre Lafortune).

11 messages 2020/06/26

[#98968] [Ruby master Feature#16993] Sets: from hash keys using Hash#key_set — marcandre-ruby-core@...

Issue #16993 has been reported by marcandre (Marc-Andre Lafortune).

10 messages 2020/06/26

[#98997] [Ruby master Feature#17000] 2.7.2 turns off deprecation warnings by deafult — mame@...

Issue #17000 has been reported by mame (Yusuke Endoh).

16 messages 2020/06/30

[ruby-core:98716] Ruby 2.7.x coroutine support on 32 bit PowerPC e500v2

From: Maurice Smulders <maurice.smulders@...>
Date: 2020-06-10 17:16:37 UTC
List: ruby-core #98716
I am trying to cross compile Ruby 2.7.1 using buildroot on PPC/32, and
am able to only do that using the  --with-coroutine=copy suboptimal
configure option.

I understand that this option is far from optimal - especially because
the actual HW platform is a single core MPC8548e PPC/32 e500v2/spe
processor.

Where do the coroutine sources come from? Is there a ppc/32 variant in
that original repo?

When I do NOT use copy (the library configured is uclibc 1.0.32) the
following error messages are shown:

compiling coroutine/ucontext/Context.c
compiling mjit.c
In file included from coroutine/ucontext/Context.c:14:0:
coroutine/ucontext/Context.h:22:5: error: unknown type name 'ucontext_t'
     ucontext_t state;
     ^~~~~~~~~~
In file included from coroutine/ucontext/Context.c:14:0:
coroutine/ucontext/Context.h: In function 'coroutine_initialize_main':
coroutine/ucontext/Context.h:32:5: warning: implicit declaration of
function 'getcontext' [-Wimplicit-function-declaration]
     getcontext(&context->state);
     ^~~~~~~~~~
In file included from coroutine/ucontext/Context.c:14:0:
coroutine/ucontext/Context.h: In function 'coroutine_initialize':
coroutine/ucontext/Context.h:45:19: error: request for member
'uc_stack' in something not a structure or union
     context->state.uc_stack.ss_size = size;
                   ^
coroutine/ucontext/Context.h:47:19: error: request for member
'uc_stack' in something not a structure or union
     context->state.uc_stack.ss_sp = (char*)stack;
                   ^
coroutine/ucontext/Context.h:48:19: error: request for member
'uc_stack' in something not a structure or union
     context->state.uc_stack.ss_flags = 0;
                   ^
coroutine/ucontext/Context.h:49:19: error: request for member
'uc_link' in something not a structure or union
     context->state.uc_link = NULL;
                   ^
In file included from coroutine/ucontext/Context.c:14:0:
coroutine/ucontext/Context.h:51:5: warning: implicit declaration of
function 'makecontext' [-Wimplicit-function-declaration]
     makecontext(&context->state, (void(*)(void))coroutine_trampoline,
2, (void*)start, (void*)context);
     ^~~~~~~~~~~
In file included from coroutine/ucontext/Context.c:14:0:
coroutine/ucontext/Context.h: In function 'coroutine_transfer':
coroutine/ucontext/Context.h:59:5: warning: implicit declaration of
function 'swapcontext' [-Wimplicit-function-declaration]
     swapcontext(&current->state, &target->state);
     ^~~~~~~~~~~
coroutine/ucontext/Context.h: In function 'coroutine_destroy':
coroutine/ucontext/Context.h:67:19: error: request for member
'uc_stack' in something not a structure or union
     context->state.uc_stack.ss_sp = NULL;
                   ^
In file included from coroutine/ucontext/Context.c:14:0:
coroutine/ucontext/Context.h:68:19: error: request for member
'uc_stack' in something not a structure or union
     context->state.uc_stack.ss_size = 0;
                   ^
Makefile:420: recipe for target 'coroutine/ucontext/Context.o' failed
make[2]: *** [coroutine/ucontext/Context.o] Error 1
make[2]: *** Waiting for unfinished jobs....
package/pkg-generic.mk:266: recipe for target
'/root/build/buildroot-top/buildroot/output/build/ruby-2.7.1/.stamp_built'
failed
make[1]: *** [/root/build/buildroot-top/buildroot/output/build/ruby-2.7.1/.stamp_built]
Error 2
buildroot/Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2

- Maurice

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next