From: satoko.itse@gmail.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:84454] [Ruby trunk Bug#14236] rb_autoload の可視性が変更された結果、特定のgemを使用するとランタイム時に落ちるようになった
Date: Tue, 26 Dec 2017 04:31:00 +0000 (UTC) [thread overview]
Message-ID: <redmine.issue-14236.20171226043058.c5a4e1fca6f7663b@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-14236.20171226043058@ruby-lang.org
Issue #14236 has been reported by hkdnet (Ko Sato).
----------------------------------------
Bug #14236: rb_autoload の可視性が変更された結果、特定のgemを使用するとランタイム時に落ちるようになった
https://bugs.ruby-lang.org/issues/14236
* Author: hkdnet (Ko Sato)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v:
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
nmコマンドから見える `rb_autoload` の可視性は従来 `T` でしたが、以下の変更により `t` になっています。
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/57675
これにより以下の事象が発生しています。
stackprof v0.2.9 などの、 `rb_autoload` を使っている gem について、
インストール時のビルドはできるが実行時のダイナミックリンクで落ちる。
この事象はおそらく意図していないものではないかと思います。
手元では添付の patch で直ることを確認してます。
---Files--------------------------------
export-rb_autoload.patch (409 Bytes)
--
https://bugs.ruby-lang.org/
next parent reply other threads:[~2017-12-26 4:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <redmine.issue-14236.20171226043058@ruby-lang.org>
2017-12-26 4:31 ` satoko.itse [this message]
2017-12-26 5:08 ` [ruby-core:84455] [Ruby trunk Bug#14236][Assigned] rb_autoload の可視性が変更された結果、特定のgemを使用するとランタイム時に落ちるようになった hsbt
2018-01-03 18:04 ` [ruby-core:84615] [Ruby trunk Bug#14236] " naruse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.issue-14236.20171226043058.c5a4e1fca6f7663b@ruby-lang.org \
--to=ruby-core@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).