From: swills@... Date: 2016-12-16T23:59:50+00:00 Subject: [ruby-core:78692] [Ruby trunk Bug#13041] ruby 2.4 rc1 dtrace build fixes Issue #13041 has been updated by Steve Wills. Naohisa Goto wrote: > On Solaris 10, the origin of dtrace, it seems "-xnolibs" is not supported. > List of available options that can be specified with "-x" on Solaris: http://docs.oracle.com/cd/E19253-01/817-6223/chp-opt/index.html Unfortunately, that page is a bit out of date. Here's one page which has examples with -xnolibs: http://dtrace.org/blogs/dap/2011/12/13/usdt-providers-redux/ ---------------------------------------- Bug #13041: ruby 2.4 rc1 dtrace build fixes https://bugs.ruby-lang.org/issues/13041#change-62068 * 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: