[MacPorts] #46519: ld64 @97.17_4 fails building on 10.5.8. PPC

MacPorts noreply at macports.org
Sun Jan 11 05:11:14 PST 2015


#46519: ld64 @97.17_4 fails building on 10.5.8. PPC
------------------------+--------------------------------
 Reporter:  braumann@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.3.3
 Keywords:  10.5.8      |       Port:  ld64
------------------------+--------------------------------
 {{{
 ...

 :info:build /usr/bin/g++-4.2 -Os -Os  -arch ppc  -Isrc/abstraction
 -Isrc/ld -I/opt/local/include
 -I/opt/local/Developer/SDKs/Darwin9.sdk/usr/include  -c -o
 src/other/ObjectDump.o src/other/ObjectDump.cpp
 :info:build In file included from src/ld/MachOReaderRelocatable.hpp:43,
 :info:build                  from src/other/ObjectDump.cpp:31:
 :info:build
 /opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/DwarfInstructions.hpp:
 In static member function ‘static typename A::pint_t
 libunwind::DwarfInstructions<A, R>::getCFA(A&, const typename
 libunwind::CFI_Parser<A>::PrologInfo&, const R&)’:
 :info:build
 /opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/DwarfInstructions.hpp:75:
 error: there are no arguments to ‘__builtin_unreachable’ that depend on a
 template parameter, so a declaration of ‘__builtin_unreachable’ must be
 available
 :info:build
 /opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/DwarfInstructions.hpp:75:
 error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing
 the use of an undeclared name is deprecated)
 :info:build
 /opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/DwarfInstructions.hpp:
 In static member function ‘static int libunwind::DwarfInstructions<A,
 R>::stepWithDwarf(A&, typename A::pint_t, typename A::pint_t, R&)’:
 :info:build
 /opt/local/Developer/SDKs/Darwin9.sdk/usr/include/libunwind/DwarfInstructions.hpp:209:
 error: ‘UNW_STEP_SUCCESS’ was not declared in this scope

 ...
 }}}

 {{{ObjectDump.cpp}}} is the very first file to compile. There is a lot of
 subsequent errors, see the attached main.log

-- 
Ticket URL: <https://trac.macports.org/ticket/46519>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list