
#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 slyfox): Replying to [comment:15 rwbarton]:
While it would doubtless be better to build with `-fPIC` only when building a shared library, we ought to support the configuration of unix- time too, right?
Correct. 1. ghc-7.10/HEAD/DYNAMIC_GHC_PROGRAMS=YES on PPC32 fully supports it by using dynamic linker 2. ghc-7.10/HEAD/DYNAMIC_GHC_PROGRAMS=NO on PPC32 does not support it and attached patch needs to be adjusted a bit to work. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10402#comment:17 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler