[GHC] #4022: GHC Bindist is Broken on FreeBSD/amd64
GHC
cvs-ghc at haskell.org
Tue May 25 11:36:09 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):
Replying to [comment:12 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.
So it's surprising that it works there. As you say, probably just lucky.
> 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.
Exactly - that's what I meant by "I imagine there are related build system
and installation fixes required".
So the point remains: the build system for the in-tree GMP library needs
to be fixed for shared libraries.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4022#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list