[OE-core] gcc-cross: Argument list too long

2012-04-13 Thread Robert Yang
There would be an error when building gcc-cross in the do_install stage if the TMPDIR's length is more than 200 characters: make[1]: execvp: /bin/sh: Argument list too long This is because of the limit of /usr/include/linux/limits.h: $ grep PATH_MAX /usr/include/linux/limits.h #define

Re: [OE-core] gcc-cross: Argument list too long

2012-04-13 Thread Richard Purdie
On Fri, 2012-04-13 at 14:45 +0800, Robert Yang wrote: There would be an error when building gcc-cross in the do_install stage if the TMPDIR's length is more than 200 characters: make[1]: execvp: /bin/sh: Argument list too long This is because of the limit of /usr/include/linux/limits.h: