[MacPorts] #36026: ld64 sometimes builds wrong which causes other software to fail to build
MacPorts
noreply at macports.org
Sun Sep 30 02:51:18 PDT 2012
#36026: ld64 sometimes builds wrong which causes other software to fail to build
-------------------------+------------------------
Reporter: jwhowse4@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: ld64 |
-------------------------+------------------------
Comment (by vaccari@…):
So, I'm now trying to produce the preprocessed code for
macho_relocatable_file.cpp
Found it in
{{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64/work/ld64-133.3/src/ld/parsers
}}}
cd there and tried
{{{
sudo clang -E -I. -I../../ld -I../../abstraction
macho_relocatable_file.cpp -o macho_relocatable_file.cpp.preprocessed
}}}
But got error
{{{
In file included from macho_relocatable_file.cpp:35:
../../abstraction/MachOFileAbstraction.hpp:290:10: fatal error:
'mach-o/arm/reloc.h' file not found
#include <mach-o/arm/reloc.h>
}}}
I can only guess some needed configuration is missing when trying ''clang
-E'' straight from the command line.
I'm willing to help here, but don't want to waste your time either, given
I'm quite ignorant on this matter...
--
Ticket URL: <https://trac.macports.org/ticket/36026#comment:95>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list