Bug#832824: haskell-src-exts: reporting a bug at GHC for linker error. build fail on mips64el

Jonathan Jackson jnthjackson at gmail.com
Wed Aug 17 05:14:35 UTC 2016


Package: haskell-src-exts
Version: 1.17.1-1
Followup-For: Bug #832824

Dear Maintainer,


The last build of haskell-src-exts 1.17.1-1 has failed 30 days 
ago on a mips64el device. More information since first report 
of this failure have been acquired. Bug report seems to 
indicate that there is a linker problem during compilation, 
indicated by some of the last lines of the build log:

"ghc_8.hc:(.text+0x884): relocation truncated to fit: 
R_MIPS_GOT_DISP against `base_GHCziNum_zp_entry' 
ghc_8.hc:(.text+0x8e4): additional relocation overflows omitted 
from the output collect2: error: ld returned 1 exit status"

Scarce documentation documentation on the subject exists but 
the available syntax of Haskell does not give any control at 
this level of abstraction.

This would indicate a compiler problem which should be reported 
at GHC. No "ld" options have been identified as potentially 
helpful for this problem. GHC has some.

GHC has some specifics about package building when reporting a 
bug: https://ghc.haskell.org/trac/ghc/wiki/ReportABug

If you need more information or have some more information 
about the source of the build fail, do not hesitate to write 
back.


Have a good day,
Jonathan Jackson  

-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-34-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Pkg-haskell-maintainers mailing list