[GHC] #5435: GHCi linker should run constructors for linked libraries

GHC ghc-devs at haskell.org
Mon Sep 23 11:58:45 CEST 2013


#5435: GHCi linker should run constructors for linked libraries
-------------------------------------+------------------------------------
        Reporter:  pumpkin           |            Owner:
            Type:  bug               |           Status:  closed
        Priority:  normal            |        Milestone:  7.8.1
       Component:  Compiler          |          Version:  7.2.1
      Resolution:  fixed             |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:  7746, 8199        |  Related Tickets:  #3658
-------------------------------------+------------------------------------

Comment (by Simon Marlow <marlowsd@…>):

 In [changeset:1908195261ccf16b0f3d2e77ebd5cd40c9e29cbc/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="1908195261ccf16b0f3d2e77ebd5cd40c9e29cbc"
 Fix linker_unload now that we are running constructors in the linker
 (#8291)

 See also #5435.

 Now we have to remember the the StablePtrs that get created by the
 module initializer so that we can free them again in unloadObj().
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/5435#comment:40>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list