Skip to content

Huge executables with GHC 7

The HEAD produces enormous executables sometimes, compiling the same source with 6.12.3 produces a 2.2MB executable while HEAD produces a 29.3MB executable. Stripping reduces that to 18.6MB.

The examples I have so far involve a number of files and a few cabal packages, I'll try to get a smaller self-contained example, but I'm not too optimistic, it seems well-behaved if I use only core libs.

Trac metadata
Trac field Value
Version 7.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information