#4387: Huge executables with GHC 7
----------------------------------+-----------------------------------------
    Reporter:  daniel.is.fischer  |        Owner:  igloo
        Type:  bug                |       Status:  new  
    Priority:  highest            |    Milestone:  7.0.1
   Component:  Compiler           |      Version:  7.1  
    Keywords:  executable size    |     Testcase:       
   Blockedby:                     |   Difficulty:       
          Os:  Linux              |     Blocking:       
Architecture:  x86                |      Failure:  Other
----------------------------------+-----------------------------------------

Comment(by daniel.is.fischer):

 FWIW:
 {{{
 $ ghc -O2 -package vector-0.7 -package base-4.2.0.2 -o aaa6 aaavec.hs
 $ ls -l | grep aaa6
 -rwxr-xr-x 1 dafis users  1115927 15. Okt 12:16 aaa6
 $ nm aaa6 |  wc -l
 10110
 $ nm aaa6 | grep ghc | wc -l
 65
 $ ~/Haskell/Hacking/bin/ghc -O2 --make aaavec.hs -o aaa7
 $ ls -l | grep aaa7
 -rwxr-xr-x 1 dafis users 29180744 15. Okt 12:17 aaa7
 $ nm aaa7 |  wc -l
 332020
 $ nm aaa7 | grep ghc | wc -l
 65413
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4387#comment:15>
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

Reply via email to