[#87847] undefined symbol: mjit_init_p — Leam Hall <leamhall@...>

I pulled Ruby trunk on 3 Jul and am now getting errors similar to the

10 messages 2018/07/07

[#88088] [Ruby trunk Misc#14937] [PATCH] thread_pthread: lazy-spawn timer-thread only on contention — normalperson@...

Issue #14937 has been reported by normalperson (Eric Wong).

9 messages 2018/07/24

[ruby-core:88171] Re: [ruby-cvs:71198] normal:r64107 (trunk): thread_pthread: remove timer-thread by restructuring GVL

From: Eric Wong <normalperson@...>
Date: 2018-07-29 22:56:22 UTC
List: ruby-core #88171
SHIBATA Hiroshi <hsbt@ruby-lang.org> wrote:
> In file included from ../thread.c:374:
> ../thread_pthread.c:1588:11: error: implicit declaration of function
> 'ppoll' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>     (void)ppoll(&pfd, 1, ts, 0);
>           ^
> ../thread_pthread.c:1588:11: note: did you mean 'poll'?
> /usr/include/sys/poll.h:114:12: note: 'poll' declared here
> extern int poll (struct pollfd *, nfds_t, int) __DARWIN_ALIAS_C(poll);

Thanks for the report.  Can you try r64109?
commit 2fa1e2e3c3c5c4b3ce84730dee4bcbe9d81b8e35

    thread.c: move ppoll wrapper before thread_pthread.c
    
    thread_pthread.c relies on ppoll for rb_sigwait_sleep, so ensure
    the compatibility wrapper is available for it.

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