[Pkg-haskell-maintainers] Bug#712228: Bug#712228: ghc: Hard to use for compilation: linking failures with no apparent solution

Joachim Breitner nomeata at debian.org
Fri Jun 14 09:17:19 UTC 2013


Am Freitag, den 14.06.2013, 10:00 +0100 schrieb Reuben Thomas:
> I want to compile a simple Haskell program:
> $ git clone git://github.com/jgoerzen/twidge.git
> $ ghc --make -o setup Setup.lhs
> [1 of 1] Compiling Main             ( Setup.lhs, Setup.o )
> Linking setup ...
> /usr/bin/ld.bfd.real: Setup.o: relocation R_X86_64_32S against `stg_CAF_BLACKHOLE_info’ can not be used when making a shared object; recompile with -fPIC
> Setup.o: could not read symbols: Bad value
> collect2: error: ld returned 1 exit status

I can’t reproduce it here, ghc 7.6.3-3, on amd64.

Does this occur with every Haskell program compilation, or just this?

There might be differences in Ubuntu's toolchain. Maybe some of the
Ubuntu developers on the Debian Haskell Group can check if they can
reproduce it?


Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20130614/b8aeb887/attachment.sig>

More information about the Pkg-haskell-maintainers mailing list