[MacPorts] #45637: ld64 @97.17_3 build fails on Leopard - can't find libunwind headers
MacPorts
noreply at macports.org
Sun Oct 26 11:29:45 PDT 2014
#45637: ld64 @97.17_3 build fails on Leopard - can't find libunwind headers
-----------------------+--------------------------------
Reporter: khepler@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.2
Keywords: | Port: ld64
-----------------------+--------------------------------
Build of ld64 aborts due to "File not found" errors for the libunwind
includes. This is a clean install of Leopard on a PowerMac G5.
{{{
/usr/bin/g++-4.2 -Os -Os -arch ppc -I/opt/local/libexec/llvm-3.3/include
-DLTO_SUPPORT -Isrc/abstraction -Isrc/ld -I/opt/local/include -c -o
src/other/dyldinfo.o src/other/dyldinfo.cpp
In file included from src/ld/MachOReaderRelocatable.hpp:37,
from src/other/ObjectDump.cpp:31:
src/abstraction/MachOFileAbstraction.hpp:36:44: error:
mach-o/compact_unwind_encoding.h: No such file or directory
In file included from src/other/ObjectDump.cpp:31:
src/ld/MachOReaderRelocatable.hpp:43:43: error:
libunwind/DwarfInstructions.hpp: No such file or directory
src/ld/MachOReaderRelocatable.hpp:44:38: error:
libunwind/AddressSpace.hpp: No such file or directory
src/ld/MachOReaderRelocatable.hpp:45:35: error: libunwind/Registers.hpp:
No such file or directory
In file included from src/other/dyldinfo.cpp:38:
src/abstraction/MachOFileAbstraction.hpp:36:44: error:
mach-o/compact_unwind_encoding.h: No such file or directory
}}}
The headers are definitely installed:
{{{
[PowerMacG5:~] kris% port installed libunwind-headers
The following ports are currently installed:
libunwind-headers @35.3_0 (active)
[PowerMacG5:~] kris% port contents libunwind-headers
Port libunwind-headers contains:
/opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind.h
/opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/AddressSpace.hpp
/opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/CompactUnwinder.hpp
/opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/DwarfInstructions.hpp
/opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/DwarfParser.hpp
/opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/FileAbstraction.hpp
/opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/InternalMacros.h
/opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/Registers.hpp
/opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/UnwindCursor.hpp
/opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/dwarf2.h
/opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/libunwind_priv.h
/opt/local/Developer/SDKs/Darwin9.sdk/usr/include/mach-o/compact_unwind_encoding.h
/opt/local/Developer/SDKs/Darwin9.sdk/usr/include/unwind.h
[PowerMacG5:~] kris%
}}}
Looks like the Macports SDKs aren't in the paths.
--
Ticket URL: <https://trac.macports.org/ticket/45637>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list