Opened 12 years ago

Closed 11 years ago

#38931 closed defect (fixed)

ld64 fails to build on OSX 10.4 ppc

Reported by: jasper@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: ld64

Description

Was installing as dependency for cctools Tried both with and without configure.compiler=apple-gcc-4.2 Attached logfile is with configure.compiler=apple-gcc-4.2

Attachments (3)

main.log (21.7 KB) - added by jasper@… 12 years ago.
...with compiler:apple-gcc-4.2
main2.log (120.6 KB) - added by jasper@… 12 years ago.
with default compiler
ld64-machofileabstraction_hpp.patch (964 bytes) - added by t.tensi@… 11 years ago.
Patch for src/abstraction/MachOFileAbstraction.hpp for Mac OS Tiger

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by jasper@…

Attachment: main.log added

...with compiler:apple-gcc-4.2

Changed 12 years ago by jasper@…

Attachment: main2.log added

with default compiler

comment:1 Changed 12 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to jeremyhu@…
Port: ld64 added

Thanks. In the future, please Cc relevant port maintainers.

comment:2 Changed 11 years ago by kuchimanimoi@…

if you can downgrade version of cctools-headers to @836_0 , you can install ld64 with compiler:apple-gcc-4.2.

comment:3 Changed 11 years ago by t.tensi@…

Dear Jasper, dear Jeremy, dear all,

Jasper has my sympathies: I am also trying to build FFMEG via LD64 on 10.4 PPC.

The problem with LD64 is simple: some preprocessor definitions for the ARM architecture are missing in src/abstraction/MachOFileAbstraction.hpp.

I have added a patch for them. If you install LD64 with that patch applied and with configure.compiler=apple-gcc-4.2, LD64 is built correctly.

Then also FFMPEG can be built based on LD64 (see your ticket 38908).

Best regards, Thomas

Changed 11 years ago by t.tensi@…

Patch for src/abstraction/MachOFileAbstraction.hpp for Mac OS Tiger

comment:4 Changed 11 years ago by reeskm (Rees Machtemes)

I filed #38807 which is a duplicate of this bug.

comment:5 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.