
#5435: GHCi linker should run constructors for linked libraries -------------------------------------+------------------------------------ Reporter: pumpkin | Owner: Type: bug | Status: infoneeded Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: 3658 Blocking: 7746, 8199 | Related Tickets: #3658 -------------------------------------+------------------------------------ Comment (by ezyang): Oh, well, that would explain the static case; I never implemented ctors because I wasn't sure if anyone had a version of GCC which still emitted them. Can you attach the object file to this bug report so I can figure out what the correct flags to test for are? Actually, I know what's going on with the dynamic case too. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/5435#comment:27 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler