[#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:87824] [Ruby trunk Bug#14867] Process.wait can wait for MJIT compiler process

From: Greg.mpls@...
Date: 2018-07-06 00:50:38 UTC
List: ruby-core #87824
Issue #14867 has been updated by MSP-Greg (Greg L).


@normalperson

I've got builds running both locally and on Appveyor, when they finish I'll have more info.

> Just to reiterate, "make test" (not "test-all") passes?

Actually, btest, test-basic, & test-spec all pass.

> Do you get any output at all from test-all?

If test-all locks/freezes, I don't get any output.  Long story, I need to change it.  Appveyor has a time limit on build jobs.  If the build hits the time limit, that's it, no script can clean up, etc.  I'm trying to get test-all to stop locking up...

I added you patch, and I can't yet run `ruby --jit -e exit`, but I am seeing the line

```
process.c: sigchld=0 getpid.size=8 rb_pid_t.size=8

```

Thanks, and I'll update when the builds finish, Greg

----------------------------------------
Bug #14867: Process.wait can wait for MJIT compiler process
https://bugs.ruby-lang.org/issues/14867#change-72842

* Author: k0kubun (Takashi Kokubun)
* Status: Assigned
* Priority: Normal
* Assignee: normalperson (Eric Wong)
* Target version: 
* ruby -v: 
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
If Ruby tries to wait for any child process, MJIT's gcc/clang process could be caught by the method call. It's not convenient for both Ruby's user and MJIT worker thread, so Process.wait and its families should somehow avoid waiting for it.

---Files--------------------------------
0001-hijack-SIGCHLD-handler-for-internal-use.patch (13.8 KB)
JIT-test-all.log (39.9 KB)
mjit_test-all_63796.log (40.4 KB)


-- 
https://bugs.ruby-lang.org/

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

In This Thread

Prev Next