relocation R_X86_64_32 (Was: GHC HQ on Launchpad)

Alain O'Dea alain.odea at gmail.com
Tue Apr 8 11:33:26 UTC 2014


Hi,

> On Apr 8, 2014, at 8:58, Joachim Breitner <mail at joachim-breitner.de> wrote:
> 
> Hi,
> 
> Am Dienstag, den 08.04.2014, 10:31 +0200 schrieb Herbert Valerio Riedel:
>> Just a reminder, as not everybody may be aware yet:
>> 
>> There's already daily GHC HEAD packages for Debian at
>> 
>>  http://deb.haskell.org/
> 
> thanks for the reminder. I guess I need to set up something that
> notifies me of failures...
> 
> Since March 27 weeks, it seems, it is failing:
> 
> [..]
> 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

It looks to me like -fPIC needs to be added in LDFLAGS or wherever the launchpad build system sources the linker's flags from.

> 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
> http://deb.haskell.org/dailies/2014-04-07/ghc_7.9.20140407-0.daily_amd64.build
> 
> Any ideas? I’m not an expert on linker issues.
> 
> Greetings,
> Joachim
> 
> -- 
> Joachim “nomeata” Breitner
>  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
>  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0x4743206C
>  Debian Developer: nomeata at debian.org
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs


More information about the ghc-devs mailing list