[MacPorts] #41588: Boost.Regex with GCC broken on Mavericks?

MacPorts noreply at macports.org
Fri Nov 29 00:32:10 PST 2013


#41588: Boost.Regex with GCC broken on Mavericks?
------------------------------+--------------------------------
  Reporter:  akim.demaille@…  |      Owner:  macports-tickets@…
      Type:  defect           |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.2.1
Resolution:  invalid          |   Keywords:  mavericks
      Port:  boost            |
------------------------------+--------------------------------

Comment (by ryandesign@…):

 You're not forced to use anything, but Apple has decided with Mavericks to
 switch the system's C++ library from its previous custom version of
 libstdc++ (which was subtly incompatible with FSF GCC's libstdc++) to
 libc++ (which is utterly incompatible with FSF GCC's libstdc++). Software
 compiled with MacPorts simply follows the system's convention.

 If you absolutely must use FSF GCC to compile C++ code that uses other C++
 code from MacPorts, then I can only suggest to uninstall all ports,
 install MacPorts trunk (MacPorts 2.2.x does not contain the following
 setting), and set '`cxx_stdlib libstdc++`' in
 ${prefix}/etc/macports/macports.conf, and then reinstall ports. I have no
 idea if this will work, and it's probably not a good idea to try; you're
 going from the supported configuration that everyone else is using on
 Mavericks to an unsupported configuration that probably nobody else has
 tried so you're bound to run into lots of problems.

 Mavericks is designed for libc++; my personal recommendation is to either
 use libc++ or don't use Mavericks.

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


More information about the macports-tickets mailing list