[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:35:32 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@…):

 The implementation for the missing symbol is:
 {{{
 uintptr_t _Unwind_GetIPInfo(struct _Unwind_Context* context, int*
 ipBefore)
 {
     *ipBefore = 0;
     return _Unwind_GetIP(context);
 }
 }}}

 So I think the easiest approach is to just short circuit that in apple-
 gcc42, but I'm really curious why it's even using that symbol when you are
 targeting Tiger.

 Replying to [comment:6 Peter_Dyballa@…]:
 > Replying to [comment:4 jeremyhu@…]:
 > > Does it work if you force -mmacosx-version-min=10.4 ?
 >
 > How and where can I add these additions? I don't understand the Portfile
 language well…

 This doesn't have to do with the Portfile.  You need to manually figure
 out what file has the reference to the missing symbol and recompile that
 file (look in the log to see the compilation line) manually.  Then compare
 with and without -mmacosx-version-min=10.4 ... I'll look at apple-gcc42 to
 see if I can spot the problem.

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


More information about the macports-tickets mailing list