Project

General

Profile

Bug #13411

Need to add OPTDIR to rpath earlier in configure

Added by usa (Usaku NAKAMURA) about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
[ruby-dev:50065]

Description

configure時に --with-opt-dir を指定すると、 -I-L などには割に早い段階で反映してくれるのですが、rpathへの反映はかなり後の方になるので、それ以前にoptdirとして指定したライブラリパス上の共有ライブラリをconfigureが発見してしまうと、以降のconftest実行が全て失敗するようになってしまいます。
具体的には、libgmp.soがoptdir上に存在する場合に問題が発生します。
たぶん、configure.in中の OPT_DIR のrpathへの反映処理を --with-opt-dir の判定直後あたりに持ってくればよいのだと思うのですが、configureよくわからないので詳しいモンスターにお願いします。

Associated revisions

Revision 9e4da448
Added by nobu (Nobuyoshi Nakada) about 2 years ago

configure.in: rpath with OPTDIR

  • configure.in: add rpath flags which is needed for OPTDIR as well as -L options, when it is given. [ruby-dev:50065] [Bug #13411]

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

Revision 58287
Added by nobu (Nobuyoshi Nakada) about 2 years ago

configure.in: rpath with OPTDIR

  • configure.in: add rpath flags which is needed for OPTDIR as well as -L options, when it is given. [ruby-dev:50065] [Bug #13411]

Revision 58287
Added by nobu (Nobuyoshi Nakada) about 2 years ago

configure.in: rpath with OPTDIR

  • configure.in: add rpath flags which is needed for OPTDIR as well as -L options, when it is given. [ruby-dev:50065] [Bug #13411]

Revision 58287
Added by nobu (Nobuyoshi Nakada) about 2 years ago

configure.in: rpath with OPTDIR

  • configure.in: add rpath flags which is needed for OPTDIR as well as -L options, when it is given. [ruby-dev:50065] [Bug #13411]

Revision b7f7b0a2
Added by nagachika (Tomoyuki Chikanaga) almost 2 years ago

merge revision(s) 58287: [Backport #13411]

    configure.in: rpath with OPTDIR

    * configure.in: add rpath flags which is needed for OPTDIR as well
      as -L options, when it is given.  [ruby-dev:50065] [Bug #13411]

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

Revision 59501
Added by nagachika (Tomoyuki Chikanaga) almost 2 years ago

merge revision(s) 58287: [Backport #13411]

configure.in: rpath with OPTDIR

* configure.in: add rpath flags which is needed for OPTDIR as well
  as -L options, when it is given.  [ruby-dev:50065] [Bug #13411]

Revision 3825bbfc
Added by usa (Usaku NAKAMURA) almost 2 years ago

merge revision(s) 58287: [Backport #13411]

    configure.in: rpath with OPTDIR

    * configure.in: add rpath flags which is needed for OPTDIR as well
      as -L options, when it is given.  [ruby-dev:50065] [Bug #13411]

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

Revision 59544
Added by usa (Usaku NAKAMURA) almost 2 years ago

merge revision(s) 58287: [Backport #13411]

configure.in: rpath with OPTDIR

* configure.in: add rpath flags which is needed for OPTDIR as well
  as -L options, when it is given.  [ruby-dev:50065] [Bug #13411]

History

#1

Updated by nobu (Nobuyoshi Nakada) about 2 years ago

  • Status changed from Assigned to Closed

Applied in changeset trunk|r58287.


configure.in: rpath with OPTDIR

  • configure.in: add rpath flags which is needed for OPTDIR as well as -L options, when it is given. [ruby-dev:50065] [Bug #13411]

Updated by nagachika (Tomoyuki Chikanaga) almost 2 years ago

  • Backport changed from 2.2: REQUIRED, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: REQUIRED, 2.3: REQUIRED, 2.4: DONE

ruby_2_4 r59501 merged revision(s) 58287.

Updated by usa (Usaku NAKAMURA) almost 2 years ago

  • Backport changed from 2.2: REQUIRED, 2.3: REQUIRED, 2.4: DONE to 2.2: REQUIRED, 2.3: DONE, 2.4: DONE

ruby_2_3 r59544 merged revision(s) 58287.

Also available in: Atom PDF