manojgupta added a comment. My understanding is that some of the tests are failing since we are scanning for Gentoo specific GCC installation first in both sysroot and "/". So, clang succeeds in find the libraries in "/usr/lib/gcc" even when sysroot argument is passed. Previously, "/usr/lib/gcc" was not scanned when sysroot was passed.
Maybe, it is better to add /usr to list of paths to search instead of scanning in "/"? Basically, Remove the newly added line 2245: SysRootPrefixes.push_back(""); and instead do Prefixes.push_back("/usr") ? Repository: rC Clang https://reviews.llvm.org/D45233 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits