Dear list, I came to this issue when building android: make: execvp: /bin/bash: Argument list too long
From what I understand, the reason for this annoyance is that Linux kernel has a limitation of bytes it can process through as arguments in exec() commands. This issue is quite new and arise with Kernel > 3.8.1. I am currently on 3.8.3-2 ARCH from testing.
I am a little bit confused in getting my current value. [gabx@magnolia:~]$ egrep ARG_MAX /usr/include/linux/limits.h #define ARG_MAX 131072 /* # bytes of args + environ for exec() */ [gax@magnolia:~]$ getconf ARG_MAX 16777216 As you can see, these two commands don't return the same number. I couldn't find any clean and working workaround to bypass this limit when building. Can I pass any extra argument when invoking make at build time? The only good workaround would be to build the Linux Kernel and change the ARG_MAX variable to a larger size, but I do not want to do that. Thank you for any tips. Regards.