[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
Thu Aug 29 12:37:41 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@…):

 Peter, can you give this a shot?

 {{{
 Index: Portfile
 ===================================================================
 --- Portfile    (revision 110223)
 +++ Portfile    (working copy)
 @@ -6,7 +6,7 @@
  name                   apple-gcc42
  version                        5666.3
  set gcc_version                4.2.1
 -revision               11
 +revision               12
  categories             lang
  platforms              darwin
  license                        {GPL-2+ Permissive}
 @@ -97,6 +97,7 @@
  # incpath.patch                  : Don't prepend the -isysroot option
 argument to the compiler's own search paths
  # driverdriver-num_infiles.patch : Fix linking with no input files (ie
 all static archives passed with -l...)
  # driverdriver-armcheck.patch    : Build fix for the driverdriver when
 arm support is not available (eg: Tiger)
 +# tiger-Unwind_GetIPInfo.patch   : https://trac.macports.org/ticket/36226

  patchfiles-append \
         werror-c-incpath.patch \
 @@ -103,7 +104,8 @@
         werror-local-alloc.patch \
         incpath.patch \
         driverdriver-num_infiles.patch \
 -       driverdriver-armcheck.patch
 +       driverdriver-armcheck.patch \
 +       tiger-Unwind_GetIPInfo.patch

  # gcj fails to build:
  # gcc/java/lang.c: In function 'java_init':
 Index: files/tiger-Unwind_GetIPInfo.patch
 ===================================================================
 --- files/tiger-Unwind_GetIPInfo.patch  (revision 0)
 +++ files/tiger-Unwind_GetIPInfo.patch  (working copy)
 @@ -0,0 +1,12 @@
 +--- 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(__MAC_OS_X_VERSION_MIN_REQUIRED) ||
 __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:18>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list