$ strace clang-cpp-14 main.c 2>&1 | grep gcc | grep -v ENOENT openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3 newfstatat(AT_FDCWD, "/usr/bin/../lib/gcc", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 openat(AT_FDCWD, "/usr/bin/../lib/gcc/x86_64-linux-gnu", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(AT_FDCWD, "/usr/bin/../lib/gcc/x86_64-linux-gnu/12/crtbegin.o", {st_mode=S_IFREG|0644, st_size=2432, ...}, 0) = 0 openat(AT_FDCWD, "/usr/bin/../lib/gcc/x86_64-linux-gnu", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(AT_FDCWD, "/usr/bin/../lib/gcc", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/usr/bin/../lib/gcc", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/usr/bin/../lib/gcc/x86_64-linux-gnu/12", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../lib64", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0