[MacPorts] #44062: root6: make it work on 10.6
MacPorts
noreply at macports.org
Tue Jun 24 19:13:43 PDT 2014
#44062: root6: make it work on 10.6
----------------------+-------------------------
Reporter: mojca@… | Owner: mojca@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords: snowleopard
Port: root6 |
----------------------+-------------------------
Comment (by jeremyhu@…):
Replying to [comment:50 jonesc@…]:
> Replying to [comment:49 mojca@…]:
> > Doesn't `libc++` have exactly the same problem?
No, it doesn't
> To some degree yes, although its not as bad as using libstdc++ from gcc.
No, it doesn't. MacPorts uses only /usr/lib/libc++.dylib as the libc++
runtime. MacPorts will use both /usr/lib/libstdc++.dylib or
${prefix}/lib/libstdc++.dylib as the libstdc++.dylib depending on your
compiler choice (system compilers use the former, macports-gcc compilers
the latter).
> For instance on <OSX10.9 the variants pythia and xrootd do not work,
they fail to build, as those ports use the default c++ runtime, which on
the older systems is the system libstdc++. You must understand forcing the
use of libc++ was only ever a last resort solution, and only works because
we are lucky enough that the core default port doesn't happen use any
libraries that use another c++ runtime, otherwise it would not work... If
a user really wants to be safe, and/or gets these variants to work, they
need to rebuild their entire MacPorts stack using libc++ as the default
runtime, with all the untested issues that would likely throw up ...
All of my systems (Snow Leopard and later) have libc++ as the C++ runtime.
I haven't run into any issues since the initial fix-fest about a year and
a half ago. I doubt we'll continue supporting libstdc++ for much longer
(I know I certainly won't spend much effort fixing things for libstdc++)
--
Ticket URL: <https://trac.macports.org/ticket/44062#comment:51>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list