[LLVMbugs] [Bug 8606] New: r119095 breaks sysroot on OS X and C++ (at least)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 15 01:04:17 PST 2010


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

           Summary: r119095 breaks sysroot on OS X and C++ (at least)
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: devlists at shadowlab.org
                CC: llvmbugs at cs.uiuc.edu


"r119095 01:05 - chandlerc
Make sysroot only apply to baked in paths which start with a '/'."

After this commit, trying to include C++ headers, I encounter the following
error:

[MacPro:~/Desktop] jddupas% clang++ -fsyntax-only -isysroot
/Developer/SDKs/MacOSX10.6.sdk test.cpp
In file included from test.cpp:2:
In file included from
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/new:44:
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cstddef:49:10: fatal
error: 'bits/c++config.h' file not found

Tested with clang r119135.
"test.cpp" contains only a "#include <new>" directive.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list