[MacPorts] #35770: gcc ports should not include a C++ runtime

MacPorts noreply at macports.org
Wed Sep 12 09:48:02 PDT 2012


#35770: gcc ports should not include a C++ runtime
--------------------------------------------------+------------------------
  Reporter:  jeremyhu@…                           |      Owner:  jeremyhu@…
      Type:  defect                               |     Status:  closed
  Priority:  Normal                               |  Milestone:
 Component:  ports                                |    Version:  2.1.2
Resolution:  fixed                                |   Keywords:  libstdc++
      Port:  gcc43 gcc44 gcc45 gcc46 gcc47 gcc48  |
--------------------------------------------------+------------------------

Comment (by jeremyhu@…):

 This morning, I noticed that base complains about the + in the depspec, so
 I pushed r97700 which should address this particular issue.

 Replying to [comment:41 gnwiii@…]:
 > Replying to [comment:35 jeremyhu@…]:
 > > Ok, I have a solution, but svn is down, so I can't commit...
 >
 > After updating, I have {{{/opt/local/lib/gcc4?/libstdc++.6.dylib}}}
 symlinks, but the configure script for octave-devel complains that it
 can't find {{{libstdc++.dylib}}} in the check for the size of an integer.
 Adding {{{/opt/local/lib/gcc4?/libstdc++.dylib}}} symlinks seems to be
 needed.

 You should have:

 {{{
 $ port contents libstdcxx-devel
 Port libstdcxx-devel contains:
   /opt/local/lib/.libstdcxx
   /opt/local/lib/libstdc++.6.dylib
   /opt/local/lib/libstdc++.dylib
 }}}

 or similar for libstdcxx.  The symlinks in the gcc directories should
 point to /opt/local/lib/libstdc++.6.dylib.

 lib/gcc4?/libstdc++.dylib will be used at linktime to ensure that the
 compiler uses *this* libstdc++.dylib rather than the one in /usr.
 lib/gcc4?/libstdc++.6.dylib will be used at runtime to redirect binaries
 linked with the older versions of the gcc ports to find the common
 runtime.

-- 
Ticket URL: <https://trac.macports.org/ticket/35770#comment:42>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list