public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/97524] New: Compiling with -flto=auto fails in make is not installed
@ 2020-10-21 19:19 tstellar at redhat dot com
  2020-10-22  6:32 ` [Bug lto/97524] " marxin at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: tstellar at redhat dot com @ 2020-10-21 19:19 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-10-23  7:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-21 19:19 [Bug lto/97524] New: Compiling with -flto=auto fails in make is not installed tstellar at redhat dot com
2020-10-22  6:32 ` [Bug lto/97524] " marxin at gcc dot gnu.org
2020-10-22  7:15 ` jakub at gcc dot gnu.org
2020-10-22  7:22 ` rguenth at gcc dot gnu.org
2020-10-22  7:25 ` marxin at gcc dot gnu.org
2020-10-22 12:09 ` marxin at gcc dot gnu.org
2020-10-22 14:05 ` tstellar at redhat dot com
2020-10-23  7:03 ` marxin at gcc dot gnu.org
2020-10-23  7:48 ` cvs-commit at gcc dot gnu.org
2020-10-23  7:55 ` marxin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).