[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: gnumake: execvp: /bin/sh: The parameter or environmentlists are t
RE: gnumake: execvp: /bin/sh: The parameter or environmentlists are too long
Wed, 15 Aug 2007 10:56:40 +0100
On 15 August 2007 04:59, Paul Smith wrote:
> On Sun, 2007-08-12 at 22:31 -0400, Kothanda_Sathya wrote:
>> How it looks on our GNUmakefile, if sources specified within the limit
>> around 450, this error occurs otherwise it reports error the parameter
>> or environment list are too long.
> The maximum size of the environment for a new process (which includes
> not only the environment variables but also the command line arguments)
> is a limit set by the operating system (the kernel). It has nothing to
> do with GNU make and there is no possible way that GNU make can increase
> that limit: it's not modifiable from user space (in fact typically it
> can't be modified except by recompiling the kernel).
I came up with an idea that solves some cases of this problem:
Could dust off the patch and rework it against current cvs if anyone cares.
Can't think of a witty .sigline today....