https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120513
--- Comment #24 from Greg Chandler <chandleg at wizardsworks dot org> --- I took another look at the strack trace, comparing it to the cross-compiler on the build system. Build system: newfstatat(AT_FDCWD, "/opt/tools/bin/../lib/gcc/alpha-linux-gnu/14.2.0/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/opt/tools/bin/../lib/gcc/alpha-linux-gnu/14.2.0/include-fixed", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/opt/tools/bin/../lib/gcc/alpha-linux-gnu/14.2.0/../../../../alpha-linux-gnu/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/opt/tools/bin/../lib/gcc/../../lib/gcc/alpha-linux-gnu/14.2.0/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/opt/usr/local/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/opt/tools/bin/../lib/gcc/../../lib/gcc/alpha-linux-gnu/14.2.0/include-fixed", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/opt/tools/bin/../lib/gcc/../../lib/gcc/alpha-linux-gnu/14.2.0/../../../../alpha-linux-gnu/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/opt/usr/include", {st_mode=S_IFDIR|0755, st_size=12288, ...}, 0) = 0 newfstatat(AT_FDCWD, "1.c.gch", 0x7ffcf0cf4b70, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "1.c", O_RDONLY|O_NOCTTY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=60, ...}) = 0 read(3, "#include <stdio.h>\n#include <std"..., 60) = 60 close(3) = 0 Target system: clock_gettime(CLOCK_REALTIME, {tv_sec=1749270316, tv_nsec=590870341}) = 0 access("/usr/lib/gcc/alpha-linux-gnu/14.2.0/", X_OK) = 0 fstatat64(AT_FDCWD, "/usr/lib/gcc/alpha-linux-gnu/14.2.0/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 fstatat64(AT_FDCWD, "/usr/local/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 fstatat64(AT_FDCWD, "/usr/lib/gcc/alpha-linux-gnu/14.2.0/include-fixed", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 fstatat64(AT_FDCWD, "/usr/lib/gcc/alpha-linux-gnu/14.2.0/../../../../alpha-linux-gnu/include", 0x11fa990c0, 0) = -1 ENOENT (No such file or directory) fstatat64(AT_FDCWD, "/usr/include", {st_mode=S_IFDIR|0755, st_size=12288, ...}, 0) = 0 fstat64(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x4, 0x40), ...}) = 0 read(0, The hang is now on the read, not a wait like it was before. Comparing the two this is the actual read of the c input file. I guess that's at least a starting place.