#46547 closed defect (worksforme)
ld64 does not build on PPC Mac OS X 10.4.11 Tiger because some C header files cannot be found
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | jeremyhu (Jeremy Huddleston Sequoia) | |
Port: | ld64 |
Description
ake: Entering directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_ld64/ld64/work/ld64-97.17' /opt/local/bin/g++-apple-4.2 -Os -Os -arch ppc -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers -I/opt/local/include -c -o src/other/ObjectDump.o src/other/ObjectDump.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/ld/MachOReaderRelocatable.hpp:43, from src/other/ObjectDump.cpp:31: src/ld/parsers/libunwind/DwarfInstructions.hpp:39:23: error: libunwind.h: No such file or directory In file included from src/ld/MachOReaderRelocatable.hpp:37, from src/other/ObjectDump.cpp:31:
Locate found these files with libunwind
in the path name:
/opt/local/Developer/SDKs/Darwin8.sdk/usr/include/libunwind /opt/local/Developer/SDKs/Darwin8.sdk/usr/include/libunwind/AddressSpace.hpp /opt/local/Developer/SDKs/Darwin8.sdk/usr/include/libunwind/CompactUnwinder.hpp /opt/local/Developer/SDKs/Darwin8.sdk/usr/include/libunwind/DwarfInstructions.hpp /opt/local/Developer/SDKs/Darwin8.sdk/usr/include/libunwind/DwarfParser.hpp /opt/local/Developer/SDKs/Darwin8.sdk/usr/include/libunwind/FileAbstraction.hpp /opt/local/Developer/SDKs/Darwin8.sdk/usr/include/libunwind/InternalMacros.h /opt/local/Developer/SDKs/Darwin8.sdk/usr/include/libunwind/Registers.hpp /opt/local/Developer/SDKs/Darwin8.sdk/usr/include/libunwind/UnwindCursor.hpp /opt/local/Developer/SDKs/Darwin8.sdk/usr/include/libunwind/dwarf2.h /opt/local/Developer/SDKs/Darwin8.sdk/usr/include/libunwind/libunwind_priv.h /opt/local/Developer/SDKs/Darwin8.sdk/usr/include/libunwind.h /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_ld64/ld64/work/ld64-97.17/src/ld/parsers/libunwind /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_ld64/ld64/work/ld64-97.17/src/ld/parsers/libunwind/AddressSpace.hpp /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_ld64/ld64/work/ld64-97.17/src/ld/parsers/libunwind/DwarfInstructions.hpp /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_ld64/ld64/work/ld64-97.17/src/ld/parsers/libunwind/DwarfParser.hpp /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_ld64/ld64/work/ld64-97.17/src/ld/parsers/libunwind/InternalMacros.h /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_ld64/ld64/work/ld64-97.17/src/ld/parsers/libunwind/Registers.hpp /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libunwind-headers /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libunwind-headers/libunwind-headers /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libunwind-headers/libunwind-headers/work /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libunwind-headers/libunwind-headers/work/.home /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libunwind-headers/libunwind-headers/work/.macports.libunwind-headers.state /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libunwind-headers/libunwind-headers/work/.tmp /opt/local/var/macports/distfiles/libunwind-headers /opt/local/var/macports/distfiles/libunwind-headers/libunwind-30.tar.gz /opt/local/var/macports/distfiles/libunwind-headers/libunwind-35.1.tar.gz /opt/local/var/macports/distfiles/libunwind-headers/libunwind-35.3.tar.gz /opt/local/var/macports/logs/_opt_mports_trunk_dports_devel_libunwind-headers /opt/local/var/macports/logs/_opt_mports_trunk_dports_devel_libunwind-headers/libunwind-headers /opt/local/var/macports/logs/_opt_mports_trunk_dports_devel_libunwind-headers/libunwind-headers/main.log /opt/local/var/macports/registry/portfiles/libunwind-headers-35.3_0 /opt/local/var/macports/registry/portfiles/libunwind-headers-35.3_0/3e593d1b1f632db457625623d3e6004809cb023498a2bd8b57c2edf6c91b9375-4731 /opt/local/var/macports/registry/portfiles/libunwind-headers-35.3_0/3e593d1b1f632db457625623d3e6004809cb023498a2bd8b57c2edf6c91b9375-4731/Portfile /opt/local/var/macports/software/libunwind-headers /opt/local/var/macports/software/libunwind-headers/libunwind-headers-35.3_0.darwin_8.noarch.tbz2 /opt/local/var/macports/sources/lil.fr.rsync.macports.org/release/tarballs/ports/devel/libunwind-headers /opt/local/var/macports/sources/lil.fr.rsync.macports.org/release/tarballs/ports/devel/libunwind-headers/Portfile /opt/mports/trunk/dports/devel/ld64/files/ld64-97-standalone-libunwind-headers.patch /opt/mports/trunk/dports/devel/libunwind /opt/mports/trunk/dports/devel/libunwind/Portfile /opt/mports/trunk/dports/devel/libunwind/files /opt/mports/trunk/dports/devel/libunwind/files/0002-libunwind-Fix-fallback-implementation-of-_dyld_find_.patch /opt/mports/trunk/dports/devel/libunwind/files/0003-libunwind-Add-missing-include-of-libunwind_ext.h-to-.patch /opt/mports/trunk/dports/devel/libunwind/files/0004-libunwind-Use-__builtin_trap-rather-than-__builtin_u.patch /opt/mports/trunk/dports/devel/libunwind/files/0005-libunwind-ppc-build-fix.patch /opt/mports/trunk/dports/devel/libunwind/files/0008-libunwind-MacPorts-availability.patch /opt/mports/trunk/dports/devel/libunwind/files/Makefile /opt/mports/trunk/dports/devel/libunwind-headers /opt/mports/trunk/dports/devel/libunwind-headers/Portfile /opt/mports/trunk/dports/devel/libunwind-headers/files /opt/mports/trunk/dports/devel/libunwind-headers/files/tiger-Unwind_GetIPInfo.patch /opt/mports/trunk/dports/devel/libunwind-headers/work
Attachments (1)
Change History (7)
comment:1 follow-up: 3 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)
comment:2 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:3 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Replying to jeremyhu@…:
Those were removed a while ago.
After switching back to rsynch they are gone here too. The new failure in the ld64 build is now:
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_ld64/ld64/work/ld64-97.17' /opt/local/bin/g++-apple-4.2 -Os -Os -arch ppc -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers -I/opt/local/include -c -o src/other/ObjectDump.o src/other/ObjectDump.cpp In file included from src/ld/parsers/libunwind/DwarfInstructions.hpp:44, from src/ld/MachOReaderRelocatable.hpp:43, from src/other/ObjectDump.cpp:31: src/ld/parsers/libunwind/Registers.hpp: In member function 'uint32_t libunwind::Registers_x86::getSP() const': src/ld/parsers/libunwind/Registers.hpp:67: error: 'const struct i386_thread_state_t' has no member named '__esp' src/ld/parsers/libunwind/Registers.hpp: In member function 'void libunwind::Registers_x86::setSP(uint32_t)': src/ld/parsers/libunwind/Registers.hpp:68: error: 'struct i386_thread_state_t' has no member named '__esp'
PPC support seems to be missing here…
Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Correct main.log
comment:4 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
ld64-97.17/src/ld/parsers/libunwind/Registers.hpp has on line #38 an unconditional
#include <mach/i386/thread_status.h>
which should be on PPC hardware a
#include <mach/ppc/thread_status.h>
I have:
-r--r--r-- 1 root wheel 14321 20 Sep 2007 /usr/include/mach/i386/thread_status.h -r--r--r-- 1 root wheel 1277 20 Sep 2007 /usr/include/mach/machine/thread_status.h -r--r--r-- 1 root wheel 5102 20 Sep 2007 /usr/include/mach/ppc/thread_status.h -r--r--r-- 1 root wheel 3092 20 Sep 2007 /usr/include/mach/thread_status.h
comment:5 follow-up: 6 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)
No, that's not the issue. You likely need r131698
comment:6 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Note: See
TracTickets for help on using
tickets.
Those were removed a while ago.