[oe] [meta-ruby][PATCH] ruby: explicitly disable dtrace support

Martin Jansa martin.jansa at gmail.com
Fri May 1 12:30:41 UTC 2015


both 2.2.1 and 2.2.2 are failing on some hosts native builds with:
| linking miniruby
| load.o: In function `rb_f_load':
| load.c:(.text+0x3af): undefined reference to `RUBY_DTRACE_LOAD_ENTRY_ENABLED'
| load.c:(.text+0x428): undefined reference to `RUBY_DTRACE_LOAD_RETURN_ENABLED'
| load.c:(.text+0x452): undefined reference to `RUBY_DTRACE_LOAD_RETURN'
| load.c:(.text+0x492): undefined reference to `RUBY_DTRACE_LOAD_ENTRY'
| load.o: In function `rb_require_internal':

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb b/meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb
index c463525..78c943c 100644
--- a/meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb
+++ b/meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb
@@ -18,6 +18,7 @@ PACKAGECONFIG[ipv6] = ",--enable-wide-getaddrinfo,"
 EXTRA_OECONF = "\
     --disable-versioned-paths \
     --disable-rpath \
+    --disable-dtrace \
     --enable-shared \
     --enable-load-relative \
 "
-- 
2.3.5




More information about the Openembedded-devel mailing list