[#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:88175] Re: [ruby-cvs:71198] normal:r64107 (trunk): thread_pthread: remove timer-thread by restructuring GVL

From: SHIBATA Hiroshi <hsbt@...>
Date: 2018-07-30 00:17:40 UTC
List: ruby-core #88175
Hi Eric.

I got another error. See https://bugs.ruby-lang.org/issues/14950#note-1
On Mon, Jul 30, 2018 at 7:56 AM Eric Wong <[email protected]> wrote:
>
> SHIBATA Hiroshi <[email protected]> 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.



-- 
SHIBATA Hiroshi [email protected]
http://www.hsbt.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next