#5407: ghc-7.2.1 build failed on sparc solaris with non-GNU linker
-------------------------+--------------------------------------------------
    Reporter:  maeder    |       Owner:                     
        Type:  bug       |      Status:  new                
    Priority:  normal    |   Milestone:  _|_                
   Component:  Compiler  |     Version:  7.4.2-rc1          
    Keywords:            |          Os:  Solaris            
Architecture:  sparc     |     Failure:  Building GHC failed
  Difficulty:            |    Testcase:                     
   Blockedby:            |    Blocking:                     
     Related:            |  
-------------------------+--------------------------------------------------
Changes (by maeder):

  * version:  7.0.4 => 7.4.2-rc1


Comment:

 I was able to build ghc-7.4.2 (I did not try ghc-7.4.1) now by omitting
 the `-no-relax` flag set in compiler/main/DriverPipeline.hs (line 2089)

 Maybe someone can add `&& cLdIsGNULd == "YES"` to the test `"platformArch
 (targetPlatform dflags) == ArchSPARC"` and close this ticket. `cLdIsGNULd
 == "YES"` is tested later so maybe a local (let) variable should be used.

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