Issue #8082 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Rejected

nacl support was removed at Ruby 2.5.

----------------------------------------
Bug #8082: Ruby i686-nacl builds but doesn't run correctly
https://bugs.ruby-lang.org/issues/8082#change-70287

* Author: astromme (Andrew Stromme)
* Status: Rejected
* Priority: Normal
* Assignee: yugui (Yuki Sonoda)
* Target version: 
* ruby -v: (I can't run the .nexe directly)
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
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



-- 
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>