Project

General

Profile

Actions

Bug #8082

closed

Ruby i686-nacl builds but doesn't run correctly

Added by astromme (Andrew Stromme) about 11 years ago. Updated about 6 years ago.

Status:
Rejected
Target version:
-
ruby -v:
(I can't run the .nexe directly)
[ruby-core:53365]

Description

I am able to build an i686-nacl build with the following steps:
./configure --prefix=/tmp/nacl-ruby --host=i686-nacl --with-arch=i386 --with-baseruby=/usr/local/Cellar/ruby/2.0.0-p0/bin/ruby
make
make package

I then host the resulting html/nexe files and visit them in a browser. Using developer tools, I see that there are plenty of errors loading files:
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so 404 (File not found) lib/ruby/2.0.0/enc/ansi_x3_4_1968.so:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.rb 404 (File not found) lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.rb:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.so 404 (File not found) lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.so:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so 404 (File not found) lib/ruby/2.0.0/enc/ansi_x3_4_1968.so:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/i386-nacl/enc/ansi_x3_4_1968.so 404 (File not found) lib/ruby/2.0.0/i386-nacl/enc/ansi_x3_4_1968.so:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.rb 404 (File not found) lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.rb:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/i386-nacl/enc/ansi_x3_4_1968.so.rb 404 (File not found) lib/ruby/2.0.0/i386-nacl/enc/ansi_x3_4_1968.so.rb:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.so 404 (File not found) lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.so:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/i386-nacl/enc/ansi_x3_4_1968.so.so 404 (File not found) lib/ruby/2.0.0/i386-nacl/enc/ansi_x3_4_1968.so.so:1

This seems to be similar (if not the same) as https://bugs.ruby-lang.org/issues/6873

Updated by hsbt (Hiroshi SHIBATA) about 6 years ago

  • Status changed from Open to Rejected

nacl support was removed at Ruby 2.5.

Actions

Also available in: Atom PDF

Like0
Like0