Bug#813156: ghc should depend on version of binutils that understands its objects

Michal Suchanek hramrach at gmail.com
Fri Jan 29 23:19:14 UTC 2016


Package: ghc
Version: 7.10.3-6
Severity: normal

Hello,

stable binutils do not understand objects installed as part of testing
haskell libraries. As many haskell libraries do not seem to be compiled
for stable it is likely that installing a haskell library pulls testing
ghc on a stable system.


/usr/bin/ld: /usr/lib/haskell-packages/ghc/lib/i386-linux-ghc-7.10.3/X11-1.6.1.2-LN1z6AJRA5dI5d2mzKRchU/libHSX11-1.6.1.2-LN1z6AJRA5dI5d2mzKRchU.a(XUtils.o): unrecognized relocation (0x2b) in section `.text'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
ghc: user error (If you can read this, shutdownHaskellAndExit did not exit.)

ii  binutils                             2.25-5                  i386                    GNU assembler, linker and binary utilities

-- System Information:
Debian Release: 8.3
  APT prefers stable
  APT policy: (900, 'stable'), (510, 'unstable'), (505, 'experimental'), (500, 'testing'), (500, 'oldstable')
Architecture: armhf (armv7l)
Foreign Architectures: i386

Kernel: Linux 4.5.0-rc1-00069-g44cb9f7 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages ghc depends on:
ii  dpkg             1.17.26
ii  gcc              4:4.9.2-2
ii  libbsd-dev       0.7.0-2
ii  libc6            2.19-18+deb8u2
ii  libc6-dev        2.19-18+deb8u2
ii  libffi-dev       3.1-2+b2
ii  libffi6          3.1-2+b2
ii  libgmp-dev       2:6.0.0+dfsg-6
ii  libgmp10         2:6.0.0+dfsg-6
ii  libncurses5-dev  6.0+20151024-2
ii  libtinfo5        6.0+20151024-2

ghc recommends no packages.

Versions of packages ghc suggests:
pn  ghc-doc      <none>
pn  ghc-prof     <none>
pn  haskell-doc  <none>
pn  llvm-3.5     <none>
ii  perl         5.20.2-3+deb8u3

-- no debconf information



More information about the Pkg-haskell-maintainers mailing list