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/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make