"Fixup too large" error with -fasm on PowerPC
|Reported by:||simonmar||Owned by:|
|Type of failure:||Building GHC failed||Test Case:|
|Related Tickets:||Differential Rev(s):|
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
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.
Change History (23)
comment:3 Changed 10 years ago by
|difficulty:||Difficult (1 week) → Moderate (1 day)|
|Status:||new → closed|
comment:7 Changed 4 years ago by
|Status:||closed → new|
|Type of failure:||→ Building GHC failed|
|Version:||6.4.1 → 7.7|