Ticket #34176 (closed defect: fixed)
ld64: error: mach-o/arm/reloc.h: No such file or directory
| Reported by: | walterlawrencegriffith@… | Owned by: | jeremyhu@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.4 |
| Keywords: | Cc: | jeremyhu@…, mfeiri@…, macports@…, jikanter@…, md14-macports@…, yves.dubief@…, 4eppelin@… | |
| Port: | ld64 |
Description (last modified by ryandesign@…) (diff)
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
Change History
Changed 14 months ago by walterlawrencegriffith@…
- Attachment ld64_ticket_log added
comment:1 Changed 14 months ago by ryandesign@…
- Cc jeremyhu@…, mfeiri@…, macports@… added
- Description modified (diff)
- Summary changed from ld64-127.2_4+llvm30.darwin_10.x86_64.tgz upgrade failure to ld64: error: mach-o/arm/reloc.h: No such file or directory
Has duplicate #34178.
comment:5 Changed 14 months ago by jeremyhu@…
- Owner changed from macports-tickets@… to jeremyhu@…
- Status changed from new to assigned
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...


Installation log (renamed to allow entry into ticket)