"Fixup too large" error with -fasm on PowerPC
|Reported by:||simonmar||Owned by:|
|Type of failure:||Building GHC failed||Test Case:|
|Related Tickets:||Differential Revisions:|
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.
Change History (23)
comment:3 Changed 8 years ago by wolfgang
- difficulty changed from Difficult (1 week) to Moderate (1 day)
- Resolution set to fixed
- Status changed from new to closed
comment:5 Changed 6 years ago by simonmar
- Operating System changed from Multiple to Unknown/Multiple
comment:6 Changed 5 years ago by simonmar
- difficulty changed from Moderate (1 day) to Moderate (less than a day)
comment:7 Changed 2 years ago by PHO
- Cc pho@… added
- Resolution fixed deleted
- Status changed from closed to new
- Type of failure set to Building GHC failed
- Version changed from 6.4.1 to 7.7