Ticket #5435 (new bug)
GHCi linker should run constructors for linked libraries
|Reported by:||pumpkin||Owned by:|
|Type of failure:||None/Unknown||Difficulty:||Unknown|
|Test Case:||Blocked By:||#3658|
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.