#46801: ld64 @2 +ld64_127 : Wrong default for G4 Leopard ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: PPC G4 Leopard Port: ld64 | ----------------------------+---------------------------- Changes (by ryandesign@…): * keywords: PPC G4 Leopard libgcc => PPC G4 Leopard * owner: macports-tickets@… => jeremyhu@… Old description:
The default choice for '''OS X 10.5.8''', at least on 32-bit G4's, is '''ld64 +ld64_127'''. Out of the box, '''libgcc @4.9.2_1''' will not build using this variant.
You might try adjusting the defaults for various particular platforms and OS versions (for all I know, '''ld64 +ld64_127''' may work on a 64-bit G5).
While posting to an open ticket for libgcc, I noticed other people are having the same problem: [https://trac.macports.org/ticket/46557] and [https://trac.macports.org/ticket/45174]. These failures might also be confounded with a recurring '''libgcc bootstrap regression issue''' (see [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63703]).
'''NB''': I am in the middle of rebuilding MacPorts from scratch after the registry became corrupted, prior to the failure of my PowerBook's DC- power logic board, for which I waited two weeks for a replacement. After the '''libgcc @4.9.2_1''' build failed, I tried compiling '''libgcc @4.9.1_1''', which worked back in November--again, failure. Then, following a vague suspicion that the root lay in the new division of '''ld64''', I installed '''ld64 +ld64_97''' and tried a third time-- finally success. The failed attempts both boinked near the end of the build--over 6 hours on a PowerBook G4 @1.67 GHz. So I enjoyed an entire day of head-scratching and teeth-gnashing, all with little hope of success.
(Sorry, I needed to vent.) '''''I realize you are a volunteer, and I sincerely thank you for your effort.'''''
'''ld64_97''''s log unfortunately clobbered '''ld64-127''''s log, which consisted ''mostly'' of warnings, even though '''ld64-127''' installed without so much as a burp. So below are logs of '''libgcc''''s failed and successful builds. I will also post them here: [https://trac.macports.org/ticket/46557].
New description: The default choice for '''OS X 10.5.8''', at least on 32-bit G4's, is '''ld64 +ld64_127'''. Out of the box, '''libgcc @4.9.2_1''' will not build using this variant. You might try adjusting the defaults for various particular platforms and OS versions (for all I know, '''ld64 +ld64_127''' may work on a 64-bit G5). While posting to an open ticket for libgcc, I noticed other people are having the same problem: #46557 and #45174. These failures might also be confounded with a recurring '''libgcc bootstrap regression issue''' (see [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63703]). '''NB''': I am in the middle of rebuilding MacPorts from scratch after the registry became corrupted, prior to the failure of my PowerBook's DC-power logic board, for which I waited two weeks for a replacement. After the '''libgcc @4.9.2_1''' build failed, I tried compiling '''libgcc @4.9.1_1''', which worked back in November--again, failure. Then, following a vague suspicion that the root lay in the new division of '''ld64''', I installed '''ld64 +ld64_97''' and tried a third time-- finally success. The failed attempts both boinked near the end of the build--over 6 hours on a PowerBook G4 @1.67 GHz. So I enjoyed an entire day of head-scratching and teeth-gnashing, all with little hope of success. (Sorry, I needed to vent.) '''''I realize you are a volunteer, and I sincerely thank you for your effort.''''' '''ld64_97''''s log unfortunately clobbered '''ld64-127''''s log, which consisted ''mostly'' of warnings, even though '''ld64-127''' installed without so much as a burp. So below are logs of '''libgcc''''s failed and successful builds. I will also post them here: #46557. -- -- Ticket URL: <https://trac.macports.org/ticket/46801#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X