Issue #13041 has been updated by Steve Wills.


Vit Ondruch wrote:
> Steve Wills wrote:
> > Vit Ondruch wrote:
> > > The "-xnolibs" is not supported by SystemTap :/
> > 
> > SystemTap is not DTrace.
> 
> SystemTap is Linux equivalent of DTrace and provides the dtrace tool with the same purpose of DTrace one ...

It may provide a program with the same name, but it is not equivalent. If it did, this fix wouldn't break it for you.

----------------------------------------
Bug #13041: ruby 2.4 rc1 dtrace build fixes
https://bugs.ruby-lang.org/issues/13041#change-62065

* Author: Steve Wills
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
In FreeBSD before 11.0, using dtrace -G or -h will not work in a jail or without dtrace kernel modules loaded unless the -xnolibs flag is passed as well. Since we build in jails, this is needed during our build, so we have this patch:

https://svnweb.freebsd.org/ports/head/lang/ruby22/files/patch-Makefile.in?revision=369732&view=markup

We have used it with ruby 2.2, and 2.3 for a long time. Please consider it or a similar change for Ruby 2.4



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

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