lkml.org 
[lkml]   [2000]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: xargs environment overflow: patch
On Wed, Mar 15, 2000 at 12:41:22PM +1100, Keith Owens wrote:

> >In <m12Tvjn-0006hEC@grumbeer.inka.de> Hans-Joachim Baader (hans@grumbeer.inka.de) wrote:
> >> I tried to compile it with everything enabled (as module if possible)
> >> and got the following error:
> >
> >> find . -name '*.[oas]' -type f -print | grep -v lxdialog/ | xargs rm -f
> >> xargs: environment is too large for exec
> >> make: *** [clean] Error 1
> >
> >> What's that? I never saw that before ;-)
> >
> >Linux can not execute program with command line longer then 128KiB. It's
> >what happened. It was discussed recently. Looks like noone (apart of me and
> >Jamie Lokier <lk@tantalophile.demon.co.uk> :-) is interested in fixing that.
> >Jamie promised to cook up better patch then mine but so far I've not seen
> >anything ...
>
> The command line is not the problem, it is the environment space that
> is too big. This patch fixes the problem. I originally sent it in
> against 2.3.40 and got no response. Maybe it will get into 2.3.52.

I'd apreciate if something like this goes into 2.2 / 2.3. Crosscompiling
on a number of Sys V derived operating systems like IRIX or Solaris can
be a pain without such a patch.

(On IRIX I simply raised the kernel limits for the env ...)

Ralf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.220 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site