[MacPorts] #34288: clang ports use the old/dated libstdc++ from the host (gcc-4.2 based) (was: clang3.1 cannot compile boost code (or c++11 based code))

MacPorts noreply at macports.org
Tue May 1 11:42:33 PDT 2012


#34288: clang ports use the old/dated libstdc++ from the host (gcc-4.2 based)
--------------------------------------------------+-------------------------
 Reporter:  christophe.prudhomme@…                |       Owner:  jeremyhu@…           
     Type:  defect                                |      Status:  new                  
 Priority:  Normal                                |   Milestone:                       
Component:  ports                                 |     Version:  2.0.4                
 Keywords:                                        |        Port:  clang3.1             
--------------------------------------------------+-------------------------

Comment(by jeremyhu@…):

 Yes, libstdc++ from the host is being used.  This is the case with apple-
 gcc42 as well, but I see that the gccXX ports use their own libstdc++

 I don't like the idea of ports built with gcc46 using
 /opt/local/lib/gcc46/libstdc++.6.dylib and ports built with gcc47 using
 /opt/local/lib/gcc47/libstdc++.6.dylib ...

 1) The gcc-4.2 libsdtc++ doesn't even support c++-03

 2) We should make a port for llvm's [http://libcxx.llvm.org libc++] and
 [http://libcxxabi.llvm.org libc++ABI] for use by clang

 3) gccXX and clang-X.X ports should be updated to use these new ports if
 possible.

 4) If newer gccXX ports won't work with libc++, we should make a libstdc++
 port

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


More information about the macports-tickets mailing list