<div dir="ltr"><a href="https://github.com/erlang/otp/pull/156">https://github.com/erlang/otp/pull/156</a><br><div><br></div><div>This patch fixes the configure and Makefile scripts to work with newer DTrace. This applies to all Illumos derivatives including OpenIndiana, SmartOS and OmnioOS. I've copied the commit message here verbatim.</div>
<div><br></div><div>--- SNIP ---</div><div><br></div><div><div>    Fix DTrace build on Illumos</div><div><br></div><div>    DTrace was recently patched in Illumos to fail to create an object</div><div>    file if no probes are found.</div>
<div><br></div><div>    * <a href="https://www.illumos.org/issues/4248">https://www.illumos.org/issues/4248</a></div><div>    * <a href="https://github.com/illumos/illumos-gate/commit/54a20ab41aadcb81c53e72fc65886e964e9add59">https://github.com/illumos/illumos-gate/commit/54a20ab41aadcb81c53e72fc65886e964e9add59</a></div>
<div><br></div><div>    This patch fixes two issues:</div><div><br></div><div>    * Modify the configure script to pass an object file to `dtrace -G`</div><div>      that actually invokes a probe.</div><div><br></div><div>
    * Remove creation of `dtrace_user.o` from the dyntrace Makefile. In a</div><div>      previous commit [1] Scott Fritchie relocated all the user probes</div><div>      into the VM proper due to difficulties with DTrace probes in shared</div>
<div>      libraries. The `dtrace_user.d` file is now empty and generates a</div><div>      header file with nothing in it. There is no longer any reason to</div><div>      generate `dtrace_user.o` because all the probes are in the VM. Thus</div>
<div>      all the steps for building `dtrace_user.o` have been removed.</div><div><br></div><div>    [1]: <a href="https://github.com/erlang/otp/commit/75552bd3bb4e7f3cf4dab81a5c81cf73b1d3fb99">https://github.com/erlang/otp/commit/75552bd3bb4e7f3cf4dab81a5c81cf73b1d3fb99</a></div>
</div><div><br></div><div>--- END SNIP ---</div><div><br></div><div>-Z</div></div>