[#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:87990] [Ruby trunk Feature#14878] Add command line argument to deactivate JIT

From: takashikkbn@...
Date: 2018-07-18 12:46:36 UTC
List: ruby-core #87990
Issue #14878 has been updated by k0kubun (Takashi Kokubun).


Now --enable-jit, --enable=jit, --disable-jit, --disable=jit are available.

----------------------------------------
Feature #14878: Add command line argument to deactivate JIT
https://bugs.ruby-lang.org/issues/14878#change-73003

* Author: noahgibbs (Noah Gibbs)
* Status: Closed
* Priority: Normal
* Assignee: k0kubun (Takashi Kokubun)
* Target version: 2.6
----------------------------------------
For Ruby 2.6, JIT is off by default. But if a particular application can't use JIT for some reason, it may want to explicitly turn JIT off, even for later Ruby versions that have JIT on by default.

It would be useful to have a --jit-disable command line option to turn JIT off explicitly for later Ruby versions. This option should do nothing in Ruby 2.6.

Why turn JIT off? Some possible reasons:

* benchmarking
* no compiler installed
* known compiler/library bug in non-Ruby system software
* short program run-time so JIT won't help
* very tight memory constraints, don't want to start a compiler process
* read-only file system so you can't write .c files

I'm not married to the name "--jit-disable". I'd be fine with "--no-jit" or "--disable=jit", etc. But there should be an option to disable JIT in future Ruby versions.




-- 
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