[MacPorts] #34288: clang ports use the old/dated libstdc++ from the host (gcc-4.2 based)
MacPorts
noreply at macports.org
Tue May 1 13:54:30 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: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: clang-2.9 clang-3.0 clang-3.1 clang-3.2 libstdc++ libc++
--------------------------------------------------+-------------------------
Comment(by jeremyhu@…):
Actually, it even works on SL for me with the GNU libstdc++.
You need to provide more information about your setup, what you're
running, and what the output is.
{{{
~ $ cat test.cxx
#include <boost/signals2.hpp>
~ $ /opt/local/bin/clang++-mp-3.1 -c test.cxx -I/opt/local/include -v
clang version 3.0 (tags/RELEASE_30/final)
Target: x86_64-apple-darwin10.8.0
Thread model: posix
"/opt/local/libexec/llvm-3.0/bin/clang" -cc1 -triple x86_64-apple-
macosx10.6.8 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier
-main-file-name test.cxx -pic-level 1 -mdisable-fp-elim -masm-verbose
-munwind-tables -target-cpu core2 -target-linker-version 127.2 -v
-coverage-file test.o -resource-dir
/opt/local/libexec/llvm-3.0/bin/../lib/clang/3.0 -I /opt/local/include
-fmodule-cache-path /var/tmp/clang-module-cache -fdeprecated-macro
-ferror-limit 19 -fmessage-length 121 -stack-protector 1 -fblocks -fobjc-
dispatch-method=mixed -fcxx-exceptions -fexceptions -fdiagnostics-show-
option -fcolor-diagnostics -o test.o -x c++ test.cxx
clang -cc1 version 3.0 based upon llvm 3.0 hosted on x86_64-apple-
darwin10.8.0
ignoring nonexistent directory "/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
/opt/local/include
/usr/include/c++/4.2.1
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64
/usr/include/c++/4.2.1/backward
/usr/include/c++/4.0.0
/usr/include/c++/4.0.0/i686-apple-darwin8/
/usr/include/c++/4.0.0/backward
/opt/local/libexec/llvm-3.0/bin/../lib/clang/3.0/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/34288#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list