automake
[Top][All Lists]
Advanced

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

Re: execvp: /bin/sh: Argument list too long


From: Pippijn van Steenhoven
Subject: Re: execvp: /bin/sh: Argument list too long
Date: Mon, 8 Nov 2010 22:11:20 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Mon, Nov 08, 2010 at 09:56:52PM +0100, Ralf Wildenhues wrote:
> [1] On some systems this is not true; e.g., GNU make evades the limit on
> MSYS for this particular point, IIRC using a response file.

Can automake do something similar? The dist files are always the same
(well, they should be), so they can be written to an extra file, which is
then piped into xargs or something.

> > I'd be happy if make dist worked on my system, but it doesn't and I
> > didn't find a way to make it work, yet (any suggestions here?).
> 
> You need to specify exactly where it fails if my previous suggestions
> were not enough.  Showing the Makefile.am in question would help too.

"make distdir" fails. The Makefile.am is not a single file. A combined
file is here: http://paste.xinu.at/ou4jy/, but I'm not sure that is very
useful. A tarball with all .am files is here: http://paste.xinu.at/TzadQ/

> > What version of GNU make are you using?  There was an issue in GNU make
> > 3.81 related to setting stack limits, that I believe is resolved in GNU
> > make 3.82.  I can't recall the details.
> 
> I don't think it's that.  It's that GNU make also requires the
> per-argument limit to be large, and IIRC that is still 128K on Linux
> (yes, speaking about the kernel only).  I wrote about this before:
> http://thread.gmane.org/gmane.comp.gnu.make.bugs/4219
> but my proposed hack back then was (understandably) not too popular,
> and I haven't gotten back to anything better yet.  ;-)

In other words, I can't make dist even with GNU make 3.82? What do you
suggest, then?

-- 
Pippijn van Steenhoven

Attachment: signature.asc
Description: Digital signature


reply via email to

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