#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):

 Not much of a difference:
 {{{
 $ touch aaavec.hs
 $ ghc -O0 -package vector-0.7 -package base-4.2.0.2 -o aaa60 aaavec.hs
 $ ls -l | grep aaa60
 -rwxr-xr-x 1 dafis users  1207342 15. Okt 13:22 aaa60
 $ nm aaa60 |  wc -l
 11025
 $ nm aaa60 | grep ghc |  wc -l
 65
 $ ~/Haskell/Hacking/bin/ghc -O0 --make aaavec.hs -o aaa70
 [1 of 1] Compiling Main             ( aaavec.hs, aaavec.o )
 Linking aaa70 ...
 $ ls -l | grep aaa70
 -rwxr-xr-x 1 dafis users 29221447 15. Okt 13:23 aaa70
 $ nm aaa70 |  wc -l
 332413
 $ nm aaa70 | grep ghc |  wc -l
 65413
 $
 }}}

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

Reply via email to