[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
Fri Aug 30 18:53:18 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@…):

 Ok, so it's coming from /opt/local/lib/apple-gcc42/gcc/powerpc-apple-
 darwin8/4.2.1/include/unwind.h sill.

 Change the line in the patch to use
 `__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__` instead of
 `__MAC_OS_X_VERSION_MIN_REQUIRED`

 {{{
 ~/src/macports/dports/lang/apple-gcc42 $ cat files/tiger-
 Unwind_GetIPInfo.patch
 --- gcc/unwind-generic.h.orig   2013-08-29 12:33:52.000000000 -0700
 +++ gcc/unwind-generic.h        2013-08-29 12:35:51.000000000 -0700
 @@ -155,7 +155,9 @@ extern _Unwind_Word _Unwind_GetGR (struc
  extern void _Unwind_SetGR (struct _Unwind_Context *, int, _Unwind_Word);

  extern _Unwind_Ptr _Unwind_GetIP (struct _Unwind_Context *);
 +#if !defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) ||
 __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050
  extern _Unwind_Ptr _Unwind_GetIPInfo (struct _Unwind_Context *, int *);
 +#endif
  extern void _Unwind_SetIP (struct _Unwind_Context *, _Unwind_Ptr);

  /* @@@ Retrieve the CFA of the given context.  */

 }}}

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


More information about the macports-tickets mailing list