← Back to team overview

openjdk team mailing list archive

Bug#575254: openjdk-6 build fails on at least one i386 build due to long command lines

 

Hi.

Il 02/05/2010 13:43, Kurt Roeckx ha scritto:
> On Sun, May 02, 2010 at 11:58:49AM +0200, Giovanni Mascellani wrote:
>> Cc:-ing the wb-team.
>>
>> Hi, I'm working on a OpenJDK bug: the build fails with:
>>
>> make[8]: execvp: /bin/sh: Argument list too long
>>
>> I would like to know the value of ARG_MAX used on the buildd nodes.
>> Could you also suggest me how to change it on my system? I couldn't find
>> anything.
> 
> I have no idea why we would change that or how you should do that.
> Note that execvp() is a system call.  So this would be a kernel
> limit, and setrlimit() doesn't let you set this.
> 
> I get:
> $ getconf ARG_MAX
> 2097152

Which is just the same as in my laptop. Then I can't understand why
OpenJDK builds finely on it, but doesn't on buildd. I'll have a few more
experiments this night.

Anyway, thanks for the info.

Giovanni.
-- 
Giovanni Mascellani <mascellani@xxxxxxxxxxxxxxxxxxxx>
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascellani@xxxxxxxxxx / giovanni@xxxxxxxxxxxxxxxxxxxx

Attachment: signature.asc
Description: OpenPGP digital signature


References