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

GHC cvs-ghc at haskell.org
Thu Oct 11 03:21:39 CEST 2012


#6063: GHC's build-time ld-flag checks are problematic
---------------------------------+------------------------------------------
    Reporter:  parcs             |       Owner:                         
        Type:  bug               |      Status:  new                    
    Priority:  normal            |   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):

 Replying to [comment:4 igloo]:
 > The linker flags are detected when a bindist is installed, not when it
 is built, so they should match the machine that GHC is run on.
 >
 > Should we check what flags the linker supports every time ghc is run?

 Yeah, that sounds like a reasonable solution. The system linker may change
 after GHC is installed, and doing so shouldn't result in a non-functioning
 GHC installation.

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



More information about the Glasgow-haskell-bugs mailing list