#3756: Missing -lz option in testsuite
--------------------------------+-------------------------------------------
  Reporter:  daniel.is.fischer  |           Type:  bug         
    Status:  new                |       Priority:  normal      
 Milestone:  6.12.2             |      Component:  Build System
   Version:  6.12.1             |       Keywords:              
Difficulty:                     |             Os:  Linux       
  Testcase:                     |   Architecture:  x86         
   Failure:  Other              |  
--------------------------------+-------------------------------------------

Comment(by simonmar):

 I'm guessing that you have a static `libbfd.a` on your system, but no
 shared version, correct?  It looks like `libbfd` depends on `libz`.  We
 link against `libbfd` in the DEBUG version of the RTS, to get access to
 the addresses of symbols, and we test that `-lbfd` works in the configure
 script, but I imagine that because you have a static `libbfd` that the
 test doesn't link in the bit that needs `libz` and thus succeeds.

 The easiest workaround is for you to install a shared `libbfd`.  We could
 fix the configure test, but I'm not sure how to do it properly.

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