cwalther added a comment. I am unable to provoke any problem with my tests by putting various things in `/usr/lib/gcc/`, and I also can’t find any code that would go looking there on the code path that is exercised by these tests. Can you give me a hint where that code is, so I can try harder to provoke it? Is it outside of `Generic_GCC::GCCInstallationDetector`? `GCCInstallationDetector` is not used on the code path taken for `--target=powerpc[64][le]-unknown-eabi` (after my patch), as far as I can tell. It’s only used by `Generic_GCC` and subclasses, getting away from which is the whole point of my patch.
Or are you suggesting the addition of --sysroot just to prevent potential future problems? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D154357/new/ https://reviews.llvm.org/D154357 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits