Project

General

Profile

Bug #10926

r49760以降Solarisで--enable-sharedのビルドでsample/test.rb失敗

Added by ngoto (Naohisa Goto) over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.0dev (2015-03-02) [sparc64-solaris2.10]
[ruby-dev:48888]

Description

Solaris 10 にて、./configure --enable-shared (他オプション多数略) にて共有ライブラリ版をビルドしようとすると、r49760以降、下記のエラーが出てsample/test.rbの実行に失敗して次のステップに進めなくなります。

sample/test.rb:assignment ......................................................................................................................................................
................................................................................................................................................................................
..............................................OK 372
(中略)
sample/test.rb:eval .............................OK 29
sample/test.rb:system .ld.so.1: sh: fatal: /XXXXX-49760/libruby.so.2: wrong ELF class: ELFCLASS64
F.....ld.so.1: sh: fatal: /XXXXX-49760/libruby.so.2: wrong ELF class: ELFCLASS64
F/XXXXX-49760/sample/test.rb:2018:in `unlink': No such file or directory @ unlink_internal - script_tmp.23560.bak (Errno::ENOENT)
        from /XXXXX-49760/sample/test.rb:2018:in `<main>'

not ok system 2 -- /XXXXX-49760/sample/test.rb:1971:in `<main>'
not ok system 8 -- /XXXXX-49760/sample/test.rb:2015:in `<main>'
test failed
make: *** [yes-test-sample] Error 1

Associated revisions

Revision 2e522aec
Added by ngoto (Naohisa Goto) over 4 years ago

  • configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class" error. [Bug #10926] [ruby-dev:48888]
  • configure.in: set LIBPATHENV for 32-bit compile in Solaris in addition to 64-bit.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 49810
Added by ngoto (Naohisa Goto) over 4 years ago

  • configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class" error. [Bug #10926] [ruby-dev:48888]
  • configure.in: set LIBPATHENV for 32-bit compile in Solaris in addition to 64-bit.

Revision 49810
Added by ngoto (Naohisa Goto) over 4 years ago

  • configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class" error. [Bug #10926] [ruby-dev:48888]
  • configure.in: set LIBPATHENV for 32-bit compile in Solaris in addition to 64-bit.

Revision 49810
Added by ngoto (Naohisa Goto) over 4 years ago

  • configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class" error. [Bug #10926] [ruby-dev:48888]
  • configure.in: set LIBPATHENV for 32-bit compile in Solaris in addition to 64-bit.

Revision 49810
Added by ngoto (Naohisa Goto) over 4 years ago

  • configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class" error. [Bug #10926] [ruby-dev:48888]
  • configure.in: set LIBPATHENV for 32-bit compile in Solaris in addition to 64-bit.

Revision 49810
Added by ngoto (Naohisa Goto) over 4 years ago

  • configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class" error. [Bug #10926] [ruby-dev:48888]
  • configure.in: set LIBPATHENV for 32-bit compile in Solaris in addition to 64-bit.

History

#1

Updated by ngoto (Naohisa Goto) over 4 years ago

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

Applied in changeset r49810.


  • configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class" error. [Bug #10926] [ruby-dev:48888]
  • configure.in: set LIBPATHENV for 32-bit compile in Solaris in addition to 64-bit.

Also available in: Atom PDF