[GHC] #5950: Linking standard library fails

GHC cvs-ghc at haskell.org
Sun Mar 18 16:32:23 CET 2012


#5950: Linking standard library fails
---------------------------------------+------------------------------------
 Reporter:  volker-wysk                |          Owner:                  
     Type:  bug                        |         Status:  new             
 Priority:  normal                     |      Component:  Compiler        
  Version:  7.0.4                      |       Keywords:  link            
       Os:  Linux                      |   Architecture:  Unknown/Multiple
  Failure:  GHC rejects valid program  |       Testcase:                  
Blockedby:                             |       Blocking:                  
  Related:                             |  
---------------------------------------+------------------------------------

Comment(by volker-wysk):

 The problem seems to only occur for libraries which are imported, but not
 used.

 This succeeds to link:

 {{{
 import System.Environment
 main = do
   args <- getArgs
   print args
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5950#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list