On Sat, 2016-11-12 at 13:06 +0200, Jaak Ristioja wrote: > I'm guessing that PATH_MAX is 4096 on most Linux systems, while the stack is > 8192.
There's no way the stack is so small. Virtually no userspace program can run with an 8k stack, regardless of whether they use alloca() or not. I think you might be misled by the output of ulimit -s as "8192"; however, the doc says: > Values are in 1024-byte increments so really the default is an 8M stack, not an 8K stack. Also, traditional Linux systems set the hard limit on the stack size to "unlimited" (run 'ulimit -S' to see it), and GNU make will reset its own stack size to the maximum when it starts. I don't know if there are special features of ARM which make alloca() more problematic than other systems, but I've certainly never heard of any issues like this on ARM. I suspect this is a red herring. _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make