[GHC] #709: "Fixup too large" error with -fasm on PowerPC
GHC
trac at galois.com
Thu Mar 2 04:39:22 EST 2006
#709: "Fixup too large" error with -fasm on PowerPC
-------------------------------+--------------------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: new
Priority: low | Milestone:
Component: Compiler (NCG) | Version: 6.4.1
Severity: minor | Keywords:
Os: Multiple | Difficulty: Difficult (1 week)
Architecture: powerpc |
-------------------------------+--------------------------------------------
The native code generator on PowerPC can sometimes generate code that
doesn't pass the assembler. The error is "Fixup too large" from the
assembler.
Workaround is to use {{{-fvia-C}}}.
Wolfgang Thaller says this: Conditional branches on the PowerPC only have
16 bits for the displacement. I have been reluctant to fix this so far
because it means either slowing down all conditional branches or actually
checking the size of the generated code before deciding what branch
instructions to use, which I'm afraid would add an additional pass to the
NCG.
--
Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/709>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list