https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97524
Bug ID: 97524 Summary: Compiling with -flto=auto fails in make is not installed Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: tstellar at redhat dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Compiling with -flto=auto does not work when make is not installed. The documentation for -flto=auto says it should fallback to autodetection when the make job server is not available. Instructions to reproduce: On a system without make installed run: echo "void main() { }" | gcc -x c -flto=auto - Command output: lto-wrapper: fatal error: execvp: No such file or directory compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status