[MacPorts] #38374: boost: stdlibc++ linkage prevents dependencies from using libc++

MacPorts noreply at macports.org
Wed Mar 13 10:19:37 PDT 2013


#38374: boost: stdlibc++ linkage prevents dependencies from using libc++
----------------------------+---------------------------
  Reporter:  macportbugs@…  |      Owner:  adfernandes@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.1.3
Resolution:                 |   Keywords:
      Port:  boost          |
----------------------------+---------------------------

Comment (by jeremyhu@…):

 That doesn't look like a valid change.  Anything that shares C++ objects
 across an API boundary needs to use the same STL.  You can't realistically
 mix libc++ and libstdc++ usage across an API boundary.  When built against
 the same ABI, they can exist in the same process and share some of the
 same very-low-level objects, but that's about all.

 If you build boost against libc++, you won't be able to build anything
 using libstdc++ against it.

 I suggest that if you want to use libc++, you rebuild *ALL* of MacPorts
 using libc++ by setting configure.cxxflags in /opt/local/etc/macports.conf

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


More information about the macports-tickets mailing list