llvm / llvm-project Public Notifications Fork 12.2k Star 29.6k Cannot find GCC libraries when using --sysroot and --gcc-install-dir #119560 New issue Open Description carlosgalvezp opened on Dec 11, 2024 Hi, I'm trying to use clang with a custom sysroot (containing glibc) as well...
D158607 switched this code to use CMAKE_INSTALL_LIBDIR, but kept the explicit LLVM_DIR_SUFFIX. However, CMAKE_INSTALL_LIBDIR already contains the suffix, so we end up installing into a path like lib6464.ROOT-llvm18 llvmorg-18.1.6 … ROOT-llvm18-20240227-01 nikic...
if (llvm::sys::path::is_relative(CoverageFilename)) (void)D.getVFS().makeAbsolute(CoverageFilename); if (EmitCovNotes || EmitCovData) { SmallString<128> CoverageFilename; if (Arg *DumpDir = Args.getLastArgNoClaim(options::OPT_dumpdir)) { // Form ${dumpdir}${basename}.gcno. Not...