[GHC] #6063: GHC's build-time ld-flag checks are problematic

GHC cvs-ghc at haskell.org
Sun May 5 00:31:22 CEST 2013


#6063: GHC's build-time ld-flag checks are problematic
---------------------------------+------------------------------------------
    Reporter:  parcs             |       Owner:  thoughtpolice          
        Type:  bug               |      Status:  patch                  
    Priority:  high              |   Milestone:  7.8.1                  
   Component:  Compiler          |     Version:  7.4.1                  
    Keywords:                    |          Os:  Linux                  
Architecture:  Unknown/Multiple  |     Failure:  GHC doesn't work at all
  Difficulty:  Unknown           |    Testcase:                         
   Blockedby:                    |    Blocking:                         
     Related:  #4862             |  
---------------------------------+------------------------------------------

Comment(by parcs):

 I notice two things:

 1. From what I can tell, you don't need to spawn the linker process when
 `os` is `OSDarwin` or `OSMinGW32`.

 2. Use `hang` to print the error message:

 {{{
 hang (text "Warning:") 9 $
     text "Couldn't ..." $$
     text "Make ..."
 }}}

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



More information about the ghc-tickets mailing list