public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/48724] New: Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory
@ 2011-04-22  9:05 hubicka at gcc dot gnu.org
  2011-04-22  9:16 ` [Bug lto/48724] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-04-22  9:05 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48724

           Summary: Lto build of mozilla dies at lto-wrapper: error trying
                    to exec 'make -j1': execvp: No such file or directory
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hubicka@gcc.gnu.org


Hi,
It seems that environment vars set by mozilla build confuse lto-wrapper with:

lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory

cut&pasting the compilation command line and executing it by hand works well.

Honza


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

* [Bug lto/48724] Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory
  2011-04-22  9:05 [Bug lto/48724] New: Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory hubicka at gcc dot gnu.org
@ 2011-04-22  9:16 ` rguenth at gcc dot gnu.org
  2011-04-22  9:25 ` hubicka at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-04-22  9:16 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48724

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-22 09:16:34 UTC ---
Does it set MAKE?  I suppose we need to split (and preserve?) arguments :/


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

* [Bug lto/48724] Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory
  2011-04-22  9:05 [Bug lto/48724] New: Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory hubicka at gcc dot gnu.org
  2011-04-22  9:16 ` [Bug lto/48724] " rguenth at gcc dot gnu.org
@ 2011-04-22  9:25 ` hubicka at gcc dot gnu.org
  2011-12-15 23:41 ` pinskia at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-04-22  9:25 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48724

--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-04-22 09:24:59 UTC ---
Hmm,
grep didn't seem to find any interesting positives on this.  However I did not
update my mozilla tree since last build that did not reproduce this and nothing
seems to have changed on GCC side.  I think evans got updated, so perhaps it is
feature of new GNU Make to prevent fork bombs?

Mozilla Makefiles do not use "+" clauses and I simply use hard wired -flto=24
setting.

Honza


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

* [Bug lto/48724] Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory
  2011-04-22  9:05 [Bug lto/48724] New: Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory hubicka at gcc dot gnu.org
  2011-04-22  9:16 ` [Bug lto/48724] " rguenth at gcc dot gnu.org
  2011-04-22  9:25 ` hubicka at gcc dot gnu.org
@ 2011-12-15 23:41 ` pinskia at gcc dot gnu.org
  2012-05-07 12:32 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-12-15 23:41 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48724

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-15 23:39:37 UTC ---
Has this been fixed?


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

* [Bug lto/48724] Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory
  2011-04-22  9:05 [Bug lto/48724] New: Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory hubicka at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-12-15 23:41 ` pinskia at gcc dot gnu.org
@ 2012-05-07 12:32 ` rguenth at gcc dot gnu.org
  2012-05-07 23:23 ` hubicka at ucw dot cz
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-05-07 12:32 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48724

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-07 12:30:01 UTC ---
No response and unclear bug.


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

* [Bug lto/48724] Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory
  2011-04-22  9:05 [Bug lto/48724] New: Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory hubicka at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2012-05-07 12:32 ` rguenth at gcc dot gnu.org
@ 2012-05-07 23:23 ` hubicka at ucw dot cz
  2012-05-08 10:17 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hubicka at ucw dot cz @ 2012-05-07 23:23 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48724

--- Comment #5 from Jan Hubicka <hubicka at ucw dot cz> 2012-05-07 23:20:50 UTC ---
> No response and unclear bug.
It is still there.  In lto-wrapper.c we do 
         new_argv[0] = getenv ("MAKE");
and when MAKE is set to something like "make -j" we try to execute it...

Honza


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

* [Bug lto/48724] Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory
  2011-04-22  9:05 [Bug lto/48724] New: Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory hubicka at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2012-05-07 23:23 ` hubicka at ucw dot cz
@ 2012-05-08 10:17 ` rguenth at gcc dot gnu.org
  2013-03-08 13:59 ` rguenth at gcc dot gnu.org
  2015-01-20  2:30 ` hubicka at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-05-08 10:17 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48724

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |NEW
   Last reconfirmed|                            |2012-05-08
         Resolution|INVALID                     |
     Ever Confirmed|0                           |1

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-08 10:15:26 UTC ---
Ok, you didn't state that Mozilla indeed sets MAKE to 'make -j'.  Yes, if that
happens there is a problem.


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

* [Bug lto/48724] Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory
  2011-04-22  9:05 [Bug lto/48724] New: Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory hubicka at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2012-05-08 10:17 ` rguenth at gcc dot gnu.org
@ 2013-03-08 13:59 ` rguenth at gcc dot gnu.org
  2015-01-20  2:30 ` hubicka at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-03-08 13:59 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48724

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Ralf.Wildenhues at gmx dot
                   |                            |de

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> 2013-03-08 13:58:27 UTC ---
Caused by

2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

       * lto-wrapper.c (run_gcc): Unset MAKEFLAGS and MFLAGS
       before calling make; allow override through $MAKE.
       * doc/invoke.texi (Optimize Options): Document override.

simply checking with access (..., X_OK) of course doesn't work (that doesn't
search the path...).


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

* [Bug lto/48724] Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory
  2011-04-22  9:05 [Bug lto/48724] New: Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory hubicka at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2013-03-08 13:59 ` rguenth at gcc dot gnu.org
@ 2015-01-20  2:30 ` hubicka at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-01-20  2:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
This no longer happens with recent Firefox builds, but I think it was rather
fixed at Firefox buildsystem...


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

end of thread, other threads:[~2015-01-20  2:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-22  9:05 [Bug lto/48724] New: Lto build of mozilla dies at lto-wrapper: error trying to exec 'make -j1': execvp: No such file or directory hubicka at gcc dot gnu.org
2011-04-22  9:16 ` [Bug lto/48724] " rguenth at gcc dot gnu.org
2011-04-22  9:25 ` hubicka at gcc dot gnu.org
2011-12-15 23:41 ` pinskia at gcc dot gnu.org
2012-05-07 12:32 ` rguenth at gcc dot gnu.org
2012-05-07 23:23 ` hubicka at ucw dot cz
2012-05-08 10:17 ` rguenth at gcc dot gnu.org
2013-03-08 13:59 ` rguenth at gcc dot gnu.org
2015-01-20  2:30 ` hubicka 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).