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 
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") ?

  rC Clang

cfe-commits mailing list

Reply via email to