Project

General

Profile

Actions

Bug #3565

closed

make test-all fails to run

Added by shyouhei (Shyouhei Urabe) almost 12 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.2dev (2010-07-11) [i386-linux]
Backport:
[ruby-core:31243]

Description

=begin
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
/build/.ext/common/dl/import.rb:52:in 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'
from /build/.ext/common/dl/import.rb:40:in collect' from /build/.ext/common/dl/import.rb:40:in dlload'
from /src/test/dl/test_import.rb:7:in <module:LIBC>' from /src/test/dl/test_import.rb:5:in module:DL'
from /src/test/dl/test_import.rb:4:in <top (required)>' from /src/lib/test/unit.rb:55:in require'
from /src/lib/test/unit.rb:55:in block in setup_argv' from /src/lib/test/unit.rb:49:in each'
from /src/lib/test/unit.rb:49:in setup_argv' from /src/test/runner.rb:9:in '
make: *** [yes-test-all] Error 1

Happens on 1.9.2 and above.
=end


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #17021: "arm64" and "arm" are mixed in RbConfig on Apple siliconClosedActions
Actions #1

Updated by nobu (Nobuyoshi Nakada) almost 12 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
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.

=end

Actions #2

Updated by shyouhei (Shyouhei Urabe) almost 12 years ago

  • Status changed from Closed to Assigned
  • Assignee set to yugui (Yuki Sonoda)

=begin
Should be backported to 1.9.2 as well.
=end

Actions #3

Updated by mame (Yusuke Endoh) almost 12 years ago

  • Status changed from Assigned to Closed

=begin
Backported at r28781.
=end

Actions #4

Updated by nobu (Nobuyoshi Nakada) over 1 year ago

  • Related to Bug #17021: "arm64" and "arm" are mixed in RbConfig on Apple silicon added
Actions

Also available in: Atom PDF