[GHC] #5435: GHCi linker should run constructors for linked libraries
GHC
ghc-devs at haskell.org
Fri Sep 6 08:57:06 CEST 2013
#5435: GHCi linker should run constructors for linked libraries
-------------------------------------+------------------------------------
Reporter: pumpkin | Owner:
Type: bug | Status: new
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: | Related Tickets: #3658
-------------------------------------+------------------------------------
Comment (by ezyang):
These patches could probably be improved by adding .ctors support for ELF,
and .init/.init_array for PEi386, but I don't know how to make my GCC on
the respective platforms emit those types of sections to test. They might
not even be accepted by the system linker; I have no way of telling. I
also have pretty reasonable test (essentially a cleaned up version of
#8237) which should get added to the test suite.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/5435#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list