#9673: aarch64 7.8.4, 7.10, 7.11: lib/ghc/bin/ghc-pkg --version does not output from subprocess -------------------------------------+------------------------------------- Reporter: juhpetersen | Owner: Type: bug | Status: new Priority: high | Milestone: Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Linux | Architecture: aarch64 Type of failure: Installing GHC | Test Case: failed | Blocking: Blocked By: | Differential Revisions: Related Tickets: | -------------------------------------+------------------------------------- Comment (by erikd): On my Aarch64 system, for `ghc-pkg` from the Debian version of ghc-7.6.4 I get: {{{ $ objdump -DR /usr/lib/ghc/lib/ghc-pkg | grep stdout 0000000001035d20 <stdout>: 1035d20: R_AARCH64_COPY stdout }}} where as for the newly compiled but broken 7.10 version I get: {{{ $ objdump -DR /home/erikd/GHC/7.10/lib/ghc-7.10.1.20150414/bin/ghc-pkg | grep stdout 47bd60: R_AARCH64_GLOB_DAT base_GHCziIOziHandleziFD_stdout_closure 000000000049a2e8 <base_GHCziIOziHandleziFD_stdout_closure>: 49a2e8: R_AARCH64_COPY base_GHCziIOziHandleziFD_stdout_closure }}} GHC 7.6.3 and 7.10 are different and so are Amd64 vs AArch64. It could well be a linker bug. The big difference between 7.6 and 7.10 is `DYNAMIC_GHC_PROGRAMS` is `YES` and as @juhp points out, this works when `DYNAMIC_GHC_PROGRAMS` is switched off. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9673#comment:16> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler