Bug #8082

Ruby i686-nacl builds but doesn't run correctly

Added by Andrew Stromme about 1 year ago.

[ruby-core:53365]
Status:Open
Priority:Normal
Assignee:Yuki Sonoda
Category:-
Target version:-
ruby -v:(I can't run the .nexe directly) Backport:

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/ansix341968.so 404 (File not found) lib/ruby/2.0.0/enc/ansix341968.so:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/enc/ansix341968.so.rb 404 (File not found) lib/ruby/2.0.0/enc/ansix341968.so.rb:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/enc/ansix341968.so.so 404 (File not found) lib/ruby/2.0.0/enc/ansix341968.so.so:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/enc/ansix341968.so 404 (File not found) lib/ruby/2.0.0/enc/ansix341968.so:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/i386-nacl/enc/ansix341968.so 404 (File not found) lib/ruby/2.0.0/i386-nacl/enc/ansix341968.so:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/enc/ansix341968.so.rb 404 (File not found) lib/ruby/2.0.0/enc/ansix341968.so.rb:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/i386-nacl/enc/ansix341968.so.rb 404 (File not found) lib/ruby/2.0.0/i386-nacl/enc/ansix341968.so.rb:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/enc/ansix341968.so.so 404 (File not found) lib/ruby/2.0.0/enc/ansix341968.so.so:1
HEAD http://localhost:5103/ruby-i386/lib/ruby/2.0.0/i386-nacl/enc/ansix341968.so.so 404 (File not found) lib/ruby/2.0.0/i386-nacl/enc/ansix341968.so.so:1

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

Also available in: Atom PDF