make test-all fails to run
When I test an ia32 binary on a x86_64 machine it won't start.
shyouhei@64bit:~% sudo chroot 32bit bin/bash
root@32bit:/# cd /build
root@32bit:/build# file ./ruby
./ruby: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped
root@32bit:/build# make test-all
rescue in block in dlload': can't load /lib64/libc.so.6 (DL::DLError) from /build/.ext/common/dl/import.rb:49:in block in dlload'
collect' from /build/.ext/common/dl/import.rb:40:in dlload'
<module:LIBC>' from /src/test/dl/test_import.rb:5:in module:DL'
<top (required)>' from /src/lib/test/unit.rb:55:in require'
block in setup_argv' from /src/lib/test/unit.rb:49:in each'
setup_argv' from /src/test/runner.rb:9:in '
make: *** [yes-test-all] Error 1
Happens on 1.9.2 and above.
Updated by nobu (Nobuyoshi Nakada) almost 12 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r28626.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.