Opened 9 years ago

Last modified 19 months ago

#46801 closed defect

ld64 @2 +ld64_127 : Wrong default for G4 Leopard — at Version 1

Reported by: zzanderr Owned by: jeremyhu@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: PPC G4 Leopard Cc:
Port: ld64

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (3)

Changed 9 years ago by zzanderr

Attachment: libgcc-4.9.2_1-BAD_main.log added

Changed 9 years ago by zzanderr

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: libgcc removed
Owner: changed from macports-tickets@… to jeremyhu@…
Note: See TracTickets for help on using tickets.