[GHC] #10402: powerpc: unhandled ELF relocation(RelA) type 252
GHC
ghc-devs at haskell.org
Mon May 11 14:18:32 UTC 2015
#10402: powerpc: unhandled ELF relocation(RelA) type 252
-------------------------------------+-------------------------------------
Reporter: cjwatson | Owner: simonmar
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime | Version: 7.8.4
System | Operating System: Linux
Keywords: | Type of failure: Runtime crash
Architecture: powerpc | Blocked By:
Test Case: | Related Tickets:
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Building some Debian packages on powerpc with GHC 7.8.4 fails as shown in
this [https://buildd.debian.org/status/fetch.php?pkg=haskell-wai-app-
static&arch=powerpc&ver=3.0.1-3&stamp=1431236338 build log], e.g.:
{{{
ghc: /usr/lib/haskell-packages/ghc/lib/powerpc-linux-ghc-7.8.4/unix-
time-0.3.5/libHSunix-time-0.3.5.a: unhandled ELF relocation(RelA) type 252
}}}
I'm no PPC ABI expert, but I think the attached patch against master
(which applies equally to 7.8.4) is reasonably plausible, and it at least
allows wai-app-static to build cleanly.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10402>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list