#4387: Huge executables with GHC 7
----------------------------------+-----------------------------------------
Reporter: daniel.is.fischer | Owner: igloo
Type: bug | Status: new
Priority: normal | Milestone: 7.0.1
Component: Compiler | Version: 7.1
Keywords: executable size | Testcase:
Blockedby: | Difficulty:
Os: Linux | Blocking:
Architecture: x86 | Failure: Other
----------------------------------+-----------------------------------------
Comment(by simonmar):
See also #3252.
The initialisers aren't actually used unless we're profiling right now.
The other use for initialisers is to create `StablePtr`s for foreign
exports, and at the moment we use C++ constructors for that. Perhaps we
could also use constructors for the profiling intialisation; unfortunately
it would mean generating a separate C file and compiling it alongside
every Haskell file.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4387#comment:29>
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