[MacPorts] #49779: libunwind @3.7.0 fails building on 10.6.8

MacPorts noreply at macports.org
Mon Nov 23 09:00:30 PST 2015


#49779: libunwind @3.7.0 fails building on 10.6.8
-------------------------+--------------------------------
  Reporter:  braumann@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:              |   Keywords:
      Port:  libunwind   |
-------------------------+--------------------------------

Comment (by jeremyhu@…):

 It was added in:

 {{{
 commit 16e33fad1a800924365cca09870e7250ac20000c
 Author: Saleem Abdulrasool <compnerd at compnerd.org>
 Date:   Wed Feb 11 05:20:53 2015 +0000

     unwind: tweak inclusion ordering to work around GCC

     This is a slightly convoluted workaround.  GCC does not support the
     __has_feature extension of clang, and this results in some issues with
     static_asserts.  config.h defines static_assert as a macro with a
 C-specific
     trickery.  This then propagates into the C++ headers included after
 config.h,
     which are used with C++11 mode, enabling constexpr constructors.  The
 macro'ed
     static_assert does not get treated as the static_assert builtin, and
 will cause
     an error due to a non-empty constexpr constructor.  Tweaking the
 include order
     permits the use of libc++ headers to build libunwind with GCC on
 Linux.

     git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@228809
 91177308-0d34-0410-b5e6-96231b3b80d8
 }}}

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


More information about the macports-tickets mailing list