[GHC] #8935: Obscure linker bug leads to crash in GHCi
GHC
ghc-devs at haskell.org
Sat Mar 7 17:15:22 UTC 2015
#8935: Obscure linker bug leads to crash in GHCi
-------------------------------------+-------------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: closed
Priority: high | Milestone: 7.10.1
Component: Runtime System | Version: 7.8.1-rc2
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: GHCi crash | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: #9186, #9480 | Blocking:
| Differential Revisions: Phab:D349
-------------------------------------+-------------------------------------
Comment (by Austin Seipp <austin@…>):
In [changeset:"0fcc454329c4e3e0dc4474412bff599d0e9bdfcd/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="0fcc454329c4e3e0dc4474412bff599d0e9bdfcd"
Dynamically link all loaded packages in new object
Summary:
As a result of fixing #8935 we needed to open shared libraries
with RTLD_LOCAL and so symbols from packages loaded earlier
cannot be found anymore. We need to include in the link all
packages loaded so far.
This fixes #10058
Test Plan: validate
Reviewers: hvr, simonmar, austin
Reviewed By: austin
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D676
GHC Trac Issues: #10058
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8935#comment:66>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list