Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#34176 closed defect (fixed)

ld64: error: mach-o/arm/reloc.h: No such file or directory

Reported by: walterlawrencegriffith@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia), mfeiri, macports@…, jikanter@…, mndavidoff (Monte Davidoff), yves.dubief@…, 4eppelin@…
Port: ld64

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

sudo port upgrade outdated

fails on a MacBook when attempting to upgrade ld64. The log entry appears to be different from ticket #34163. I have attempted to uninstall, clean, and compile with llvm-gcc-4.2 without success. I am using Snow Leopard (Mac OS X 10.6.8) with XCode 3.2.6.

Attachments (1)

ld64_ticket_log (93.4 KB) - added by walterlawrencegriffith@… 12 years ago.
Installation log (renamed to allow entry into ticket)

Download all attachments as: .zip

Change History (9)

Changed 12 years ago by walterlawrencegriffith@…

Attachment: ld64_ticket_log added

Installation log (renamed to allow entry into ticket)

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

Cc: jeremyhu@… mfeiri@… macports@… added
Description: modified (diff)
Summary: ld64-127.2_4+llvm30.darwin_10.x86_64.tgz upgrade failureld64: error: mach-o/arm/reloc.h: No such file or directory

Has duplicate #34178.

comment:2 Changed 12 years ago by jikanter@…

Cc: jikanter@… added

Cc Me!

comment:3 Changed 12 years ago by mndavidoff (Monte Davidoff)

Cc: md14-macports@… added

Cc Me!

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: yves.dubief@… added

Has duplicate #34185.

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

Owner: changed from macports-tickets@… to jeremyhu@…
Status: newassigned

1) Why is llvm-gcc being used instead of clang?

2) For some reason, you don't have -I/opt/local/include in that compile line.

My build went successfully with clang, but I don't see -I/opt/local/include on its command lines for some reason. My guess is that it "worked for me" because of /opt/local/include being in CPATH, and maybe llvm-gcc doesn't work with CPATH correctly.

Please try using clang instead of llvm-gcc. That should be the default with your configuration...

comment:6 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

comment:7 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: assignedclosed

comment:8 Changed 12 years ago by 4eppelin@…

Cc: 4eppelin@… added

Cc Me!

Note: See TracTickets for help on using tickets.