package/ruby: disable unsupported yjit
PATCH 1/1 package/ruby: disable unsupported yjit
The yjit feature requires rust toolchain support, since we don't currently handle setting up the rust toolchain for ruby lets disable this feature for now.
This broke when ruby was bumped to version 3.3.0 in buildroot commit a01c278df7892c8a6736334aa008b2d7c09e9258.
Fixes:
linking static-library libruby-static.a
LLVM ERROR: Invalid encoding
make[2]: *** [Makefile:318: libruby-static.a] Aborted
--- package/ruby/ruby.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
package/ruby/ruby.mk +6 -1
@@ -22,9 +22,14 @@ RUBY_CPE_ID_VENDOR = ruby-lang RUBY_DEPENDENCIES = host-pkgconf host-ruby HOST_RUBY_DEPENDENCIES = host-pkgconf host-openssl RUBY_MAKE_ENV = $(TARGET_MAKE_ENV) -RUBY_CONF_OPTS = --disable-install-doc --disable-rpath --disable-rubygems +RUBY_CONF_OPTS = \ + --disable-install-doc \ + --disable-rpath \ + --disable-rubygems \ + --disable-yjit HOST_RUBY_CONF_OPTS = \ --disable-install-doc \ + --disable-yjit \ --with-out-ext=curses,readline \ --without-gmp
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 12 lines · On Mon, 5 Feb 2024 11:33:08 -0700 James Hilliard <[email protected]>…
The yjit feature requires rust toolchain support, since we don't currently handle setting up the rust toolchain for ruby lets disable this feature for now.
This broke when ruby was bumped to version 3.3.0 in buildroot commit
a01c278df7892c8a6736334aa008b2d7c09e9258.Fixes:
linking static-library libruby-static.a
LLVM ERROR: Invalid encoding
make[2]: *** [Makefile:318: libruby-static.a] Aborted
Quoted 4 lines
Signed-off-by James Hilliard <[email protected]>--- package/ruby/ruby.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot