#5435: GHCi linker should run constructors for linked libraries
---------------------------------+------------------------------------------
Reporter: pumpkin | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.2.1 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
As far as I can tell from my experimentation, any library that contains a
function with __attribute__((constructor)) on it won't have its
constructor(s) run when loaded, or its destructors run when unloaded. This
violates assumptions that some libraries make.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5435>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs