cctools: PowerPC assembler generates unsupported relocation type
When building optimized for the G5 CPU (mcpu=G5 which implies mpowerpc64, enabling the use of 64 bit registers and instructions even in 32 bit ABI) while targetting 32 bit ABI and switching on dynamic-no-pic the assembler generates relocations of type LO14 which have been seemingly deprecated with the dyld introduced with 10.4. The former dyld (part of the cctools project) supported and needed to distinguish between LO16 and LO14, but the later dyld doesn't need it anymore and unfortunately throws an unkown relocation type error.
I made a patch to the PowerPC assembler to always generate LO16 instead of LO14 when targetting 10.4 or later. That solved the problems I encountered when building the mozilla JavaScript library optimized for the G5.
Change History (4)
Owner: |
changed from macports-tickets@… to jeremyhu@…
|
Summary: |
PowerPC assembler generates unsupported relocation type →
cctools: PowerPC assembler generates unsupported relocation type
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Please remember to Cc the maintainer.