[MacPorts] #34385: Support gcc47 and gcc48 on ppc
MacPorts
noreply at macports.org
Tue Jan 1 12:40:00 PST 2013
#34385: Support gcc47 and gcc48 on ppc
--------------------------------+-------------------------
Reporter: boby.foulcan@… | Owner: jeremyhu@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Resolution: | Keywords: Leopard ppc
Port: gcc42 gcc47 gcc48 |
--------------------------------+-------------------------
Comment (by tobias.netzel@…):
I recommend the above patch together with the use of ld64 (by means of
building using apple-gcc42).
I strongly discourage any further use of the old classic linker.
The above patch doesn't make all long-branch warning go away since there
are other crt files that Apple distributed separatly in its Csu open
source project. In fact I recommend that rebuilding those crt files be
part of the compiler bootstrap like the other crt files.
Here I uploaded rebuilt Csu crt files that should be placed next to the
existing ones so that they take precedence of the ones installed with
Apple Developer Tools (for example in /opt/local/lib/gcc46/gcc/ppc-apple-
darwin8/4.6.3/):
http://tenfourfox.googlecode.com/issues/attachment?aid=520194000&name=crt.zip&token=7tC0Xg3z8e_7G2yoIY05eLcXsuc%3A1357070857178
Some modifications to the Csu makefile are necessary to get that project
compiled. In case of interest I'll add them here.
Furthermore in order to get the feature objc-direct-dispatch working again
one may compile/assemble the following file and add it to the libgcc
static library that way providing the missing symbols produces when trying
to link ObjC(++) object files that were built with that feature switched
on:
http://tenfourfox.googlecode.com/issues/attachment?aid=520093000&name=objc_msgSend_Fast.s&token=dbkk8mEl6q3KISJLo-b-I7s99zU%3A1357070857157
--
Ticket URL: <https://trac.macports.org/ticket/34385#comment:35>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list