[MacPorts] #37520: PowerPC assembler generates unsupported relocation type
MacPorts
noreply at macports.org
Fri Jan 4 05:32:32 PST 2013
#37520: PowerPC assembler generates unsupported relocation type
-----------------------------+--------------------------------
Reporter: tobias.netzel@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: cctools
-----------------------------+--------------------------------
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.[[BR]]
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.
--
Ticket URL: <https://trac.macports.org/ticket/37520>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list