[PATCH] D45233: [Driver] Update GCC libraries detection logic for Gentoo.
Manoj Gupta via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 5 14:04:15 PDT 2018
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
More information about the cfe-commits
mailing list