[GHC] #4022: GHC Bindist is Broken on FreeBSD/amd64

GHC cvs-ghc at haskell.org
Tue May 25 04:55:56 EDT 2010


#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 simonmar):

 The patch looks ok to me.

 I think the problem is not that the in-tree GMP library doesn't work for
 64-bit, but that it doesn't work with shared libraries.  It is just a
 coincidence that the first platform that tried to use the in-tree GMP with
 shared libraries happened to be an x86_64.

 We probably need to use `--enable-shared` for GMP when building shared
 libraries, but I imagine there are related build system and installation
 fixes required.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4022#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list