
#10402: powerpc: unhandled ELF relocation(RelA) type 252 -----------------------------------+----------------------------------- Reporter: cjwatson | Owner: simonmar Type: bug | Status: patch Priority: normal | Milestone: 7.10.2 Component: Runtime System | Version: 7.8.4 Resolution: | Keywords: Operating System: Linux | Architecture: powerpc Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -----------------------------------+----------------------------------- Comment (by trommler): Replying to [comment:8 nomeata]:
Does debian disable dynamic GHC by default as `DYNAMIC_GHC_PROGRAMS = NO`?
No (`ldd /usr/lib/ghc/bin/ghc` lists various `libHS...` libraries). Are you using secure PLT? This might be done as part of hardening.
In the ABI specs p 108 relocations {{{R_PPC_REL16*}}}: ''These relocation types are used to compute the distance between a symbol address and the current address. These relocations types are used under the '''Secure-PLT ABI''' to compute the address of the .got section because the link editor knows the fixed distance between the _GLOBAL_OFFSET_TABLE_ symbol and an address in the .text section.'' The specs referred to above is: Power Architecture® 32-bit Application Binary Interface Supplement 1.0 - Linux® & Embedded -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10402#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler