https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112022-05-06T07:43:39ZRuby Issue Tracking SystemRuby master - Bug #18480: Dtrace enabled build fails on systems with DTRACE_REBUILD=yeshttps://bugs.ruby-lang.org/issues/18480?journal_id=975152022-05-06T07:43:39ZKulikjak (Jakub Kulik)
<ul></ul><p>And <a href="https://github.com/ruby/ruby/pull/5891" class="external">PR #5891</a> addresses this issue.</p> Ruby master - Bug #18480: Dtrace enabled build fails on systems with DTRACE_REBUILD=yeshttps://bugs.ruby-lang.org/issues/18480?journal_id=978012022-05-30T22:39:01ZAnonymous
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Applied in changeset <a class="changeset" title="Add yjit.o to DTRACE_DEPENDENT_OBJS In principle, we have a DTrace probe in yjit.c, so yjit.o sh..." href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/31bd79dda3d26956976e68ff1c2f8c376c7e9ea5">git|31bd79dda3d26956976e68ff1c2f8c376c7e9ea5</a>.</p>
<hr>
<p>Add yjit.o to DTRACE_DEPENDENT_OBJS</p>
<p>In principle, we have a DTrace probe in yjit.c, so yjit.o should be<br>
in DTRACE_DEPENDENT_OBJS for DTRACE_REBUILD=yes builds. This commit<br>
adds to the list.</p>
<p>In practice DTRACE_REBUILD=yes implies the system has a Solaris-like<br>
DTrace and YJIT doesn't support those systems. YJIT_OBJ expands to<br>
nothing, and yjit.c isn't compiled.</p>
<p>I tested on OmniOS v11 r151034m with:</p>
<pre><code>$ ../src/configure --with-out-ext=psych MAKE=gmake AR=ar debugflags=-g
$ gmake -j
</code></pre>
<p>It builds before and after this change.</p>
<p>[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Dtrace enabled build fails on systems with DTRACE_REBUILD=yes (Closed)" href="https://bugs.ruby-lang.org/issues/18480">#18480</a>]</p>