lkml.org 
[lkml]   [2012]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] ARM Fix /usr/bin/xargs: etags: Argument list too long
Dne 8.8.2012 16:32, David Cullen napsal(a):
> Patch applies to
>
> commit 42a579a0f960081cd16fc945036e4780c3ad3202
>
> When running "make ARCH=arm TAGS" in a chroot using qemu-arm-static,
> the following message is emitted:
>
> [user@host:/home/work/linux]: make ARCH=arm TAGS
> GEN TAGS
> /usr/bin/xargs: etags: Argument list too long
>
> This can be fixed by by passing "-L 1024" to xargs in scripts/tags.sh.
>
> The "1024" was a guess. A value of "3862" changes the message to
>
> /usr/bin/xargs: argument list too long
>
> Using "2048" also fixes the problem. However, I don't know how much
> headroom that leaves
>
> Does anyone know why the argument lists must be shorter for ARM? All
> of the documentation I have available says that 4096 should be the
> limit.

This looks like a bug in xargs, it should make sure that the commandline
fits into ARG_MAX. BTW, a better workaround would be to use the -s
option, which limits the size of the argument list.

Michal


\
 
 \ /
  Last update: 2012-08-08 17:22    [W:0.037 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site