relocation R_X86_64_32

Herbert Valerio Riedel hvriedel at
Tue Apr 8 16:57:48 UTC 2014

On 2014-04-08 at 10:58:11 +0200, Joachim Breitner wrote:


> [..]
> configure: Building in-tree ghc-pwd
> /usr/bin/ld: utils/ghc-pwd/dist-boot/Main.o: relocation R_X86_64_32
> against `stg_CHARLIKE_closure' can not be used when making a shared
> object; recompile with -fPIC
> utils/ghc-pwd/dist-boot/Main.o: could not read symbols: Bad value
> collect2: error: ld returned 1 exit status
> configure: error: Building ghc-pwd failed
> make: *** [configure-stamp] Error 1
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> Any ideas? I’m not an expert on linker issues.

I'm rather surprised about that (it doesn't occur on the
Ubuntu 12.04 LTS PPA builds)... is this occuring on a vanilla Debian

Btw, I've got proper 7.8.1 PPA .debs:

...when do you plan to build respective 7.8.1 debs for ?

More information about the ghc-devs mailing list