#4387: Huge executables with GHC 7 ----------------------------------+----------------------------------------- Reporter: daniel.is.fischer | Owner: 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 simonpj): OK, here's the plan: * For GHC 7.0 we will add the `SpecConstr` type (which is very small) to `GHC.Exts`. That should eliminate the blow-up for clients of `vector`. * However the main point remains. For 7.2 we'll think about a more systematic solution using the module-initialisation mechanisms built into the system linker Concerning the latter, the main sticking point is that linker "constructors" must have a C API, and our native code generators don't know how to generate C-callable procedures. The right thing may be to generate a C stub file. (The LLVM back end should not have this problem.) Simon -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4387#comment:36> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs