[#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:87848] Re: undefined symbol: mjit_init_p

From: Takashi Kokubun <takashikkbn@...>
Date: 2018-07-07 15:33:48 UTC
List: ruby-core #87848
It's not reproducible on my environment and any CI since mjit_init_p
does not exist anywhere in the current trunk, but my guess is that you
didn't execute `make install` and thus you're using an old MJIT
header. MJIT never works without `make install`.

I always build ruby with `make all install` for that reason.
2018年7月8日(日) 0:23 Leam Hall <leamhall@gmail.com>:
>
> I pulled Ruby trunk on 3 Jul and am now getting errors similar to the
> following:
>
> MJIT warning: failure in loading code from
> '/tmp/_ruby_mjit_p20781u0.so': /tmp/_ruby_mjit_p20781u0.so: undefined
> symbol: mjit_init_p
>
> The pull before that was 4 June and I didn't get the errors. It looks
> like this commit may have removed mjit_init_p:
>
> https://github.com/ruby/ruby/commit/06f54f03039c225c5c0b5d1709865fb4fff02776#diff-75b3ed34ab948aab8de703d073f34a98
>
> I'm not sure what's referencing the lack of the symbol.
>
> Platform:
>         CentOS 6, patched
>         GCC from rpm,  4.4.7 20120313 (Red Hat 4.4.7-23) (GCC)
>         Autoconf 2.69
>
> Thoughts?
>
> Leam
>
> Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread