I added a comment in the ticket, but it looks like Debian Squeeze is using
libgmp3-dev 2:4.3.2, which was the same version that I had when I was
running into this issue.

Using an updated version of libgmp3-dev will fix the issue, but I'm not
entirely sure if we need to consider supporting the packages in Debian
Squeeze repository since Debian Wheezy is the new stable distribution, and
it uses libgmp-dev 2:5.0.5. Someone with more intimate knowledge of GHC
development might be able to speak on this issue.


Regards,
Tyler Huffman


On Thu, Feb 6, 2014 at 1:50 PM, Jan Stolarek <[email protected]> wrote:

> I had the same problem on Debian Squeeze:
>
> https://ghc.haskell.org/trac/ghc/ticket/8666
>
> What is your distro?
>
> CCing ghc-devs.
>
> Janek
>
> Dnia czwartek, 6 lutego 2014, Sergei Meshveliani napisaƂ:
> > Dear GHC team,
> >
> > I am trying to test    ghc-7.8.20140130-src.tar.bz2
> >
> > I make it from source with   ghc-7.6.3  on Debian Linux (64 bit).
> >
> > ./configure  looks all right.
> >
> > And `make' reports after 40 minutes:
> >
> > -------------------------------------------------------
> > ...
> > ...
> > "inplace/bin/ghc-stage1" -optc-Ilibraries/integer-gmp/.
> > -optc-I'/home/mechvel/g.....
> > ...
> > ...
> > /usr/bin/ld: libraries/integer-gmp/gmp/objs/aors.o: relocation
> > R_X86_64_32 against `__gmpz_sub' can not be used when making a shared
> > object; recompile with -fPIC
> > libraries/integer-gmp/gmp/objs/aors.o: could not read symbols: Bad value
> > collect2: ld returned 1 exit status
> > make[1]: ***
> > [libraries/integer-gmp/dist-install/build/libHSinteger-gmp-0.5.1.0\
> > -ghc7.8.20140130.so] Error 1
> > -------------------------------------------------------
> >
> >
> > What might this mean? Need I to install a fresher  libgmp ?
> >
> > Thanks,
> >
> > ------
> > Sergei
> >
> > _______________________________________________
> > Glasgow-haskell-users mailing list
> > [email protected]
> > http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
>
> _______________________________________________
> ghc-devs mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to