--- tools/clang/lib/Driver/ToolChains/Linux.cpp.orig 2024-05-22 12:03:19.772306356 +0100 +++ tools/clang/lib/Driver/ToolChains/Linux.cpp 2024-05-22 12:03:41.476306367 +0100 @@ -484,7 +484,7 @@ llvm_unreachable("unsupported architecture"); case llvm::Triple::aarch64: - LibDir = "lib"; + LibDir = "lib64"; Loader = "ld-linux-aarch64.so.1"; break; case llvm::Triple::aarch64_be: