bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #44853] gmake: execvp: bash: The parameter or environment lists are


From: Daniel Richard G.
Subject: [bug #44853] gmake: execvp: bash: The parameter or environment lists are too long.
Date: Thu, 16 Apr 2015 05:37:24 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?44853>

                 Summary: gmake: execvp: bash: The parameter or environment
lists are too long.
                 Project: make
            Submitted by: iskunk
            Submitted on: Thu 16 Apr 2015 05:37:23 AM GMT
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.1
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

I am attempting to build a project on AIX 4.3.

The makefile is specifying a library target that has a large number of objects
(1000+). GNU Make prints the (very long) command that it is about to execute,
but then, it returns

    gmake: execvp: bash: The parameter or environment lists are too long.
    Makefile:16554: recipe for target 'libfoo.la' failed
    gmake: *** [libfoo.la] Error 127

This is with GNU Make 4.1, and GNU Bash 4.3.30.

I suspect that GNU Make is passing the recipe command as a direct argument to
"bash -c", which then exceeds the system's limits on execvp(). What is
probably needed is to place the command in a temporary file, and then pass
that file to the shell for execution.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44853>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]