[LLVMbugs] [Bug 17821] New: trunk clang cannot find system libc++ on OS X 10.9

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 5 08:44:17 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=17821

            Bug ID: 17821
           Summary: trunk clang cannot find system libc++ on OS X 10.9
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: clattner at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

This is particularly in view of the discussion about moving to c++11.

In a OS X 10.9, "xcode-select --install" puts only libstdc++ in /usr/include.
The result is:

$ cat test.cpp
#include <iostream>
$ ./build/bin/clang -stdlib=libstdc++ -S test.cpp
$ ./build/bin/clang  -S test.cpp
test.cpp:1:10: fatal error: 'iostream' file not found
#include <iostream>
         ^
1 error generated.

The xcode provided clang can find the include
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/c++/v1/iostream).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131105/288e38cf/attachment.html>


More information about the llvm-bugs mailing list