#49779: libunwind @3.7.0 fails building on 10.6.8 -------------------------+-------------------------------- Reporter: braumann@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: libunwind | -------------------------+-------------------------------- Comment (by braumann@…): Thanks! Problem solved. Please note, Xcode gcc-4.2 or llvm-gcc-4.2 (also the the variants from MacPorts) do not work on my 10.6.8 system, what works are macports-ggc-4.7 and higher as well as macports-clang-3.5 and higher as well as clang from Xcode 4.2 (it builds within seconds, so I could make a brief "survey" on compiler functionality), finally I took {{{ $ sudo port -s upgrade libunwind configure.compiler=macports-gcc-5 }}} Maybe you can blacklist some which do not work (as mentioned before). BTW, just for completeness, here is the error which is issued when building failed (e.g. with llvm-gcc-4.2): {{{ :info:build In file included from UnwindCursor.hpp:32, :info:build from libunwind.cpp:27: :info:build EHHeaderParser.hpp: In static member function ‘static bool libunwind::EHHeaderParser<A>::findFDE(A&, typename A::pint_t, typename A::pint_t, uint32_t, typename libunwind::CFI_Parser<A>::FDE_Info*, typename libunwind::CFI_Parser<A>::CIE_Info*)’: :info:build EHHeaderParser.hpp:103: error: expected `;' before ‘hdrInfo’ :info:build EHHeaderParser.hpp:104: error: ‘hdrInfo’ was not declared in this scope :info:build make: *** [libunwind.o] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/49779#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X