[MacPorts] #41588: Boost.Regex with GCC broken on Mavericks?
MacPorts
noreply at macports.org
Fri Dec 6 02:57:50 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@…):
Replying to [comment:17 akim.demaille@…]:
> FWIW, I can see a significant difference bw the Ubuntu I have at hand,
and the MacPorts: on the Ubuntu, clang used in C++11 mode does support
C++11 with stdlibc++ (the one from GCC). On Mountain Lion, when I use
clang++ -std=c+11, it seems to use a pre-C++11 installation of libstdc++,
so it does not support C++11. So I have to pass -stdlib=libc++, which in
turn breaks everything, since that's not the "system" C++ library.
I assume Apple's libstdc++ is based on the one used in GCC 4.2.1, since
that's the last version of GCC before the switch to GPLv3 which Apple
appears to have decided as a company not to look at.
> Can't MacPorts' deployments of clang be fixed so that they use the
MacPorts' libstdc++?
Please join the discussion on the mailing list that I mentioned above.
However, we are unlikely to use libstdc++ on Mavericks even if it were
possible; we are not here to second-guess Apple's decisions. What we are
however discussing is whether we can switch Lion and Mountain Lion to
libc++.
--
Ticket URL: <https://trac.macports.org/ticket/41588#comment:18>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list