#7375: Building ghc fails because it is looking for an old version of libgmp
----------------------------------+-----------------------------------------
  Reporter:  mimosa               |          Owner:                  
      Type:  bug                  |         Status:  closed          
  Priority:  normal               |      Milestone:                  
 Component:  Compiler             |        Version:  7.4.2           
Resolution:  fixed                |       Keywords:                  
        Os:  Linux                |   Architecture:  Unknown/Multiple
   Failure:  Building GHC failed  |     Difficulty:  Unknown         
  Testcase:                       |      Blockedby:                  
  Blocking:                       |        Related:  5743            
----------------------------------+-----------------------------------------

Comment(by simonmar):

 GHC is already following your suggestion: there is a copy of the gmp
 library in the build tree that we use if there isn't one on the system.
 It's in `libraries/integer-gmp/gmp`, and the same is true for `libffi`
 (although for the latter the problem has been that we are ''always'' using
 our copy of `libffi`, and some distros wanted us to use the system one
 instead, which is what #5743 is about).

 To avoid needing a hack, you just need to provide a stage 0 compiler that
 has the right dependencies.  You can get one by building GHC and then
 making a binary distribution from it.  Having done that, you're all set -
 no need for `libgmp.so.3` symlinks.

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