#4022: GHC Bindist is Broken on FreeBSD/amd64
--------------------------------------------+-------------------------------
    Reporter:  pgj                          |        Owner:  igloo              
        Type:  bug                          |       Status:  patch              
    Priority:  normal                       |    Milestone:  6.12.3             
   Component:  libraries (other)            |      Version:  6.13               
    Keywords:  GMP,integer-gmp, sharedlibs  |   Difficulty:                     
          Os:  FreeBSD                      |     Testcase:                     
Architecture:  x86_64 (amd64)               |      Failure:  Building GHC failed
--------------------------------------------+-------------------------------

Comment(by pgj):

 No, this is not true.  Please check out a recent build log for the
 FreeBSD/i386 build slave:

 http://darcs.haskell.org/ghcBuilder/builders/pgj/45/8.html

 It clearly shows that the in-tree GMP is picked up (search for the line
 "Configuring integer-gmp") as the local GMP cannot be found (since it is
 installed to /usr/local) just because the missing --with-gmp-* options in
 the configure script.

 To me, the reason why the in-tree GMP actually works is pure luck.  Simply
 adding "--enable-shared" will not help (I tried it in many different
 combination, but I reserve the right to be wrong), I think it needs a
 ghc.mk file similar to libffi's.

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