https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97524
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |11.0 --- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- Btw. the following also fails probably since the beginning: $ echo "void main() { }" | MAKE=mymake gcc -x c -flto=16 - lto-wrapper: fatal error: execvp: No such file or directory compilation terminated. /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status I've got a patch for both cases.