https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120513

--- Comment #7 from Greg Chandler <chandleg at wizardsworks dot org> ---
Iterestingly the -plugin in the stack trace shouldn't be there....

So trying the no-lto example, the trace behaves the same up to that point, then
switches to this:



access("/usr/lib/gcc/alpha-linux-gnu/14.2.0/crtn.o", R_OK) = -1 ENOENT (No such
file or directory)
access("/usr/lib/gcc/alpha-linux-gnu/14.2.0/../../../../alpha-linux-gnu/lib/alpha-linux-gnu/14.2.0/crtn.o",
R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/alpha-linux-gnu/14.2.0/../../../../alpha-linux-gnu/lib/crtn.o",
R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/alpha-linux-gnu/14.2.0/../../../alpha-linux-gnu/14.2.0/crtn.o",
R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/alpha-linux-gnu/14.2.0/../../../crtn.o", R_OK) = 0
fstatat64(AT_FDCWD, "/usr/libexec/gcc/alpha-linux-gnu/14.2.0/-fno-lto",
0x11fba6250, 0) = -1 ENOENT (No such file or directory)
fstatat64(AT_FDCWD, "/usr/libexec/gcc/alpha-linux-gnu/14.2.0/-fno-lto",
0x11fba6250, 0) = -1 ENOENT (No such file or directory)
fstatat64(AT_FDCWD, "/usr/libexec/gcc/alpha-linux-gnu/-fno-lto", 0x11fba6250,
0) = -1 ENOENT (No such file or directory)
fstatat64(AT_FDCWD, "/usr/lib/gcc/alpha-linux-gnu/14.2.0/-fno-lto",
0x11fba6250, 0) = -1 ENOENT (No such file or directory)
fstatat64(AT_FDCWD, "/usr/lib/gcc/alpha-linux-gnu/-fno-lto", 0x11fba6250, 0) =
-1 ENOENT (No such file or directory)
fstatat64(AT_FDCWD,
"/usr/lib/gcc/alpha-linux-gnu/14.2.0/../../../../alpha-linux-gnu/bin/alpha-linux-gnu/14.2.0/-fno-lto",
0x11fba6250, 0) = -1 ENOENT (No such file or directory)
fstatat64(AT_FDCWD,
"/usr/lib/gcc/alpha-linux-gnu/14.2.0/../../../../alpha-linux-gnu/bin/-fno-lto",
0x11fba6250, 0) = -1 ENOENT (No such file or directory)
mmap(NULL, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK,
-1, 0) = 0x2000003c000
rt_sigprocmask(SIG_BLOCK, ~[], [], 8)   = 0
clone(child_stack=0x20000045fe0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 3934
waitid(P_PID, 3934, NULL, WEXITED, NULL) = 0
munmap(0x2000003c000, 40960)            = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3934, si_uid=0,
si_status=127, si_utime=0, si_stime=0} ---
write(2, "\33[01m\33[Kgcc:\33[m\33[K \33[01;31m\33[Kfa"..., 220gcc: fatal
error: cannot execute '-fno-lto': posix_spawnp: No such file or directory
) = 220
write(2, "compilation terminated.\n", 24compilation terminated.
) = 24
exit_group(1)                           = ?
+++ exited with 1 +++

Reply via email to