[GHC] #12054: PowerPC: Unsupported relocation against x0
GHC
ghc-devs at haskell.org
Fri May 13 12:32:03 UTC 2016
#12054: PowerPC: Unsupported relocation against x0
----------------------------------------+--------------------------------
Reporter: erikd | Owner: trommler
Type: bug | Status: new
Priority: normal | Milestone: 8.0.2
Component: Compiler (CodeGen) | Version: 8.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: powerpc
Type of failure: Building GHC failed | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
----------------------------------------+--------------------------------
Comment (by trommler):
I could not reproduce the bug on powerpc64le which is strange.
The above code is generated when we need to move the stack pointer further
than what fits into a 16 bit signed offset. The stack pointer is updated
when we allocate a new stack frame or when we need to allocate additional
spill slots in the current stack frame.
A spill slot on 64-bit, however, has eight bytes not four so I would
expect to see the issue on powerpc64le and powerpc64 too. The bug in the
pretty printer affects all PowerPCs but it seems I can't tickle it on
64-bit processors.
Is there another bug higher up in the code generator that affects only 32
bit? How can we produce a regression test for this bug?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12054#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list