[MacPorts] #36226: libstdcxx @4.7.1: cc1 in stage1 can't be built on PPC Tiger (Mac OS X 10.4.11) due to undefined symbols

MacPorts noreply at macports.org
Wed Aug 28 08:53:09 PDT 2013


#36226: libstdcxx @4.7.1: cc1 in stage1 can't be built on PPC Tiger (Mac OS X
10.4.11) due to undefined symbols
------------------------------+------------------------
  Reporter:  Peter_Dyballa@…  |      Owner:  jeremyhu@…
      Type:  defect           |     Status:  reopened
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.1.2
Resolution:                   |   Keywords:
      Port:  libstdcxx        |
------------------------------+------------------------

Comment (by jeremyhu@…):

 Actually, from the link failure above, I suspect that the problem isn't so
 much with the deployment target as with gcc48 probably not checking that
 deployment target.

 Looking at the apple-gcc42 sources, there is a macro set in config.h that
 indicates whether or not __Unwind_GetIPInfo is available.  I suspect that
 backtrace.c ignores it, so the fix would be to change something like this:
 {{{
 _Unwind_GetIPInfo(context, ipBefore);
 }}}

 into this:

 #if HAVE_GETIPINFO
 _Unwind_GetIPInfo(context, ipBefore);
 #else
 *ipBefore = 0;
 _Unwind_GetIP(context);
 #endif

 Can you please try that and provide a patch?

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


More information about the macports-tickets mailing list