
#8935: Obscure linker bug leads to crash in GHCi -------------------------------------+------------------------------------ Reporter: simonmar | Owner: trommler Type: bug | Status: patch Priority: high | Milestone: 7.8.3 Component: Runtime System | Version: 7.8.1-rc2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: GHCi crash | Difficulty: Rocket Science Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by simonmar): @dagit: that's right, the point of that test is to show that a library loaded with `RTLD_LOCAL` is used to satisfy a dependency of another library loaded with `RTLD_LOCAL`. The dependency is expressed by the `DT_NEEDED` tag, and is set up when you link the library. @trommler's point earlier was that if we use `RTLD_LOCAL` then we'll need to ensure that all the dependencies are specified with `DT_NEEDED` tags. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8935#comment:49 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler