[#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:87788] Re: [ruby-cvs:70943] naruse:r63852 (trunk): Revert r63758 and related commits

From: Eric Wong <normalperson@...>
Date: 2018-07-04 19:44:33 UTC
List: ruby-core #87788
[email protected] wrote:
>     Revert r63758 and related commits
>     
>     The change is unstable on Windows. Please re-commit it when it correctly
>     supports Windows.

Can you please provide details?  I don't use non-Free software.
I thought all that was needed was to fix MJIT waitpid case for
[ruby-core:87759].

But all you needed to do to use old code path on Windows was
unset SIGCHLD_LOSSY, instead of changing many lines.

diff --git a/vm_core.h b/vm_core.h
--- a/vm_core.h
+++ b/vm_core.h
@@ -101,7 +101,7 @@
 #endif
 
 /* platforms with broken or non-existent SIGCHLD work by polling */
-#if defined(__APPLE__) || defined(__WIN32__) || defined(_WIN32)
+#if defined(__APPLE__)
 #  define SIGCHLD_LOSSY (1)
 #else
 #  define SIGCHLD_LOSSY (0)

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

In This Thread

Prev Next