#1786: can't build ghc-6.8.0.20071017 under Solaris using a GNU linker
-------------------------+--------------------------------------------------
    Reporter:  guest     |        Owner:         
        Type:  bug       |       Status:  new    
    Priority:  normal    |    Milestone:  6.8.1  
   Component:  Compiler  |      Version:  6.8    
    Severity:  normal    |   Resolution:         
    Keywords:            |   Difficulty:  Unknown
          Os:  Solaris   |     Testcase:         
Architecture:  x86       |  
-------------------------+--------------------------------------------------
Comment (by guest):

 I've added -v to SRC_HC_OPTS and this supports my assumption:

 {{{
 ...
 *** Linker:
 gcc -nostdlib -nodefaultlibs -Wl,-r -Wl,-x -o
 dist/build/Data/Generics/Basics.
 o dist/build/Data/Generics/Basics_split/ld.script
 /usr/ccs/bin/ld: illegal option -- x
 }}}

 "`Setup configure -v`" finds my GNU linker. I could not check if it was
 used by the build step, but even then it should not fail, because
 meanwhile I've delete the -x option from Cabal.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1786#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to